Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OFX::Validation::PropertySetDescription Class Reference

#include <ofxsSupportPrivate.h>

List of all members.


Detailed Description

Describes a set of properties.


Public Member Functions

 PropertySetDescription (char *setName,...)
 constructor.
virtual ~PropertySetDescription ()
 destructor
void addProperty (PropertyDescription *desc, bool deleteOnDestruction=true)
 add another property in
void validate (PropertySet &propSet, bool checkDefaults=true, bool logOrdinaryMessages=false)
 See if all properties exist and have the correct dimensions.

Protected Attributes

std::string _setName
 name of the property set
std::vector< PropertyDescription * > _descriptions
 the descriptions of each property
std::vector< PropertyDescription * > _deleteThese
 The descriptions of each property.


Constructor & Destructor Documentation

OFX::Validation::PropertySetDescription::PropertySetDescription char *  setName,
  ...
 

constructor.

The varargs zero terminated are made from pairs of PropertyDescription * and ints indicating the number of properties pointed to. These are to come from static arrays and need not be deleted

virtual OFX::Validation::PropertySetDescription::~PropertySetDescription  )  [virtual]
 

destructor


Member Function Documentation

void OFX::Validation::PropertySetDescription::addProperty PropertyDescription desc,
bool  deleteOnDestruction = true
 

add another property in

void OFX::Validation::PropertySetDescription::validate PropertySet propSet,
bool  checkDefaults = true,
bool  logOrdinaryMessages = false
 

See if all properties exist and have the correct dimensions.


Member Data Documentation

std::vector<PropertyDescription *> OFX::Validation::PropertySetDescription::_deleteThese [protected]
 

The descriptions of each property.

std::vector<PropertyDescription *> OFX::Validation::PropertySetDescription::_descriptions [protected]
 

the descriptions of each property

std::string OFX::Validation::PropertySetDescription::_setName [protected]
 

name of the property set


The documentation for this class was generated from the following file:
Generated on Thu Oct 9 13:03:50 2008 for OFX Support by  doxygen 1.3.9.1