17 INLINE
XFile *XFileNode::
28 return _children.size();
37 nassertr(n >= 0 && n < (
int)_children.size(),
nullptr);
48 return _objects.size();
58 nassertr(n >= 0 && n < (
int)_objects.size(),
nullptr);
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.