Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OFX::ChoiceParam Class Reference

#include <ofxsParam.h>

Inheritance diagram for OFX::ChoiceParam:

OFX::ValueParam OFX::Param List of all members.

Detailed Description

Wraps up a choice param.


Public Member Functions

void setDefault (int v)
 set the default value
void getDefault (int &v)
 het the default value
int getNOptions (void)
 how many options do we have
void appendOption (const std::string &v)
 set the default value
void resetOptions (void)
 set the default value
void getValue (int &v)
 get value
void getValueAtTime (double t, int &v)
 get the value at a time
void setValue (int v)
 set value
void setValueAtTime (double t, int v)
 set the value at a time, implicitly adds a keyframe

Protected Member Functions

 mDeclareProtectedAssignAndCC (ChoiceParam)
 ChoiceParam (void)
 ChoiceParam (const ParamSet *paramSet, const std::string &name, OfxParamHandle handle)
 hidden constructor

Friends

class ParamSet


Constructor & Destructor Documentation

OFX::ChoiceParam::ChoiceParam void   )  [inline, protected]
 

OFX::ChoiceParam::ChoiceParam const ParamSet paramSet,
const std::string &  name,
OfxParamHandle  handle
[protected]
 

hidden constructor


Member Function Documentation

void OFX::ChoiceParam::appendOption const std::string &  v  ) 
 

set the default value

void OFX::ChoiceParam::getDefault int &  v  ) 
 

het the default value

int OFX::ChoiceParam::getNOptions void   ) 
 

how many options do we have

void OFX::ChoiceParam::getValue int &  v  ) 
 

get value

void OFX::ChoiceParam::getValueAtTime double  t,
int &  v
 

get the value at a time

OFX::ChoiceParam::mDeclareProtectedAssignAndCC ChoiceParam   )  [protected]
 

void OFX::ChoiceParam::resetOptions void   ) 
 

set the default value

void OFX::ChoiceParam::setDefault int  v  ) 
 

set the default value

void OFX::ChoiceParam::setValue int  v  ) 
 

set value

void OFX::ChoiceParam::setValueAtTime double  t,
int  v
 

set the value at a time, implicitly adds a keyframe


Friends And Related Function Documentation

friend class ParamSet [friend]
 

Reimplemented from OFX::ValueParam.


The documentation for this class was generated from the following files:
Generated on Thu Oct 9 13:03:50 2008 for OFX Support by  doxygen 1.3.9.1