TuttleOFX  1
tuttle::host::ofx::property Namespace Reference

Data Structures

class  OfxhGetHook
class  OfxhNotifyHook
class  OfxhProperty
 base class for all properties More...
struct  OfxhIntValue
 type holder, for integers, used to template up int properties More...
struct  OfxhDoubleValue
 type holder, for doubles, used to template up double properties More...
struct  OfxhPointerValue
 type holder, for pointers, used to template up pointer properties More...
struct  OfxhStringValue
 type holder, for strings, used to template up string properties More...
class  OfxhPropertyTemplate
struct  OfxhPropSpec
class  OfxhSet

Typedefs

typedef OfxhPropertyTemplate
< OfxhIntValue
Int
typedef OfxhPropertyTemplate
< OfxhDoubleValue
Double
 Our int property.
typedef OfxhPropertyTemplate
< OfxhStringValue
String
 Our double property.
typedef OfxhPropertyTemplate
< OfxhPointerValue
Pointer
 Our string property.
typedef boost::ptr_map
< std::string, OfxhProperty
PropertyMap
 A std::map of properties by name.

Enumerations

enum  EPropType {
  ePropTypeNone = -1, ePropTypeInt = 0, ePropTypeDouble = 1, ePropTypeString = 2,
  ePropTypePointer = 3
}
 type of a property More...
enum  EModifiedBy { eModifiedByHost = 0, eModifiedByPlugin }

Functions

void * getPropertySuite (const int version)
 return the OFX function suite that manages properties
std::string mapTypeEnumToString (const EPropType &e)
OfxhPropertynew_clone (const OfxhProperty &p)
int castToAPIType (int i)
void * castToAPIType (void *v)
double castToAPIType (double d)
const char * castToAPIType (const std::string &s)
std::ostream & operator<< (std::ostream &os, const OfxhSet &v)

Typedef Documentation

typedef boost::ptr_map<std::string, OfxhProperty> tuttle::host::ofx::property::PropertyMap

A std::map of properties by name.

Definition at line 54 of file OfxhSet.hpp.


Enumeration Type Documentation

Enumerator:
eModifiedByHost 
eModifiedByPlugin 

Definition at line 91 of file OfxhProperty.hpp.

type of a property

Enumerator:
ePropTypeNone 
ePropTypeInt 
ePropTypeDouble 
ePropTypeString 
ePropTypePointer 

Definition at line 63 of file OfxhProperty.hpp.


Function Documentation

int tuttle::host::ofx::property::castToAPIType ( int  i) [inline]
void* tuttle::host::ofx::property::castToAPIType ( void *  v) [inline]

Definition at line 64 of file OfxhPropertyTemplate.cpp.

double tuttle::host::ofx::property::castToAPIType ( double  d) [inline]

Definition at line 69 of file OfxhPropertyTemplate.cpp.

const char* tuttle::host::ofx::property::castToAPIType ( const std::string &  s) [inline]

Definition at line 74 of file OfxhPropertyTemplate.cpp.

void * tuttle::host::ofx::property::getPropertySuite ( const int  version)

return the OFX function suite that manages properties

Definition at line 267 of file OfxhPropertySuite.cpp.

Referenced by tuttle::host::ofx::OfxhHost::fetchSuite().

std::string tuttle::host::ofx::property::mapTypeEnumToString ( const EPropType &  e) [inline]
OfxhProperty* tuttle::host::ofx::property::new_clone ( const OfxhProperty &  p) [inline]

Definition at line 232 of file OfxhProperty.hpp.

References tuttle::host::ofx::property::OfxhProperty::clone().

Here is the call graph for this function: