Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 10, 2007, 6:34:01 PM (17 years ago)
Author:
patrick
Message:

some more work on the mounting points. should soon be finished

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  
    5757
    5858  // check basic validity
    59   TiXmlElement* root = XMLDoc.RootElement();
    60   assert( root != NULL);
     59  this->_root = XMLDoc.RootElement();
     60  assert( this->_root != NULL);
    6161
    62   if( strcmp( root->Value(), "ObjectInformationFile"))
     62  if( strcmp( this->_root->Value(), "ObjectInformationFile"))
    6363  {
    6464    // report an error
     
    6767  }
    6868
    69   // construct campaign
    70 //   return new Campaign( root);
    7169}
    7270
     
    132130
    133131
     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// }
    134141
  • branches/mount_points/src/lib/graphics/importer/oif/object_information_file.h

    r10147 r10228  
    2525  void load(const std::string& fileName);
    2626
     27  inline TiXmlElement* root() { return this->_root; }
     28
    2729
    2830private:
    29 
     31  TiXmlElement* _root;           //!< root of the xml file
    3032};
    3133
     
    4244  ObjectInformationFile& operator=(const ObjectInformationFile& oif);
    4345
     46//   void initMountPoint(MountPoint* mountPoint);
     47
    4448  private:
    4549    void init();
Note: See TracChangeset for help on using the changeset viewer.