Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/graphics/importer/oif/object_information_file.h @ 10147

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

merged the mount_point branche back to trunk to use the new std::* based obj file importer

File size: 1006 bytes
Line 
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
9#include "base_object.h"
10
11#include "count_pointer.h"
12
13
14//! A class for object informations
15class OIFData : BaseObject
16{
17public:
18  typedef CountPointer<OIFData>    Pointer;
19
20
21public:
22  OIFData(const std::string& fileName);
23  virtual ~OIFData() {}
24
25  void load(const std::string& fileName);
26
27
28private:
29
30};
31
32//! A class for object informations
33class ObjectInformationFile : BaseObject
34{
35
36public:
37  ObjectInformationFile();
38  ObjectInformationFile(const ObjectInformationFile& oif);
39  ObjectInformationFile(const std::string& fileName);
40  virtual ~ObjectInformationFile();
41
42  ObjectInformationFile& operator=(const ObjectInformationFile& oif);
43
44  private:
45    void init();
46
47
48private:
49  CountPointer<OIFData>          data;                           //!< the oif data pointer
50
51};
52
53#endif /* _OBJECT_INFORMATION_FILE_H */
Note: See TracBrowser for help on using the repository browser.