deserializeXML()  findChildAttribute()

Chapter 5: General Objects and Methods

findChild()

Description

Finds a particular child by name from the current clNdo. The found child is then saved to a clNdo object at the address passed into this method.

Syntax

findChild(clNdo *pClNdo, string childName)

Parameter

Description

pClNdo

Address of a clNdo object to save the found child of this NDO.

childName

String that contains the child name to find.

Return value

Integer. Returns 1 for success, and 0 for failure.

Usage

Pointer to object

Object

clNdo NDO_HOLD_3;clNdo *pNDO_Child_02;

//intermediate code not shown

pNDO_Child_02->findChild    (&NDO_HOLD_3,”IMPALA”);

clNdo NDO_HOLD_3;clNdo NDO_Child_02;

//intermediate code not shown

NDO_Child_02.findChild    (&NDO_HOLD_3,”IMPALA”);





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

View this book as PDF