#include <Range.h>
Public Member Functions | |
Range () | |
Default constructor of an Range. | |
Range (const Range &aRange) | |
Copy constructor. | |
virtual | ~Range (void) |
Destructor. | |
virtual Object * | copy () const |
Construct and return a copy of this object. | |
Range & | operator= (const Range &aRange) |
Assign this object to the values of another. | |
const double | getMin () const |
Range min. | |
void | setMin (const double aMin) |
Range min. | |
const double | getMax () const |
Range max. | |
void | setMax (const double aMax) |
Range max. | |
Protected Attributes | |
PropertyDbl | _propMin |
Min value. | |
PropertyDbl | _propMax |
Max value. | |
double & | _min |
double & | _max |
Range::Range | ( | ) |
Default constructor of an Range.
Range::Range | ( | const Range & | aRange | ) |
Copy constructor.
aRange | range to copy. |
Range::~Range | ( | void | ) | [virtual] |
Destructor.
Object * Range::copy | ( | ) | const [virtual] |
Construct and return a copy of this object.
The object is allocated using the new operator, so the caller is responsible for deleting the returned object.
Reimplemented from OpenSim::Object.
const double Range::getMax | ( | ) | const |
Range max.
get
const double Range::getMin | ( | ) | const |
Range min.
get
Assign this object to the values of another.
Reimplemented from OpenSim::Object.
void Range::setMax | ( | const double | aMax | ) |
Range max.
set
void Range::setMin | ( | const double | aMin | ) |
Range min.
set
double& OpenSim::Range::_max [protected] |
double& OpenSim::Range::_min [protected] |
PropertyDbl OpenSim::Range::_propMax [protected] |
Max value.
PropertyDbl OpenSim::Range::_propMin [protected] |
Min value.