COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
json11::JsonString Class Referencefinal
Inheritance diagram for json11::JsonString:
Collaboration diagram for json11::JsonString:

Public Member Functions

 JsonString (const string &value)
 
 JsonString (string &&value)
 

Private Member Functions

const string & string_value () const override
 

Additional Inherited Members

- Protected Member Functions inherited from json11::Value< Json::STRING, string >
 Value (const string &value)
 
 Value (string &&value)
 
Json::Type type () const override
 
bool equals (const JsonValue *other) const override
 
bool less (const JsonValue *other) const override
 
void dump (string &out) const override
 
- Protected Member Functions inherited from json11::JsonValue
virtual void dump (std::string &out) const =0
 
virtual double number_value () const
 
virtual int int_value () const
 
virtual bool bool_value () const
 
virtual const Json::arrayarray_items () const
 
virtual const Jsonoperator[] (size_t i) const
 
virtual const Json::objectobject_items () const
 
virtual const Jsonoperator[] (const std::string &key) const
 
virtual ~JsonValue ()
 
- Protected Attributes inherited from json11::Value< Json::STRING, string >
const string m_value
 

Constructor & Destructor Documentation

json11::JsonString::JsonString ( const string &  value)
inlineexplicit
200 : Value(value) {}
Value(const string &value)
Definition: json11.cpp:153
json11::JsonString::JsonString ( string &&  value)
inlineexplicit
201 : Value(move(value)) {}
Value(const string &value)
Definition: json11.cpp:153

Member Function Documentation

const string& json11::JsonString::string_value ( ) const
inlineoverrideprivatevirtual

Reimplemented from json11::JsonValue.

198 { return m_value; }
const string m_value
Definition: json11.cpp:169

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