Public Types | Public Member Functions | Protected Member Functions | List of all members
Atom::Tools::DValue Class Reference

Public Types

enum class  Type {
  kEmpty , kString , kInteger , kFloat ,
  kBoolean
}
 

Public Member Functions

 DValue (Poco::Dynamic::Var &value)
 
 DValue (std::string value_string)
 
 DValue (char value_string)
 
 DValue (const char *value_string)
 
 DValue (int value_int)
 
 DValue (float value_float)
 
 DValue (bool value_bool)
 
Type & get_type ()
 
std::string & get_value_string ()
 
int & get_value_int ()
 
float & get_value_float ()
 
bool & get_value_bool ()
 
bool operator== (DValue &dvalue)
 
bool operator!= (DValue &dvalue)
 
bool operator< (DValue &dvalue)
 
bool operator<= (DValue &dvalue)
 
bool operator> (DValue &dvalue)
 
bool operator>= (DValue &dvalue)
 
bool TypeIsIqual_ (Type row_value_type)
 
std::string ToString_ ()
 

Protected Member Functions

void Format_ (Poco::Dynamic::Var &value)