12 #include "LibCyberRadio/Driver/ConfigString.h" 24 std::string::operator=( s );
32 std::string::operator=( s );
40 std::string::operator=( std::to_string(i) );
48 std::string::operator=( std::to_string(i) );
56 std::string::operator=( std::to_string(l) );
64 std::string::operator=( b ?
"1" :
"0" );
72 std::string::operator=( std::to_string(f) );
80 std::string::operator=( std::to_string(f) );
87 return std::stoi(*
this);
92 return (
unsigned int)std::stoul(*
this);
97 return std::stol(*
this);
102 int tmp = this->
asInt();
108 return std::stof(*
this);
113 return std::stod(*
this);
Configuration value string class.
long asLong() const
Retrieves a value from this object.
bool asBool() const
Retrieves a value from this object.
float asFloat() const
Retrieves a value from this object.
int asInt() const
Retrieves a value from this object.
double asDouble() const
Retrieves a value from this object.
ConfigString & operator=(const std::string &s)
Assigns a value to this object.
Defines functionality for LibCyberRadio applications.
unsigned int asUInt() const
Retrieves a value from this object.