String data value.
More...
#include <String.h>
§ String() [1/3]
| stromx::runtime::String::String |
( |
| ) |
|
|
inlineexplicit |
Constructs an empty string.
§ String() [2/3]
| stromx::runtime::String::String |
( |
const std::string & |
value | ) |
|
|
inlineexplicit |
Constructs a string and initializes it with value.
§ String() [3/3]
| stromx::runtime::String::String |
( |
const char * |
value | ) |
|
|
inlineexplicit |
Constructs a string and initializes it with value.
§ clone()
| virtual Data* stromx::runtime::String::clone |
( |
| ) |
const |
|
inlinevirtual |
Returns a copy of the data object, i.e. a object of the same type is allocated and the data of the original object is copied to the new object. A pointer to the new object is returned.
Implements stromx::runtime::DataInterface.
§ deserialize()
Deserializes a data object.
- Parameters
-
| out | The input which the data obtained from. |
| version | The version of the data class which serialized the input. |
Reimplemented from stromx::runtime::Data.
§ get()
| const std::string& stromx::runtime::String::get |
( |
| ) |
const |
|
inline |
Returns the value of the string.
§ operator std::string()
| stromx::runtime::String::operator std::string |
( |
| ) |
const |
|
inline |
Returns the value of the string.
§ package()
| virtual const std::string& stromx::runtime::String::package |
( |
| ) |
const |
|
inlinevirtual |
§ serialize()
Serializes this data object.
- Parameters
-
| out | The output which the data is sent to. |
Reimplemented from stromx::runtime::Data.
§ type()
| virtual const std::string& stromx::runtime::String::type |
( |
| ) |
const |
|
inlinevirtual |
§ variant()
§ version()
| virtual const Version& stromx::runtime::String::version |
( |
| ) |
const |
|
inlinevirtual |
§ operator!=
| STROMX_RUNTIME_API bool operator!= |
( |
const String & |
lhs, |
|
|
const String & |
rhs |
|
) |
| |
|
friend |
Returns true if the contents of lhs and rhs are different.
§ operator==
| STROMX_RUNTIME_API bool operator== |
( |
const String & |
lhs, |
|
|
const String & |
rhs |
|
) |
| |
|
friend |
Returns true if the contents of lhs and rhs are the same.
The documentation for this class was generated from the following files:
- stromx/runtime/String.h
- stromx/runtime/String.cpp