fei_Data.hpp

00001 #ifndef _fei_Data_hpp_
00002 #define _fei_Data_hpp_
00003 
00004 #include <string>
00005 
00018 class Data {
00019  public:
00021    Data() : typeName_(), dataPtr_(NULL) {}
00022 
00024    virtual ~Data() {}
00025 
00028    void setTypeName(const char* name) { typeName_ = name;}
00029 
00032    const char* getTypeName() const {return(typeName_.c_str());}
00033 
00035    void setDataPtr(void* ptr) {dataPtr_ = ptr;}
00036 
00038    void* getDataPtr() const {return(dataPtr_);}
00039 
00040  private:
00041    std::string typeName_;
00042    void* dataPtr_;
00043 };
00044 
00045 #endif
00046 

Generated on Wed May 12 21:30:41 2010 for FEI by  doxygen 1.4.7