PLearn 0.1
|
#include <Range.h>
Public Member Functions | |
Range (int the_start=0, int the_length=0) | |
bool | isEmpty () |
bool | operator== (Range r) const |
bool | operator< (Range r) const |
operator void * () | |
to allow if(range) statements (safer than operator bool, according to Nicolas.) | |
Public Attributes | |
int | start |
index of first element | |
int | length |
number of elements |
bool PLearn::Range::isEmpty | ( | ) | [inline] |
PLearn::Range::operator void * | ( | ) | [inline] |
number of elements
Definition at line 60 of file Range.h.
Referenced by operator<(), PLearn::operator<<(), operator==(), and PLearn::TVec< PP< RegressionTreeNode > >::subVec().
index of first element
Definition at line 59 of file Range.h.
Referenced by operator<(), PLearn::operator<<(), operator==(), and PLearn::TVec< PP< RegressionTreeNode > >::subVec().