Describes Datatypes for reading Configfiles. More...
#include <Data.h>
Public Member Functions | |
Data (const std::string &data="") | |
operator bool () const | |
Converts text to bool. | |
operator const char * () const | |
Converts text to char. | |
operator int () const | |
Converts text to int. | |
operator std::string () const | |
Returns text as string. | |
operator std::vector< float > () const | |
Converts text to vector<float>. | |
~Data () | |
Private Attributes | |
std::string | data_ |
Data::Data | ( | const std::string & | data = "" | ) | [inline, explicit] |
Data::~Data | ( | ) | [inline] |
Data::operator bool | ( | ) | const [inline] |
Data::operator const char * | ( | ) | const [inline] |
Data::operator std::string | ( | ) | const [inline] |
Data::operator std::vector< float > | ( | ) | const [inline] |
std::string Data::data_ [private] |