Equalizer  2.1.0
Parallel Rendering Framework
eq::fabric::Range Class Reference

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

#include <range.h>

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

Public Member Functions

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

Data Access

float start
 The start position.
 
float end
 The end position.
 
static EQFABRIC_API 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)
 
void merge (const Range &rhs)
 Merge the two ranges (form the union). More...
 

Detailed Description

A fractional database range with methods for manipulation.

Definition at line 31 of file range.h.

Constructor & Destructor Documentation

eq::fabric::Range::Range ( )
inline

Construct a new range covering all data.

Version
1.0

Definition at line 37 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 44 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 66 of file range.h.

References end, and start.

void eq::fabric::Range::merge ( const Range rhs)
inline

Merge the two ranges (form the union).

Version
1.11

Definition at line 91 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 not identical.
Version
1.0

Definition at line 60 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 54 of file range.h.

References end, and start.


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