#include <enginepropertytypes.h>

Public Member Functions | |
| FloatActorProperty (const std::string &name, const std::string &label, Functor1< float > set, Functor0Ret< float > 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 | ~FloatActorProperty () |
| dtDAL::FloatActorProperty::FloatActorProperty | ( | const std::string & | name, | |
| const std::string & | label, | |||
| Functor1< float > | set, | |||
| Functor0Ret< float > | get, | |||
| const std::string & | desc = "", |
|||
| const std::string & | groupName = "" | |||
| ) | [inline] |
| virtual dtDAL::FloatActorProperty::~FloatActorProperty | ( | ) | [inline, protected, virtual] |
| bool dtDAL::FloatActorProperty::FromString | ( | const std::string & | value | ) | [virtual] |
Sets the value of the property based on a string.
The string should be a float 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::FloatActorProperty::ToString | ( | ) | const [virtual] |
This value can be used when calling FromString.
Implements dtDAL::AbstractParameter.