TuttleOFX  1
OFX::Validation::ValueHolder Struct Reference

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

#include <ofxsSupportPrivate.h>

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 *& ()

Data Fields

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

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.

Definition at line 124 of file ofxsSupportPrivate.h.


Constructor & Destructor Documentation

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

Definition at line 131 of file ofxsSupportPrivate.h.

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

Definition at line 132 of file ofxsSupportPrivate.h.

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

Definition at line 133 of file ofxsSupportPrivate.h.

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

Definition at line 134 of file ofxsSupportPrivate.h.

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

Definition at line 135 of file ofxsSupportPrivate.h.

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

Definition at line 136 of file ofxsSupportPrivate.h.


Member Function Documentation

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

Definition at line 144 of file ofxsSupportPrivate.h.

References vString.

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

Definition at line 147 of file ofxsSupportPrivate.h.

References vDouble.

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

Definition at line 146 of file ofxsSupportPrivate.h.

References vInt.

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

Definition at line 145 of file ofxsSupportPrivate.h.

References vString.

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

Definition at line 148 of file ofxsSupportPrivate.h.

References vPointer.

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

Definition at line 138 of file ofxsSupportPrivate.h.

References vString.

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

Definition at line 139 of file ofxsSupportPrivate.h.

References vString.

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

Definition at line 140 of file ofxsSupportPrivate.h.

References vPointer.

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

Definition at line 141 of file ofxsSupportPrivate.h.

References vInt.

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

Definition at line 142 of file ofxsSupportPrivate.h.

References vDouble.


Field Documentation

Definition at line 128 of file ofxsSupportPrivate.h.

Referenced by operator double &(), and operator=().

Definition at line 127 of file ofxsSupportPrivate.h.

Referenced by operator int &(), and operator=().

Definition at line 129 of file ofxsSupportPrivate.h.

Referenced by operator void *&(), and operator=().


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