ejson::String Class Reference
#include <String.hpp>
Inheritance diagram for ejson::String:
Additional Inherited Members | |
Protected Attributes inherited from ejson::Value | |
ememory::SharedPtr< ejson::internal::Value > | m_data |
Detailed Description
ejson String interface.
Constructor & Destructor Documentation
§ String() [1/3]
ejson::String::String | ( | ememory::SharedPtr< ejson::internal::Value > | _internalValue | ) |
Constructor.
- Parameters
-
[in] _internalValue Internal Value to set data
§ String() [2/3]
ejson::String::String | ( | const ejson::String & | _obj | ) |
Copy constructor.
- Parameters
-
[in] _obj Object to copy
§ String() [3/3]
ejson::String::String | ( | const std::string & | _value = "" | ) |
Constructor.
- Parameters
-
[in] _value String value to set
Member Function Documentation
§ get()
std::string ejson::String::get | ( | const std::string & | _errorValue = "" | ) | const |
get the current element Value.
- Parameters
-
[in] _errorValue The return value if an error occured.
- Returns
- the reference of the string value.
§ operator=()
ejson::String& ejson::String::operator= | ( | const ejson::String & | _obj | ) |
§ set()
void ejson::String::set | ( | const std::string & | _value | ) |
set the value of the node.
- Parameters
-
[in] _value New value of the node.
The documentation for this class was generated from the following file:
- framework/atria-soft/ejson/ejson/String.hpp