Loading...
Searching...
No Matches
GenericRange< T > Class Template Reference

Public Member Functions

 GenericRange (uint64_t s)
 
 GenericRange (uint64_t s, uint64_t e, const T &item)
 
 GenericRange (uint64_t s, uint64_t e, const vector< T > &items)
 
bool operator< (const GenericRange &other) const
 
uint64_t GetStart () const
 
uint64_t GetEnd () const
 
const vector< T > & GetItems () const
 
vector< T > & GetMutableItems ()
 
bool overlaps (const GenericRange &other) const
 
vector< GenericRangesplit (const GenericRange &nextInterval) const
 

Constructor & Destructor Documentation

◆ GenericRange() [1/3]

template<typename T >
GenericRange< T >::GenericRange ( uint64_t s)
inline

◆ GenericRange() [2/3]

template<typename T >
GenericRange< T >::GenericRange ( uint64_t s,
uint64_t e,
const T & item )
inline

◆ GenericRange() [3/3]

template<typename T >
GenericRange< T >::GenericRange ( uint64_t s,
uint64_t e,
const vector< T > & items )
inline

Member Function Documentation

◆ operator<()

template<typename T >
bool GenericRange< T >::operator< ( const GenericRange< T > & other) const
inline

◆ GetStart()

template<typename T >
uint64_t GenericRange< T >::GetStart ( ) const
inline

◆ GetEnd()

template<typename T >
uint64_t GenericRange< T >::GetEnd ( ) const
inline

◆ GetItems()

template<typename T >
const vector< T > & GenericRange< T >::GetItems ( ) const
inline

◆ GetMutableItems()

template<typename T >
vector< T > & GenericRange< T >::GetMutableItems ( )
inline

◆ overlaps()

template<typename T >
bool GenericRange< T >::overlaps ( const GenericRange< T > & other) const
inline

◆ split()

template<typename T >
vector< GenericRange > GenericRange< T >::split ( const GenericRange< T > & nextInterval) const
inline