27 if (this->IsValidEnumerationValue(value))
29 this->SetValue(value);
33 this->SetValue(static_cast<IdType>(Square));
40 if (this->IsValidEnumerationValue(value))
42 this->SetValue(value);
46 this->SetValue(static_cast<IdType>(Square));
52 this->AddEnum(
"Square", static_cast<IdType>(Square));
53 this->AddEnum(
"Circle", static_cast<IdType>(Circle));
58 return Superclass::AddEnum(name,
id);
68 this->SetValue(static_cast<IdType>(shape));
virtual bool SetValue(const std::string &name)
itk::SmartPointer< Self > Pointer