StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | Friends | List of all members
EditableParameter Class Reference
Inheritance diagram for EditableParameter:
ConstrainedParameter Parameter Named Described

Public Member Functions

 EditableParameter (const string &name, const string &description, double value, double defaultValue, double min, double max, double increment, int type, int key)
 
 EditableParameter (const string &name, const string &description, bool *value, bool defaultValue, int key)
 
 EditableParameter (const string &name, const string &description, int *value, int defaultValue, int min, int max, int increment, int key)
 
 EditableParameter (const string &name, const string &description, float *value, float defaultValue, float min, float max, float increment, int key)
 
 EditableParameter (const string &name, const string &description, double *value, double defaultValue, double min, double max, double increment, int key)
 
 EditableParameter (const EditableParameter &parameter)
 
const EditableParameteroperator= (const EditableParameter &parameter)
 
double getIncrement () const
 
void setIncrement (double increment)
 
EditableParameterset (const string &name, const string &description, double value, double defaultValue, double min, double max, double increment, int type, int key)
 
EditableParameterset (const string &name, const string &description, bool *value, bool defaultValue, int key=0)
 
EditableParameterset (const string &name, const string &description, int *value, int defaultValue, int min, int max, int increment, int key=0)
 
EditableParameterset (const string &name, const string &description, float *value, float defaultValue, float min, float max, float increment, int key=0)
 
EditableParameterset (const string &name, const string &description, double *value, double defaultValue, double min, double max, double increment, int key=0)
 
void reset ()
 
void unset ()
 
- Public Member Functions inherited from ConstrainedParameter
 ConstrainedParameter (const string &name, const string &description, double value, double defaultValue, double min, double max, int type=Double, int key=0)
 
 ConstrainedParameter (const string &name, const string &description, bool *value, bool defaultValue, int key=0)
 
 ConstrainedParameter (const string &name, const string &description, int *value, int defaultValue, int min, int max, int key=0)
 
 ConstrainedParameter (const string &name, const string &description, float *value, float defaultValue, float min, float max, int key=0)
 
 ConstrainedParameter (const string &name, const string &description, double *value, double defaultValue, double min, double max, int key=0)
 
 ConstrainedParameter (const ConstrainedParameter &parameter)
 
const ConstrainedParameteroperator= (const ConstrainedParameter &parameter)
 
double getMinimum () const
 
double getMaximum () const
 
double getDefault () const
 
void setMinimum (double min)
 
void setMaximum (double max)
 
void setDefault (double value)
 
void setValue (double value)
 
void set (const string &name, const string &description, double value, double defaultValue, double min, double max, int type=Double, int key=0)
 
void set (const string &name, const string &description, bool *value, bool defaultValue, int key=0)
 
void set (const string &name, const string &description, int *value, int defaultValue, int min, int max, int key=0)
 
void set (const string &name, const string &description, float *value, float defaultValue, float min, float max, int key=0)
 
void set (const string &name, const string &description, double *value, double defaultValue, double min, double max, int key=0)
 
void reset ()
 
- Public Member Functions inherited from Parameter
 Parameter (const string &name, const string &description, double value, int type, int key)
 
 Parameter (const string &name, const string &description, bool *value, int key)
 
 Parameter (const string &name, const string &description, int *value, int key)
 
 Parameter (const string &name, const string &description, float *value, int key)
 
 Parameter (const string &name, const string &description, double *value, int key)
 
 Parameter (const Parameter &parameter)
 
const Parameteroperator= (const Parameter &parameter)
 
int getKey () const
 
int getType () const
 
bool getBoolValue () const
 
int getIntValue () const
 
float getFloatValue () const
 
double getDoubleValue () const
 
void setKey (int key)
 
void setValue (bool value)
 
void setValue (int value)
 
void setValue (float value)
 
void setValue (double value)
 
void set (const string &name, const string &description, double value, int type=Double, int key=0)
 
void set (const string &name, const string &description, bool *value, int key=0)
 
void set (const string &name, const string &description, int *value, int key=0)
 
void set (const string &name, const string &description, float *value, int key=0)
 
void set (const string &name, const string &description, double *value, int key=0)
 
- Public Member Functions inherited from Named
void setName (const string &newName)
 Set the name of the object.
 
const string & getName () const
 Get the name of the object.
 
bool isName (const string &aName) const
 Determine whether name equals given name.
 
- Public Member Functions inherited from Described
void setDescription (const string &description)
 Set the Describe of the object.
 
const string getDescription () const
 Get the Describe of the object.
 
bool isDescribed () const
 Determine whether Describe is set, i.e object has a Describe.
 
bool isDescription (const string &description) const
 Determine whether Describe equals given Describe.
 
bool sameDescriptionAs (const Described &described) const
 Determine whether Describe equals that of given object.
 

Protected Attributes

double _increment
 
- Protected Attributes inherited from ConstrainedParameter
double _minimum
 
double _maximum
 
double _default
 
- Protected Attributes inherited from Parameter
int _key
 
int _type
 
double _value
 
void * _exValue
 
- Protected Attributes inherited from Named
string _name
 
- Protected Attributes inherited from Described
string _description
 

Friends

ostream & operator<< (ostream &os, const EditableParameter &par)
 

Additional Inherited Members

- Static Public Attributes inherited from Parameter
static const int Boolean = 0
 
static const int Integer = 1
 
static const int Float = 2
 
static const int Double = 3
 
- Protected Member Functions inherited from Named
 Named (const string &aName=" ")
 Only derived class are Named.
 
- Protected Member Functions inherited from Described
 Described (const string &aDescribe=" ")
 Only derived class are Described.
 

Detailed Description

Definition at line 10 of file EditableParameter.h.


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