#include <namedparameter.h>

Public Member Functions | |
| NamedBooleanParameter (const std::string &name, bool defaultValue=false, bool isList=false) | |
| virtual const dtDAL::DataType & | GetDataType () const |
| |
| virtual const std::string | ToString () const |
| overridden to return "true" and "false" | |
| virtual bool | FromString (const std::string &value) |
| overridden to accept "true" and other such strings as well as numbers. | |
| virtual void | SetFromProperty (const dtDAL::ActorProperty &property) |
| Sets the message parameter's value from the actor property's value. | |
| virtual void | ApplyValueToProperty (dtDAL::ActorProperty &property) const |
| Sets the actor property's value from the message parameter's value. | |
Protected Member Functions | |
| virtual | ~NamedBooleanParameter () |
| dtDAL::NamedBooleanParameter::NamedBooleanParameter | ( | const std::string & | name, | |
| bool | defaultValue = false, |
|||
| bool | isList = false | |||
| ) |
| dtDAL::NamedBooleanParameter::~NamedBooleanParameter | ( | ) | [protected, virtual] |
| virtual const dtDAL::DataType& dtDAL::NamedBooleanParameter::GetDataType | ( | ) | const [inline, virtual] |
| const std::string dtDAL::NamedBooleanParameter::ToString | ( | ) | const [virtual] |
| bool dtDAL::NamedBooleanParameter::FromString | ( | const std::string & | value | ) | [virtual] |
overridden to accept "true" and other such strings as well as numbers.
Reimplemented from dtDAL::NamedPODParameter< bool >.
| void dtDAL::NamedBooleanParameter::SetFromProperty | ( | const dtDAL::ActorProperty & | property | ) | [virtual] |
Sets the message parameter's value from the actor property's value.
Reimplemented from dtDAL::NamedParameter.
| void dtDAL::NamedBooleanParameter::ApplyValueToProperty | ( | dtDAL::ActorProperty & | property | ) | const [virtual] |
Sets the actor property's value from the message parameter's value.
Reimplemented from dtDAL::NamedParameter.