32 if (!this->variantList)
37 this->variantList = SingleTypeVariantListBasePtr::dynamicCast(variantList->cloneContainer());
43 return variantList->getContainerType();
51 VariantListParameterBase(
source)
53 throw LocalException(
"NYI");
57 for (
int i = 0 ; i <
source.variantList->getSize() ; i++)
60 *variant = *(VariantPtr::dynamicCast(
source.variantList->getElementBase(i)));
68 if (type !=
source.getParameterType())
70 throw InvalidTypeException();
73 type =
source.getParameterType();
74 *this->variantList = *
source.getVariantList();
81 type = eVariantListParam;
98 for (
int i = 0 ; i < variantList->getSize() ; i++)
100 if (!variantList->getElementBase(i)->validateElements())