JX Application Framework
|
#include <JCharacterRange.h>
Public Member Functions | |
JCharacterRange (const JIndexRange &r) | |
JRange () | |
JRange (const T firstIndex, const T lastIndex) | |
![]() | |
JRange () | |
JRange (const JIndex firstIndex, const JIndex lastIndex) | |
bool | Is (const JIndex firstIndex, const JIndex lastIndex) const |
bool | IsEmpty () const |
JSize | GetCount () const |
bool | Contains (const JIndex index) const |
bool | Contains (const JRange< JIndex > &range) const |
void | Set (const JIndex firstIndex, const JIndex lastIndex) |
void | SetFirstAndCount (const JIndex firstIndex, const JSize count) |
bool | IsNothing () const |
void | SetToNothing () |
void | SetToEmptyAt (const JIndex firstIndex) |
JRange & | operator+= (const JIndex offset) |
JRange & | operator+= (const JRange &range) |
JRange & | operator-= (const JIndex offset) |
Additional Inherited Members | |
![]() | |
JIndex | first |
JIndex | last |
Light-weight class for type safety.
|
inlineexplicit |