#include <enginepropertytypes.h>

Public Member Functions | |
| EnumActorProperty (const std::string &name, const std::string &label, Functor1< T & > set, Functor0Ret< T & > get, const std::string &desc="", const std::string &groupName="") | |
| DataType & | GetPropertyType () const |
| |
| virtual const std::vector < dtUtil::Enumeration * > & | GetList () const |
| |
| virtual const std::vector< T * > & | GetListOfType () const |
| virtual bool | SetValueFromString (const std::string &name) |
| Sets the value of the property based on the string name of the enumeration, i.e. | |
| virtual dtUtil::Enumeration & | GetEnumValue () const |
| |
| virtual void | SetEnumValue (dtUtil::Enumeration &value) |
| Sets the value as a generic enumeration, but it must be the actual type stored in the implementation of this pure virtual class. | |
| virtual bool | FromString (const std::string &value) |
| the same as SetValueFromString | |
| virtual const std::string | ToString () const |
| |
Protected Member Functions | |
| virtual | ~EnumActorProperty () |
| dtDAL::EnumActorProperty< T >::EnumActorProperty | ( | const std::string & | name, | |
| const std::string & | label, | |||
| Functor1< T & > | set, | |||
| Functor0Ret< T & > | get, | |||
| const std::string & | desc = "", |
|||
| const std::string & | groupName = "" | |||
| ) | [inline] |
| virtual dtDAL::EnumActorProperty< T >::~EnumActorProperty | ( | ) | [inline, protected, virtual] |
| DataType& dtDAL::EnumActorProperty< T >::GetPropertyType | ( | ) | const [inline, virtual] |
Implements dtDAL::AbstractEnumActorProperty.
| virtual const std::vector<dtUtil::Enumeration*>& dtDAL::EnumActorProperty< T >::GetList | ( | ) | const [inline, virtual] |
Implements dtDAL::AbstractEnumActorProperty.
| virtual const std::vector<T*>& dtDAL::EnumActorProperty< T >::GetListOfType | ( | ) | const [inline, virtual] |
| virtual bool dtDAL::EnumActorProperty< T >::SetValueFromString | ( | const std::string & | name | ) | [inline, virtual] |
Sets the value of the property based on the string name of the enumeration, i.e.
getName() on Enumeration. If it fails, the value will remain unchanged.
| name | The name of the value. |
Implements dtDAL::AbstractEnumActorProperty.
| virtual dtUtil::Enumeration& dtDAL::EnumActorProperty< T >::GetEnumValue | ( | ) | const [inline, virtual] |
| virtual void dtDAL::EnumActorProperty< T >::SetEnumValue | ( | dtUtil::Enumeration & | value | ) | [inline, virtual] |
Sets the value as a generic enumeration, but it must be the actual type stored in the implementation of this pure virtual class.
| value |
Implements dtDAL::AbstractEnumActorProperty.
| virtual bool dtDAL::EnumActorProperty< T >::FromString | ( | const std::string & | value | ) | [inline, virtual] |
the same as SetValueFromString
| value | the value to set. |
Implements dtDAL::AbstractParameter.
| virtual const std::string dtDAL::EnumActorProperty< T >::ToString | ( | ) | const [inline, virtual] |
This value can be used when calling FromString.
Implements dtDAL::AbstractParameter.