Example #1
0
ArrayBoundedValidator<TYPE>::ArrayBoundedValidator(BoundedValidator<TYPE> &bv)
{
  this->boundVal = dynamic_cast<BoundedValidator<TYPE> *>(bv.clone());
}
ArrayBoundedValidator<TYPE>::ArrayBoundedValidator(BoundedValidator<TYPE> &bv) {
  this->boundVal =
      boost::dynamic_pointer_cast<BoundedValidator<TYPE>>(bv.clone());
}