00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 INLINE XFile *XFileNode::
00022 get_x_file() const {
00023 return _x_file;
00024 }
00025
00026
00027
00028
00029
00030
00031
00032 INLINE int XFileNode::
00033 get_num_children() const {
00034 return _children.size();
00035 }
00036
00037
00038
00039
00040
00041
00042
00043 INLINE XFileNode *XFileNode::
00044 get_child(int n) const {
00045 nassertr(n >= 0 && n < (int)_children.size(), NULL);
00046 return _children[n];
00047 }
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057 INLINE int XFileNode::
00058 get_num_objects() const {
00059 return _objects.size();
00060 }
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070 INLINE XFileDataNode *XFileNode::
00071 get_object(int n) const {
00072 nassertr(n >= 0 && n < (int)_objects.size(), NULL);
00073 return _objects[n];
00074 }