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