Go to the documentation of this file.
33 *this->variant = variant;
41 VariantParameterBase(
source)
45 *VariantPtr::dynamicCast(this->variant) = *VariantPtr::dynamicCast(
source.getVariant());
50 if (type !=
source.getParameterType())
52 throw InvalidTypeException();
55 type =
source.getParameterType();
62 *VariantPtr::dynamicCast(this->variant) = *VariantPtr::dynamicCast(
source.getVariant());
75 *(this->variant) = *variant;
80 return variant->getType();
bool validate(const Ice::Current &c) const override
The Variant class is described here: Variants.
void setVariant(const VariantBasePtr &variant, const Ice::Current &c=Ice::emptyCurrent) override
Parameter & operator=(const Parameter &source) override
VariantTypeId getVariantType(const Ice::Current &c=Ice::emptyCurrent) const override
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
ParameterBasePtr clone(const Ice::Current &c=Ice::emptyCurrent) const override
VariantBasePtr getVariant(const Ice::Current &c=Ice::emptyCurrent) const override
VariantParameter()
Creates an empty Parameter.
This file offers overloads of toIce() and fromIce() functions for STL container types.