00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 INLINE ModelRoot::
00022 ModelRoot(const string &name) :
00023 ModelNode(name),
00024 _fullpath(name),
00025 _reference(new ModelRoot::ModelReference)
00026 {
00027 }
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 INLINE int ModelRoot::
00041 get_model_ref_count() const {
00042 return _reference->get_ref_count();
00043 }
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053 INLINE const Filename &ModelRoot::
00054 get_fullpath() const {
00055 return _fullpath;
00056 }
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071 INLINE void ModelRoot::
00072 set_fullpath(const Filename &fullpath) {
00073 _fullpath = fullpath;
00074 }
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086 INLINE ModelRoot::ModelReference *ModelRoot::
00087 get_reference() const {
00088 return _reference;
00089 }
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099 INLINE void ModelRoot::
00100 set_reference(ModelRoot::ModelReference *ref) {
00101 _reference = ref;
00102 }
00103
00104
00105
00106
00107
00108
00109 INLINE ModelRoot::
00110 ModelRoot(const ModelRoot ©) :
00111 ModelNode(copy),
00112 _fullpath(copy._fullpath),
00113 _reference(copy._reference)
00114 {
00115 }
00116
00117
00118
00119
00120
00121
00122 INLINE ModelRoot::ModelReference::
00123 ModelReference() {
00124 }