JX Application Framework
Loading...
Searching...
No Matches
Public Member Functions | List of all members
JCharacterRange Class Reference

#include <JCharacterRange.h>

Inheritance diagram for JCharacterRange:
[legend]

Public Member Functions

 JCharacterRange (const JIndexRange &r)
 
 JRange ()
 
 JRange (const T firstIndex, const T lastIndex)
 
- Public Member Functions inherited from JRange< JIndex >
 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)
 
JRangeoperator+= (const JIndex offset)
 
JRangeoperator+= (const JRange &range)
 
JRangeoperator-= (const JIndex offset)
 

Additional Inherited Members

- Public Attributes inherited from JRange< JIndex >
JIndex first
 
JIndex last
 

Detailed Description

Light-weight class for type safety.

Constructor & Destructor Documentation

◆ JCharacterRange()

JCharacterRange::JCharacterRange ( const JIndexRange r)
inlineexplicit

Member Function Documentation

◆ JRange() [1/2]

JRange< T >::JRange ( )

◆ JRange() [2/2]

JRange< T >::JRange ( const T  firstIndex,
const T  lastIndex 
)

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