|
Returns the first son of the given object. This function together with STATE_object_get_next_son()
create an easy way for going over all the descendants (son, grandchild etc ...) of an object.
for example:
for(son=STATE_object_get_first_son(car_object); son!=NULL; son=STATE_object_get_next_son(son)) {
your code here ....
}
Note that if you just want to go over all the direct sons (no grandchildren ...) you should
use STATE_object_get_first_direct_son() and STATE_object_get_next_direct_son()
|