[Flightgear-devel] Properties, by position

2005-07-25 Thread Jon Berndt
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 ___

Re: [Flightgear-devel] Properties, by position

2005-07-25 Thread Erik Hofman
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

Re: [Flightgear-devel] Properties, by position

2005-07-25 Thread Andy Ross
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