OpenSim::Range Class Reference

#include <Range.h>

Inheritance diagram for OpenSim::Range:
OpenSim::Object

List of all members.

Public Member Functions

 Range ()
 Default constructor of an Range.
 Range (const Range &aRange)
 Copy constructor.
virtual ~Range (void)
 Destructor.
virtual Objectcopy () const
 Construct and return a copy of this object.
Rangeoperator= (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

Constructor & Destructor Documentation

Range::Range (  ) 

Default constructor of an Range.

Range::Range ( const Range aRange  ) 

Copy constructor.

Parameters:
aRange range to copy.
Range::~Range ( void   )  [virtual]

Destructor.


Member Function Documentation

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.

Returns:
Copy of this object.

Reimplemented from OpenSim::Object.

const double Range::getMax (  )  const

Range max.

get

const double Range::getMin (  )  const

Range min.

get

Range & Range::operator= ( const Range aRange  ) 

Assign this object to the values of another.

Returns:
Reference to this object.

Reimplemented from OpenSim::Object.

void Range::setMax ( const double  aMax  ) 

Range max.

set

void Range::setMin ( const double  aMin  ) 

Range min.

set


Member Data Documentation

double& OpenSim::Range::_max [protected]
double& OpenSim::Range::_min [protected]

Max value.

Min value.


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

Generated on Sun Sep 25 00:19:51 2011 for OpenSim by  doxygen 1.6.1