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

a set of parameters More...

#include <OfxhParamSetDescriptor.hpp>

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

Public Types

typedef OfxhParamSetDescriptor This
typedef std::map< std::string,
OfxhParamDescriptor * > 
ParamDescriptorMap
typedef boost::ptr_list
< OfxhParamDescriptor
ParamDescriptorList

Public Member Functions

 OfxhParamSetDescriptor ()
 default ctor
virtual ~OfxhParamSetDescriptor ()
 dtor
bool operator== (const This &other) const
bool operator!= (const This &other) const
OfxParamSetHandle getParamSetHandle () const
 obtain a handle on this set for passing to the C api
const ParamDescriptorMapgetParams () const
 get the map of params
ParamDescriptorMapgetParams ()
const ParamDescriptorListgetParamList () const
 get the list of params
virtual OfxhParamDescriptorparamDefine (const char *paramType, const char *name)
 define a param

Data Fields

ParamDescriptorMap _paramMap
ParamDescriptorList _paramList

Private Member Functions

 OfxhParamSetDescriptor (const This &)
 CC doesn't exist.
virtual void addParam (const std::string &name, OfxhParamDescriptor *p)
 add a param in
template<class Archive >
void serialize (Archive &ar, const unsigned int version)

Friends

class boost::serialization::access

Detailed Description

a set of parameters

Definition at line 16 of file OfxhParamSetDescriptor.hpp.


Member Typedef Documentation


Constructor & Destructor Documentation

tuttle::host::ofx::attribute::OfxhParamSetDescriptor::OfxhParamSetDescriptor ( const This ) [private]

CC doesn't exist.

tuttle::host::ofx::attribute::OfxhParamSetDescriptor::OfxhParamSetDescriptor ( )

default ctor

obtain a handle on this set for passing to the C api

Definition at line 11 of file OfxhParamSetDescriptor.cpp.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor::serialize().

tuttle::host::ofx::attribute::OfxhParamSetDescriptor::~OfxhParamSetDescriptor ( ) [virtual]

dtor

Definition at line 13 of file OfxhParamSetDescriptor.cpp.


Member Function Documentation

void tuttle::host::ofx::attribute::OfxhParamSetDescriptor::addParam ( const std::string &  name,
OfxhParamDescriptor p 
) [private, virtual]

add a param in

Definition at line 16 of file OfxhParamSetDescriptor.cpp.

References _paramList, and _paramMap.

Referenced by paramDefine().

const ParamDescriptorList& tuttle::host::ofx::attribute::OfxhParamSetDescriptor::getParamList ( ) const [inline]

get the list of params

Definition at line 53 of file OfxhParamSetDescriptor.hpp.

References _paramList.

Referenced by tuttle::host::ofx::imageEffect::OfxhImageEffectNode::populateParams().

const ParamDescriptorMap& tuttle::host::ofx::attribute::OfxhParamSetDescriptor::getParams ( ) const [inline]

get the map of params

Definition at line 49 of file OfxhParamSetDescriptor.hpp.

References _paramMap.

ParamDescriptorMap& tuttle::host::ofx::attribute::OfxhParamSetDescriptor::getParams ( ) [inline]

Definition at line 50 of file OfxhParamSetDescriptor.hpp.

References _paramMap.

OfxParamSetHandle tuttle::host::ofx::attribute::OfxhParamSetDescriptor::getParamSetHandle ( ) const [inline, virtual]

obtain a handle on this set for passing to the C api

Implements tuttle::host::ofx::attribute::OfxhParamSetAccessor.

Definition at line 46 of file OfxhParamSetDescriptor.hpp.

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

Reimplemented in tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor.

Definition at line 43 of file OfxhParamSetDescriptor.hpp.

References operator==().

Here is the call graph for this function:

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

Reimplemented in tuttle::host::ofx::imageEffect::OfxhImageEffectNodeDescriptor.

Definition at line 36 of file OfxhParamSetDescriptor.hpp.

References _paramList.

Referenced by operator!=().

OfxhParamDescriptor * tuttle::host::ofx::attribute::OfxhParamSetDescriptor::paramDefine ( const char *  paramType,
const char *  name 
) [virtual]

define a param

define a param on this effect

Definition at line 25 of file OfxhParamSetDescriptor.cpp.

References addParam(), tuttle::host::ofx::attribute::OfxhParamDescriptor::initStandardParamProps(), and tuttle::host::ofx::attribute::isStandardType().

Here is the call graph for this function:

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

Friends And Related Function Documentation

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

Field Documentation


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