IntProperty Class Reference

Integer property class. More...

#include <property.h>

Inheritance diagram for IntProperty:
Inheritance graph
Collaboration diagram for IntProperty:
Collaboration graph

Detailed Description

Integer property class.

Public Member Functions

 IntProperty (const char *newKey, int newValue, bool readOnly)
 
 IntProperty (const char *newKey, int newValue, bool readOnly, Driver *driver, ConfigFile *cf, int section)
 Constructor that registers the property with a driver as well while it is constructed.
 
int GetValue (void) const
 
void SetValue (int newValue)
 
void GetValueToMessage (void *data) const
 
void SetValueFromMessage (const void *data)
 
virtual bool ReadConfig (ConfigFile *cf, int section)
 
 operator int (void)
 
const IntPropertyoperator= (const IntProperty &rhs)
 
int operator= (int rhs)
 
- Public Member Functions inherited from Property
 Property (const char *newKey, bool readOnly)
 
virtual const char * GetKey (void) const
 
virtual void SetKey (const char *newKey)
 
virtual bool KeyIsEqual (const char *rhs)
 

Private Attributes

int value
 

Additional Inherited Members

- Protected Attributes inherited from Property
char * key
 
bool readonly
 

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