|
@@ -15,3 +15,25 @@
|
|
|
// [email protected] .
|
|
// [email protected] .
|
|
|
//
|
|
//
|
|
|
////////////////////////////////////////////////////////////////////
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: XFileNode::get_num_children
|
|
|
|
|
+// Access: Public
|
|
|
|
|
+// Description:
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+INLINE int XFileNode::
|
|
|
|
|
+get_num_children() const {
|
|
|
|
|
+ return _children.size();
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+// Function: XFileNode::get_child
|
|
|
|
|
+// Access: Public
|
|
|
|
|
+// Description:
|
|
|
|
|
+////////////////////////////////////////////////////////////////////
|
|
|
|
|
+INLINE XFileNode *XFileNode::
|
|
|
|
|
+get_child(int n) const {
|
|
|
|
|
+ nassertr(n >= 0 && n < (int)_children.size(), NULL);
|
|
|
|
|
+ return _children[n];
|
|
|
|
|
+}
|