Libmacro  0.2
Libmacro is an extensible macro and hotkey library.
mcr::IProperties Class Referenceabstract

#include <properties.h>

Public Member Functions

virtual const char *const * properties () const =0
 
virtual String property (const char *name) const =0
 
virtual void setProperty (const char *name, const String &value)=0
 
virtual void * value (const char *name)=0
 
virtual void setValue (const char *name, void *value)=0
 
virtual void setOnPropertyChanged (IOnPropertyChanged *listener)=0
 

Detailed Description

Object which has string properties to manage

Definition at line 41 of file properties.h.

Member Function Documentation

§ properties()

virtual const char* const* mcr::IProperties::properties ( ) const
pure virtual

Enumerate list of properties this object manages

§ property()

virtual String mcr::IProperties::property ( const char *  name) const
pure virtual

String value of a property

§ setOnPropertyChanged()

virtual void mcr::IProperties::setOnPropertyChanged ( IOnPropertyChanged listener)
pure virtual

Notify a property has changed

§ setProperty()

virtual void mcr::IProperties::setProperty ( const char *  name,
const String value 
)
pure virtual

Set value of a property from a string

§ setValue()

virtual void mcr::IProperties::setValue ( const char *  name,
void *  value 
)
pure virtual

Copy an object reference to property

§ value()

virtual void* mcr::IProperties::value ( const char *  name)
pure virtual

Get a reference to actual value of a property


The documentation for this class was generated from the following file: