![]() |
stromx
0.8.0
|
A composite expression of two variants. More...
#include <VariantComposite.h>
Public Member Functions | |
| virtual unsigned int | id () const |
| virtual const std::string & | package () const |
| virtual const std::string | title () const |
| virtual bool | isVariant (const VariantInterface &variant) const |
| virtual CompositeType | compositeType () const |
| virtual const VariantHandle | lhs () const |
| virtual const VariantHandle | rhs () const |
Friends | |
| STROMX_RUNTIME_API friend const VariantHandle | operator && (const VariantHandle &lhs, const VariantHandle &rhs) |
| STROMX_RUNTIME_API friend const VariantHandle | operator|| (const VariantHandle &lhs, const VariantHandle &rhs) |
Additional Inherited Members | |
Public Types inherited from stromx::runtime::VariantInterface | |
| enum | CompositeType { NO_COMPOSITE, AND_COMPOSITE, OR_COMPOSITE } |
A composite expression of two variants.
|
inlinevirtual |
The composite type if this variant is a logical composition of two other variants.
Reimplemented from stromx::runtime::VariantInterface.
|
inlinevirtual |
Returns the integer ID of this data variant.
Implements stromx::runtime::VariantInterface.
|
virtual |
Returns true if this is a subtype of type. E.g. INT_16.isVariant(INT) == true.
Implements stromx::runtime::VariantInterface.
|
inlinevirtual |
The left hand side of the composition.
Reimplemented from stromx::runtime::VariantInterface.
|
virtual |
Returns the package this data variant belongs to.
Implements stromx::runtime::VariantInterface.
|
inlinevirtual |
The right hand side of the composition.
Reimplemented from stromx::runtime::VariantInterface.
|
virtual |
Returns the title of the data variant.
Implements stromx::runtime::VariantInterface.
|
friend |
Constructs a variant which is a valid super-type of both subtypes lhs and rhs.
| WrongArgument | If lhs and rhs is not valid. |
|
friend |
Constructs a variant which is a valid super-type of subtypes either lhs or rhs.
| WrongArgument | If lhs or rhs is not valid. |
1.8.12