eRPC Generator (erpcgen)
Rev. 1.12.0
NXP Semiconductors
|
String value. More...
#include <Value.hpp>
Public Member Functions | |
StringValue () | |
Constructor. | |
StringValue (const std::string &value) | |
Constructor. More... | |
StringValue (const std::string *value) | |
Constructor. More... | |
StringValue (const StringValue &other) | |
Copy constructor. More... | |
virtual std::string | getTypeName () const override |
Get StringValue type name. More... | |
virtual size_t | getSize () const override |
Get StringValue type size. More... | |
const std::string & | getString () const |
Get StringValue value. More... | |
operator const char * () const | |
Get StringValue value. More... | |
operator const std::string & () const | |
Get StringValue value. More... | |
operator std::string & () | |
Get StringValue value. More... | |
operator const std::string * () | |
Get StringValue value. More... | |
operator std::string * () | |
Get StringValue value. More... | |
StringValue & | operator= (const StringValue &other) |
Assign operator. More... | |
StringValue & | operator= (const std::string &value) |
Assign operator. More... | |
StringValue & | operator= (const char *value) |
Assign operator. More... | |
virtual std::string | toString () const override |
Get StringValue type string representation. More... | |
virtual Value * | clone () const override |
Clone StringValue. More... | |
Public Member Functions inherited from Value | |
Value (value_type_t theType) | |
Constructor. More... | |
virtual | ~Value () |
Destructor. | |
virtual value_type_t | getType () const |
Get Value type. More... | |
Protected Attributes | |
std::string | m_value |
The string value. | |
String value.
Simply wraps the STL std::string class.
|
inlineexplicit |
Constructor.
[in] | value | StringValue value. |
|
inlineexplicit |
Constructor.
[in] | value | StringValue value. |
|
inline |
Copy constructor.
[in] | other | StringValue to copy. |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
Get StringValue value.
|
inlineoverridevirtual |
|
inline |
Get StringValue value.
|
inline |
Get StringValue value.
|
inline |
Get StringValue value.
|
inline |
Get StringValue value.
|
inline |
Get StringValue value.
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Get StringValue type string representation.
Implements Value.