NDO objects  copyNDO()

Chapter 5: General Objects and Methods

attributeEnd()

Description

Test the internal iterator to see if it has reached the end of the map of attributes of the current NNDODatanode associated with this clNdo. Can be used as a test condition in a loop to retrieve attributes.

Syntax

attributeEnd()

Return value

Integer. Returns 1 if the internal iterator is a past one of the last attributes of the map, and 0 if at the end.

Examples

Example 54

if(!pCINdo->attributeEnd())
{
pCINdo->getCurrentAttribute
   (&attributeTag,&attributeValue);
pCINdo->nextAttribute();
}




Copyright © 2005. Sybase Inc. All rights reserved. copyNDO()

View this book as PDF