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

OFX::Int2DParamDescriptor Class Reference

#include <ofxsParam.h>

Inheritance diagram for OFX::Int2DParamDescriptor:

OFX::ValueParamDescriptor OFX::ParamDescriptor List of all members.

Detailed Description

Wraps up an 2d integer param.


Public Member Functions

void setDimensionLabels (const std::string &x, const std::string &y)
 set the dimension labels
void setDefault (int x, int y)
 set the default value, default is 0
void setRange (int minX, int minY, int maxX, int maxY)
 set the hard min/max range, default is INT_MIN, INT_MAX
void setDisplayRange (int minX, int minY, int maxX, int maxY)
 set the display min and max, default is to be the same as the range param

Protected Member Functions

 mDeclareProtectedAssignAndCC (Int2DParamDescriptor)
 Int2DParamDescriptor (void)
 Int2DParamDescriptor (const std::string &name, OfxPropertySetHandle props)
 ctor

Friends

class ParamSetDescriptor


Constructor & Destructor Documentation

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

OFX::Int2DParamDescriptor::Int2DParamDescriptor const std::string &  name,
OfxPropertySetHandle  props
[protected]
 

ctor


Member Function Documentation

OFX::Int2DParamDescriptor::mDeclareProtectedAssignAndCC Int2DParamDescriptor   )  [protected]
 

void OFX::Int2DParamDescriptor::setDefault int  x,
int  y
 

set the default value, default is 0

void OFX::Int2DParamDescriptor::setDimensionLabels const std::string &  x,
const std::string &  y
 

set the dimension labels

void OFX::Int2DParamDescriptor::setDisplayRange int  xmin,
int  ymin,
int  xmax,
int  ymax
 

set the display min and max, default is to be the same as the range param

void OFX::Int2DParamDescriptor::setRange int  xmin,
int  ymin,
int  xmax,
int  ymax
 

set the hard min/max range, default is INT_MIN, INT_MAX


Friends And Related Function Documentation

friend class ParamSetDescriptor [friend]
 

Reimplemented from OFX::ValueParamDescriptor.


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