![]() |
stromx
0.8.0
|
Value of an enumeration. More...
#include <Enum.h>
Public Member Functions | |
| Enum () | |
| Enum (const unsigned int value) | |
| const Enum | operator= (const unsigned int value) |
| virtual const VariantHandle & | variant () const |
| virtual const std::string & | type () const |
| virtual Data * | clone () const |
Public Member Functions inherited from stromx::runtime::Primitive< unsigned int, uint32_t > | |
| Primitive () | |
| Primitive (const unsigned int value) | |
| virtual const Version & | version () const |
| virtual const std::string & | package () const |
| virtual void | serialize (OutputProvider &out) const |
| virtual void | deserialize (InputProvider &in, const Version &version) |
| const unsigned int | get () const |
| operator unsigned int () const | |
| const Primitive | operator= (const unsigned int value) |
Public Member Functions inherited from stromx::runtime::DataInterface | |
| bool | isVariant (const VariantInterface &v) const |
Additional Inherited Members | |
Static Public Attributes inherited from stromx::runtime::Primitive< unsigned int, uint32_t > | |
| static const Primitive | MIN |
| static const Primitive | MAX |
Value of an enumeration.
|
inline |
Constructs an enumeration value and initializes it to 0.
|
inlineexplicit |
Constructs an enumeration value and initializes it to value.
|
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.
Reimplemented from stromx::runtime::Primitive< unsigned int, uint32_t >.
|
inline |
Assigns value to the enum.
|
inlinevirtual |
Returns the name of the class of this data object.
Reimplemented from stromx::runtime::Primitive< unsigned int, uint32_t >.
|
virtual |
Returns the data variant of this data object.
Reimplemented from stromx::runtime::Primitive< unsigned int, uint32_t >.
1.8.12