PropertySetting Struct Reference

#include <Configuration.h>

List of all members.

Public Member Functions

 PropertySetting (const char *deviceLabel, const char *prop, const char *value, bool readOnly=false)
std::string getDeviceLabel () const
std::string getPropertyName () const
bool getReadOnly () const
std::string getPropertyValue () const
std::string getKey () const
std::string Serialize () const
void Restore (const std::string &data)
std::string getVerbose () const
bool isEqualTo (const PropertySetting &ps)

Static Public Member Functions

static std::string generateKey (const char *device, const char *prop)


Detailed Description

Property setting defined as triplet: device - property - value.

Constructor & Destructor Documentation

PropertySetting::PropertySetting ( const char *  deviceLabel,
const char *  prop,
const char *  value,
bool  readOnly = false 
) [inline]

Constructor for the struct specifying the entire contents.

Parameters:
deviceLabel 
prop 
value 


Member Function Documentation

std::string PropertySetting::getDeviceLabel (  )  const [inline]

Returns the device label.

std::string PropertySetting::getPropertyName (  )  const [inline]

Returns the property name.

bool PropertySetting::getReadOnly (  )  const [inline]

Returns the read-only status.

std::string PropertySetting::getPropertyValue (  )  const [inline]

Returns the property value.

string PropertySetting::Serialize (  )  const

Creates serialized representation of the object.

string PropertySetting::getVerbose (  )  const

Returns verbose description of the object's contents.


The documentation for this struct was generated from the following files:
Generated on Thu Sep 18 12:35:23 2008 for MMCore by  doxygen 1.5.3-20070902