21 INLINE
XFile *XFileNode::
34 return _children.size();
45 nassertr(n >= 0 && n < (
int)_children.size(), NULL);
59 return _objects.size();
72 nassertr(n >= 0 && n < (
int)_objects.size(), NULL);
int get_num_children() const
Returns the list of children of this node.
int get_num_objects() const
Returns the list of child objects of this node.
A single node of an X file.
This is an abstract base class for an XFileNode which is also an XFileDataObject. ...
This represents the complete contents of an X file (file.x) in memory.
XFileDataNode * get_object(int n) const
Returns the nth child object of this node.
XFileNode * get_child(int n) const
Returns the nth child of this node.