CciBool cpiElementCompletePrevious( int* returnCode, CciElement* targetElement);
The value of the attribute is returned. If an error occurs, returnCode indicates the reason for the error.
This example is similar to code taken from the sample parser file BipSampPluginParser.c (lines 491 to 499). In the sample file, the code given is for cpiElementCompleteNext.
if ((!cpiElementCompletePrevious(&rc, element)) && (cpiElementType(&rc, element) == CCI_ELEMENT_TYPE_NAME)) { while ((!cpiElementCompletePrevious(&rc, element)) && (!cpiFirstChild(&rc, element)) && (pc->iCurrentElement)) { pc->iCurrentElement = parsePreviousItem(parser, context, pc->iCurrentElement); }
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as08420_ |