E57 Foundation API v1.1.312  Aug. 10, 2011
Node get ( int64_t  index) const

Get a child element by positional index.

Parameters:
[in]indexThe index of child element to get, starting at 0.

The order of children is not specified, and may be different than order the children were added to the StructureNode. The order of children may change if more children are added to the StructureNode.

Precondition:
0 <= index < childCount()
The destination ImageFile must be open (i.e. destImageFile().isOpen()).
Postcondition:
No visible state is modified.
Returns:
A smart Node handle referencing the child node.
Exceptions:
E57_ERROR_CHILD_INDEX_OUT_OF_BOUNDS
E57_ERROR_IMAGEFILE_NOT_OPEN
E57_ERROR_INTERNALAll objects in undocumented state
See also:
StructureCreate.cpp example, StructureNode::childCount, StructureNode::get(const ustring&) const, VectorNode::get
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines