nux-1.16.0
|
Public Member Functions | |
bool | SetProperty (std::string const &name, const char *value) |
If the property was not able to be set with the value, the method returns false. | |
template<typename T > | |
bool | SetProperty (std::string const &name, T const &value) |
template<typename T > | |
T | GetProperty (std::string const &name, T *foo=0) |
void | AddProperty (std::string const &name, PropertyBase *property) |
Definition at line 199 of file Property.h.
bool nux::Introspectable::SetProperty | ( | std::string const & | name, |
const char * | value | ||
) | [inline] |
If the property was not able to be set with the value, the method returns false.
Definition at line 262 of file Property-inl.h.
{ PropertyContainer::iterator i = properties_.find(name); if (i == properties_.end()) return false; else return i->second->SetValue(value); }