TuttleOFX  1
tuttle::host::ofx::attribute::OfxhParamDescriptor Class Reference

the Descriptor of a plugin parameter More...

#include <OfxhParamDescriptor.hpp>

Inheritance diagram for tuttle::host::ofx::attribute::OfxhParamDescriptor:
Collaboration diagram for tuttle::host::ofx::attribute::OfxhParamDescriptor:

Public Types

typedef OfxhParamDescriptor This

Public Member Functions

 OfxhParamDescriptor (const std::string &type, const std::string &name)
 make a parameter, with the given type and name
 ~OfxhParamDescriptor ()
bool operator== (const This &other) const
bool operator!= (const This &other) const
OfxParamHandle getParamHandle () const
 grab a handle on the parameter for passing to the C API
void initStandardParamProps (const std::string &type)
 add standard param props, will call the below

Private Member Functions

 OfxhParamDescriptor ()
void initInteractParamProps (const std::string &type)
 add standard properties to a params that can take an interact
void initValueParamProps (const std::string &type, property::EPropType valueType, int dim)
 add standard properties to a value holding param
void initNoValueParamProps ()
void initNumericParamProps (const std::string &type, property::EPropType valueType, int dim)
 add standard properties to a value holding param
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Friends

class boost::serialization::access

Detailed Description

the Descriptor of a plugin parameter

Definition at line 18 of file OfxhParamDescriptor.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

tuttle::host::ofx::attribute::OfxhParamDescriptor::OfxhParamDescriptor ( ) [inline, private]

Definition at line 26 of file OfxhParamDescriptor.hpp.

tuttle::host::ofx::attribute::OfxhParamDescriptor::OfxhParamDescriptor ( const std::string &  type,
const std::string &  name 
)
tuttle::host::ofx::attribute::OfxhParamDescriptor::~OfxhParamDescriptor ( ) [inline]

Definition at line 31 of file OfxhParamDescriptor.hpp.


Member Function Documentation

OfxParamHandle tuttle::host::ofx::attribute::OfxhParamDescriptor::getParamHandle ( ) const [inline, virtual]

grab a handle on the parameter for passing to the C API

Implements tuttle::host::ofx::attribute::OfxhParamAccessor.

Definition at line 43 of file OfxhParamDescriptor.hpp.

void tuttle::host::ofx::attribute::OfxhParamDescriptor::initInteractParamProps ( const std::string &  type) [private]
void tuttle::host::ofx::attribute::OfxhParamDescriptor::initNoValueParamProps ( ) [private]
void tuttle::host::ofx::attribute::OfxhParamDescriptor::initNumericParamProps ( const std::string &  type,
property::EPropType  valueType,
int  dim 
) [private]
void tuttle::host::ofx::attribute::OfxhParamDescriptor::initValueParamProps ( const std::string &  type,
property::EPropType  valueType,
int  dim 
) [private]
bool tuttle::host::ofx::attribute::OfxhParamDescriptor::operator!= ( const This other) const [inline]

Reimplemented from tuttle::host::ofx::attribute::OfxhAttributeDescriptor.

Definition at line 40 of file OfxhParamDescriptor.hpp.

References operator==().

Here is the call graph for this function:

bool tuttle::host::ofx::attribute::OfxhParamDescriptor::operator== ( const This other) const [inline]

Reimplemented from tuttle::host::ofx::attribute::OfxhAttributeDescriptor.

Definition at line 33 of file OfxhParamDescriptor.hpp.

Referenced by operator!=().

template<class Archive >
void tuttle::host::ofx::attribute::OfxhParamDescriptor::serialize ( Archive &  ar,
const unsigned int  version 
) [inline, private]

Reimplemented from tuttle::host::ofx::attribute::OfxhAttributeDescriptor.

Definition at line 65 of file OfxhParamDescriptor.hpp.


Friends And Related Function Documentation

friend class boost::serialization::access [friend]

Reimplemented from tuttle::host::ofx::attribute::OfxhAttributeDescriptor.

Definition at line 63 of file OfxhParamDescriptor.hpp.


The documentation for this class was generated from the following files: