FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fei_Data.hpp
Go to the documentation of this file.
1 #ifndef _fei_Data_hpp_
2 #define _fei_Data_hpp_
3 
4 #include <string>
5 
18 class Data {
19  public:
21  Data() : typeName_(), dataPtr_(NULL) {}
22 
24  virtual ~Data() {}
25 
28  void setTypeName(const char* name) { typeName_ = name;}
29 
32  const char* getTypeName() const {return(typeName_.c_str());}
33 
35  void setDataPtr(void* ptr) {dataPtr_ = ptr;}
36 
38  void* getDataPtr() const {return(dataPtr_);}
39 
40  private:
41  std::string typeName_;
42  void* dataPtr_;
43 };
44 
45 #endif
46 
Data()
Definition: fei_Data.hpp:21
void setTypeName(const char *name)
Definition: fei_Data.hpp:28
void * dataPtr_
Definition: fei_Data.hpp:42
void * getDataPtr() const
Definition: fei_Data.hpp:38
void setDataPtr(void *ptr)
Definition: fei_Data.hpp:35
const char * getTypeName() const
Definition: fei_Data.hpp:32
std::string typeName_
Definition: fei_Data.hpp:41
virtual ~Data()
Definition: fei_Data.hpp:24