Public Member Functions | Private Attributes
Data Class Reference

Describes Datatypes for reading Configfiles. More...

#include <Data.h>

List of all members.

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_

Detailed Description

Describes Datatypes for reading Configfiles.

Author:
Julian Giesen (R18)

Definition at line 39 of file Data.h.


Constructor & Destructor Documentation

Data::Data ( const std::string &  data = "") [inline, explicit]

Constructor

Definition at line 44 of file Data.h.

Data::~Data ( ) [inline]

Destructor

Definition at line 47 of file Data.h.


Member Function Documentation

Data::operator bool ( ) const [inline]

Converts text to bool.

Definition at line 114 of file Data.h.

Data::operator const char * ( ) const [inline]

Converts text to char.

Definition at line 64 of file Data.h.

Data::operator int ( ) const [inline]

Converts text to int.

Definition at line 50 of file Data.h.

Data::operator std::string ( ) const [inline]

Returns text as string.

Definition at line 70 of file Data.h.

Data::operator std::vector< float > ( ) const [inline]

Converts text to vector<float>.

Definition at line 76 of file Data.h.


Member Data Documentation

std::string Data::data_ [private]

Definition at line 121 of file Data.h.


The documentation for this class was generated from the following file:


robot_face
Author(s): AGAS, Julian Giesen, David Gossow
autogenerated on Mon Oct 6 2014 04:10:26