Equalizer  1.2.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
void invalidate ()
 Invalidate the database range.
bool isValid () const
bool hasData () const
void apply (const Range &rhs)
 Apply (accumulate) another database range.

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

bool eq::fabric::Range::hasData ( ) const [inline]
Returns:
true if the database range covers some data.

Definition at line 61 of file range.h.

bool eq::fabric::Range::isValid ( ) const [inline]
Returns:
true if the database range is valid.

Definition at line 57 of file range.h.

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 Fri Jun 8 2012 15:44:36 for Equalizer 1.2.1 by  doxygen 1.8.0