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

OFX::Validation::ValueHolder Struct Reference

#include <ofxsSupportPrivate.h>

List of all members.


Detailed Description

This is uses to hold a property value, used by the property checking classes.

Could have been a union, but std::string can't be in one.


Public Member Functions

 ValueHolder (void)
 ValueHolder (char *s)
 ValueHolder (const std::string &s)
 ValueHolder (int i)
 ValueHolder (double d)
 ValueHolder (void *p)
ValueHolderoperator= (char *v)
ValueHolderoperator= (std::string v)
ValueHolderoperator= (void *v)
ValueHolderoperator= (int v)
ValueHolderoperator= (double v)
 operator const char * ()
 operator std::string & ()
 operator int & ()
 operator double & ()
 operator void *& ()

Public Attributes

std::string vString
int vInt
double vDouble
void * vPointer


Constructor & Destructor Documentation

OFX::Validation::ValueHolder::ValueHolder void   )  [inline]
 

OFX::Validation::ValueHolder::ValueHolder char *  s  )  [inline]
 

OFX::Validation::ValueHolder::ValueHolder const std::string &  s  )  [inline]
 

OFX::Validation::ValueHolder::ValueHolder int  i  )  [inline]
 

OFX::Validation::ValueHolder::ValueHolder double  d  )  [inline]
 

OFX::Validation::ValueHolder::ValueHolder void *  p  )  [inline]
 


Member Function Documentation

OFX::Validation::ValueHolder::operator const char *  )  [inline]
 

OFX::Validation::ValueHolder::operator double &  )  [inline]
 

OFX::Validation::ValueHolder::operator int &  )  [inline]
 

OFX::Validation::ValueHolder::operator std::string &  )  [inline]
 

OFX::Validation::ValueHolder::operator void *&  )  [inline]
 

ValueHolder& OFX::Validation::ValueHolder::operator= double  v  )  [inline]
 

ValueHolder& OFX::Validation::ValueHolder::operator= int  v  )  [inline]
 

ValueHolder& OFX::Validation::ValueHolder::operator= void *  v  )  [inline]
 

ValueHolder& OFX::Validation::ValueHolder::operator= std::string  v  )  [inline]
 

ValueHolder& OFX::Validation::ValueHolder::operator= char *  v  )  [inline]
 


Member Data Documentation

double OFX::Validation::ValueHolder::vDouble
 

int OFX::Validation::ValueHolder::vInt
 

void* OFX::Validation::ValueHolder::vPointer
 

std::string OFX::Validation::ValueHolder::vString
 


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