A fractional database range with methods for manipulation.
More...
#include <range.h>
List of all members.
Public Member Functions |
|
| 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
eq::fabric::Range::Range |
( |
| ) |
[inline] |
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: