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

OFX::Validation::PropertyDescription Class Reference

#include <ofxsSupportPrivate.h>

List of all members.


Detailed Description

class to describe properties, check their default and set their values


Public Member Functions

 PropertyDescription (char *name, OFX::PropertyTypeEnum ilk, int dimension,...)
 var args constructor that is use to describe properties
virtual ~PropertyDescription (void)
 Die! Die! Die!
void validate (bool checkDefaults, PropertySet &propSet)
 See if the property exists in the containing property set and has the correct dimension.

Public Attributes

std::string _name
 name of the property
bool _exists
 Was it validated.
int _dimension
 dimension of the property
OFX::PropertyTypeEnum _ilk
 What type of property is it.
std::vector< ValueHolder_defaultValue
 The default value that this property should have. Empty implies no default (eg: a host name has no default).


Constructor & Destructor Documentation

OFX::Validation::PropertyDescription::PropertyDescription char *  name,
OFX::PropertyTypeEnum  ilk,
int  dimension,
  ...
 

var args constructor that is use to describe properties

virtual OFX::Validation::PropertyDescription::~PropertyDescription void   )  [inline, virtual]
 

Die! Die! Die!


Member Function Documentation

void OFX::Validation::PropertyDescription::validate bool  checkDefaults,
PropertySet propSet
 

See if the property exists in the containing property set and has the correct dimension.


Member Data Documentation

std::vector<ValueHolder> OFX::Validation::PropertyDescription::_defaultValue
 

The default value that this property should have. Empty implies no default (eg: a host name has no default).

int OFX::Validation::PropertyDescription::_dimension
 

dimension of the property

bool OFX::Validation::PropertyDescription::_exists
 

Was it validated.

OFX::PropertyTypeEnum OFX::Validation::PropertyDescription::_ilk
 

What type of property is it.

std::string OFX::Validation::PropertyDescription::_name
 

name of the property


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