In props.cxx I find this code:
/**
* Get a child node by position (*NOT* index).
*/
SGPropertyNode * getChild (int position);
Can anyone differentiate for me the concept of position as contrasted to
index in this
situation?
Jon
___
Jon Berndt wrote:
In props.cxx I find this code:
/**
* Get a child node by position (*NOT* index).
*/
SGPropertyNode * getChild (int position);
Can anyone differentiate for me the concept of position as contrasted to
index in this
situation?
A position and index or not
Jon Berndt wrote:
Can anyone differentiate for me the concept of position as
contrasted to index in this situation?
Position is arbitrary. I think it corresponds to the order of which
the nodes were added to the parent. The only use I can think of for
this method is enumerating over all