TuttleOFX  1
OFX::CustomParamDescriptor Class Reference

Wraps up a custom param, haven't added animation support yet. More...

#include <ofxsParam.h>

Inheritance diagram for OFX::CustomParamDescriptor:
Collaboration diagram for OFX::CustomParamDescriptor:

Public Member Functions

void setDefault (const std::string &v)
 set the default value of the param

Protected Member Functions

 mDeclareProtectedAssignAndCC (CustomParamDescriptor)
 CustomParamDescriptor (void)
 CustomParamDescriptor (const std::string &name, OfxPropertySetHandle props)
 hidden constructor

Friends

class ParamSetDescriptor

Detailed Description

Wraps up a custom param, haven't added animation support yet.

Definition at line 721 of file ofxsParam.h.


Constructor & Destructor Documentation

OFX::CustomParamDescriptor::CustomParamDescriptor ( void  ) [inline, protected]

Definition at line 725 of file ofxsParam.h.

OFX::CustomParamDescriptor::CustomParamDescriptor ( const std::string &  name,
OfxPropertySetHandle  props 
) [protected]

hidden constructor

hidden ctor

Definition at line 673 of file ofxsParams.cpp.


Member Function Documentation

OFX::CustomParamDescriptor::mDeclareProtectedAssignAndCC ( CustomParamDescriptor  ) [protected]
void OFX::CustomParamDescriptor::setDefault ( const std::string &  v)

set the default value of the param

set the default value, default is 0

Definition at line 678 of file ofxsParams.cpp.

References OFX::ParamDescriptor::getProps(), kOfxParamPropDefault, and OFX::PropertySet::propSetString().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class ParamSetDescriptor [friend]

Reimplemented from OFX::ValueParamDescriptor.

Definition at line 732 of file ofxsParam.h.


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