String data value.
More...
#include <Tribool.h>
§ Tribool() [1/2]
| stromx::runtime::Tribool::Tribool |
( |
| ) |
|
|
inlineexplicit |
Constructs an undefined tribool.
§ Tribool() [2/2]
| stromx::runtime::Tribool::Tribool |
( |
const bool |
value | ) |
|
|
inlineexplicit |
Constructs a tribool from a Boolean value.
§ clone()
| virtual Data* stromx::runtime::Tribool::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.
§ package()
| virtual const std::string& stromx::runtime::Tribool::package |
( |
| ) |
const |
|
inlinevirtual |
§ serialize()
| void stromx::runtime::Tribool::serialize |
( |
OutputProvider & |
out | ) |
const |
|
virtual |
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::Tribool::type |
( |
| ) |
const |
|
inlinevirtual |
§ variant()
| const VariantHandle & stromx::runtime::Tribool::variant |
( |
| ) |
const |
|
virtual |
§ version()
| virtual const Version& stromx::runtime::Tribool::version |
( |
| ) |
const |
|
inlinevirtual |
§ operator!=
| STROMX_RUNTIME_API bool operator!= |
( |
const Tribool & |
lhs, |
|
|
const Tribool & |
rhs |
|
) |
| |
|
friend |
Returns true if the contents of lhs and rhs are different.
§ operator==
| STROMX_RUNTIME_API bool operator== |
( |
const Tribool & |
lhs, |
|
|
const Tribool & |
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/Tribool.h
- stromx/runtime/Tribool.cpp