Equalizer  1.4.1
eq::fabric::Range Class Reference

A fractional database range with methods for manipulation. More...

#include <range.h>

+ Collaboration diagram for eq::fabric::Range:

List of all members.

Public Member Functions

Constructors
 Range ()
 Construct a new range covering all data.
 Range (const float start_, const float end_)
 Construct a new range with default values.

Data Access

float start
 The start position.
float end
 The end position.
static const Range ALL
 A full database range.
bool operator== (const Range &rhs) const
bool operator!= (const Range &rhs) const
float getSize () const
void invalidate ()
bool isValid () const
bool hasData () const
void apply (const Range &rhs)

Detailed Description

A fractional database range with methods for manipulation.

Definition at line 30 of file range.h.


Constructor & Destructor Documentation

Construct a new range covering all data.

Version:
1.0

Definition at line 36 of file range.h.

eq::fabric::Range::Range ( const float  start_,
const float  end_ 
) [inline]

Construct a new range with default values.

Version:
1.0

Definition at line 39 of file range.h.


Member Function Documentation

float eq::fabric::Range::getSize ( ) const [inline]
Returns:
the interval spanned by this range.
Version:
1.3

Definition at line 54 of file range.h.

References start.

bool eq::fabric::Range::operator!= ( const Range rhs) const [inline]
Returns:
true if the two ranges are not identical.
Version:
1.0

Definition at line 50 of file range.h.

References end, and start.

bool eq::fabric::Range::operator== ( const Range rhs) const [inline]
Returns:
true if the two ranges are identical.
Version:
1.0

Definition at line 46 of file range.h.

References end, and start.


The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:50 for Equalizer 1.4.1 by  doxygen 1.7.6.1