COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Attributes | List of all members
covise::coHideParam Class Reference

#include <coHideParam.h>

Collaboration diagram for covise::coHideParam:
Collaboration graph
[legend]

Public Member Functions

 coHideParam (coUifPara *param)
 
 ~coHideParam ()
 Destructor. More...
 
void load (const char *values)
 
float getFValue ()
 get the float value (applies for coFloatParam or coFloatSliderParam) More...
 
int getIValue ()
 get the int value (applies for coChoiceParam, coBooleanParam, coIntScalarParam or coIntSliderParam) More...
 
float getFValue (int)
 get the float value (applies for coFloatVectorParam) More...
 
int getIValue (int)
 get the int values (applies for coFloatVectorParam) More...
 
void getFValue (float &data0, float &data1, float &data2)
 get the float values (applies for coFloatVectorParam) More...
 
void reset ()
 resets hidden_ to false More...
 

Private Attributes

coUifParaparam_
 
bool hidden_
 
vector< float > fnumbers_
 
vector< int > inumbers_
 

Constructor & Destructor Documentation

coHideParam::coHideParam ( coUifPara param)

Constructor

Parameters
parameterto be (possibly) overridden
coHideParam::~coHideParam ( )

Destructor.

Member Function Documentation

float coHideParam::getFValue ( )

get the float value (applies for coFloatParam or coFloatSliderParam)

float coHideParam::getFValue ( int  index)

get the float value (applies for coFloatVectorParam)

void coHideParam::getFValue ( float &  data0,
float &  data1,
float &  data2 
)

get the float values (applies for coFloatVectorParam)

int coHideParam::getIValue ( )

get the int value (applies for coChoiceParam, coBooleanParam, coIntScalarParam or coIntSliderParam)

int coHideParam::getIValue ( int  index)

get the int values (applies for coFloatVectorParam)

void coHideParam::load ( const char *  values)

load is used in order to load a value that overrides the parameter param_

Parameters
valuesstring with the value or values that override those of pram_
void coHideParam::reset ( void  )

resets hidden_ to false

Member Data Documentation

vector<float> covise::coHideParam::fnumbers_
private
bool covise::coHideParam::hidden_
private
vector<int> covise::coHideParam::inumbers_
private
coUifPara* covise::coHideParam::param_
private

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