nux-1.16.0
nux::Introspectable Class Reference
Inheritance diagram for nux::Introspectable:
nux::Trackable nux::Object nux::ActionItem nux::CachedResourceData nux::FontTexture nux::InitiallyUnownedObject nux::IOpenGLResource nux::MenuBarItem nux::ResourceData nux::Timeline

List of all members.

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 >
GetProperty (std::string const &name, T *foo=0)
void AddProperty (std::string const &name, PropertyBase *property)

Detailed Description

Definition at line 199 of file Property.h.


Member Function Documentation

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);
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends