FEI
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
base
fei_Data.hpp
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::Data
Data()
Definition:
fei_Data.hpp:21
Data::setTypeName
void setTypeName(const char *name)
Definition:
fei_Data.hpp:28
Data::getDataPtr
void * getDataPtr() const
Definition:
fei_Data.hpp:38
Data::setDataPtr
void setDataPtr(void *ptr)
Definition:
fei_Data.hpp:35
Data::getTypeName
const char * getTypeName() const
Definition:
fei_Data.hpp:32
Data
Definition:
fei_Data.hpp:18
Data::~Data
virtual ~Data()
Definition:
fei_Data.hpp:24
Generated by
1.8.5