#include <enginepropertytypes.h>

Public Member Functions | |
| IntActorProperty (const std::string &name, const std::string &label, Functor1< int > set, Functor0Ret< int > get, const std::string &desc="", const std::string &groupName="") | |
| virtual bool | FromString (const std::string &value) |
| Sets the value of the property based on a string. | |
| virtual const std::string | ToString () const |
| |
Protected Member Functions | |
| virtual | ~IntActorProperty () |
| dtDAL::IntActorProperty::IntActorProperty | ( | const std::string & | name, | |
| const std::string & | label, | |||
| Functor1< int > | set, | |||
| Functor0Ret< int > | get, | |||
| const std::string & | desc = "", |
|||
| const std::string & | groupName = "" | |||
| ) | [inline] |
| virtual dtDAL::IntActorProperty::~IntActorProperty | ( | ) | [inline, protected, virtual] |
| bool dtDAL::IntActorProperty::FromString | ( | const std::string & | value | ) | [virtual] |
Sets the value of the property based on a string.
The string should be an integer value as a string. This will set the value to 0 if it's not valid.
| value | the value to set. |
Implements dtDAL::AbstractParameter.
| const std::string dtDAL::IntActorProperty::ToString | ( | ) | const [virtual] |
This value can be used when calling FromString.
Implements dtDAL::AbstractParameter.