Changeset 10239 in orxonox.OLD for branches/mount_points/src/lib/graphics/importer/oif
- Timestamp:
- Jan 16, 2007, 10:52:55 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
r10228 r10239 22 22 #include "util/loading/factory.h" 23 23 #include "util/loading/load_param_xml.h" 24 25 26 27 /** 28 * constructor 29 */ 30 OIFData::OIFData() 31 {} 24 32 25 33 … … 70 78 71 79 72 73 80 /** 74 * standard constructor 81 * constructor 82 * @param fileName name of the file 75 83 */ 76 84 ObjectInformationFile::ObjectInformationFile() 85 : data(new OIFData()) 77 86 { 78 87 this->init(); … … 105 114 106 115 /** 116 * the definition of the assignment operator 117 * @param oif 118 * @return 119 */ 120 ObjectInformationFile& ObjectInformationFile::operator=(const ObjectInformationFile& oif) 121 { 122 this->init(); 123 this->data = oif.data; 124 125 return *this; 126 } 127 128 /** 107 129 * initizlizing function 108 130 */ … … 122 144 123 145 124 125 ObjectInformationFile& ObjectInformationFile::operator=(const ObjectInformationFile& oif)126 {127 this->data = oif.data;128 return *this;129 }130 131 132 146 /** 133 147 * this initializes the mount point -
branches/mount_points/src/lib/graphics/importer/oif/object_information_file.h
r10228 r10239 20 20 21 21 public: 22 OIFData(); 22 23 OIFData(const std::string& fileName); 23 24 virtual ~OIFData() {} … … 44 45 ObjectInformationFile& operator=(const ObjectInformationFile& oif); 45 46 46 // void initMountPoint(MountPoint* mountPoint); 47 /** @returns a reference to the xml oif file */ 48 inline const TiXmlElement* getMountPointDescription() { return this->data->root(); } 49 47 50 48 51 private:
Note: See TracChangeset
for help on using the changeset viewer.