Changeset 10228 in orxonox.OLD for branches/mount_points/src/lib/graphics
- Timestamp:
- Jan 10, 2007, 6:34:01 PM (18 years ago)
- Location:
- branches/mount_points/src/lib/graphics/importer/oif
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/oif/object_information_file.cc
r10147 r10228 57 57 58 58 // check basic validity 59 TiXmlElement*root = XMLDoc.RootElement();60 assert( root != NULL);59 this->_root = XMLDoc.RootElement(); 60 assert( this->_root != NULL); 61 61 62 if( strcmp( root->Value(), "ObjectInformationFile"))62 if( strcmp( this->_root->Value(), "ObjectInformationFile")) 63 63 { 64 64 // report an error … … 67 67 } 68 68 69 // construct campaign70 // return new Campaign( root);71 69 } 72 70 … … 132 130 133 131 132 /** 133 * this initializes the mount point 134 * @param mountPoint to be initialized 135 */ 136 // void ObjectInformationFile::initMountPoint(MountPoint* mountPoint) 137 // { 138 // TiXmlElement* root = this->data->root(); 139 // 140 // } 134 141 -
branches/mount_points/src/lib/graphics/importer/oif/object_information_file.h
r10147 r10228 25 25 void load(const std::string& fileName); 26 26 27 inline TiXmlElement* root() { return this->_root; } 28 27 29 28 30 private: 29 31 TiXmlElement* _root; //!< root of the xml file 30 32 }; 31 33 … … 42 44 ObjectInformationFile& operator=(const ObjectInformationFile& oif); 43 45 46 // void initMountPoint(MountPoint* mountPoint); 47 44 48 private: 45 49 void init();
Note: See TracChangeset
for help on using the changeset viewer.