Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/mount_points/src/lib/graphics/importer/oif/object_information_file.h @ 10228

Last change on this file since 10228 was 10228, checked in by patrick, 17 years ago

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

File size: 1.1 KB
RevLine 
[10050]1/*!
2 * @file object_information_file.h
3 * @brief Definition of a class that helps defining mount point connections
4*/
5
6#ifndef _OBJECT_INFORMATION_FILE_H
7#define _OBJECT_INFORMATION_FILE_H
8
[10052]9#include "base_object.h"
[10050]10
[10051]11#include "count_pointer.h"
[10050]12
13
14//! A class for object informations
[10051]15class OIFData : BaseObject
16{
17public:
18  typedef CountPointer<OIFData>    Pointer;
19
[10060]20
[10051]21public:
[10060]22  OIFData(const std::string& fileName);
[10054]23  virtual ~OIFData() {}
[10051]24
[10060]25  void load(const std::string& fileName);
[10051]26
[10228]27  inline TiXmlElement* root() { return this->_root; }
[10051]28
[10228]29
[10051]30private:
[10228]31  TiXmlElement* _root;           //!< root of the xml file
[10051]32};
33
34//! A class for object informations
[10052]35class ObjectInformationFile : BaseObject
[10050]36{
37
38public:
39  ObjectInformationFile();
[10054]40  ObjectInformationFile(const ObjectInformationFile& oif);
[10052]41  ObjectInformationFile(const std::string& fileName);
[10050]42  virtual ~ObjectInformationFile();
43
[10054]44  ObjectInformationFile& operator=(const ObjectInformationFile& oif);
45
[10228]46//   void initMountPoint(MountPoint* mountPoint);
47
[10053]48  private:
49    void init();
[10050]50
51
52private:
[10051]53  CountPointer<OIFData>          data;                           //!< the oif data pointer
[10050]54
55};
56
57#endif /* _OBJECT_INFORMATION_FILE_H */
Note: See TracBrowser for help on using the repository browser.