Jive reference manual
List of all members | Public Member Functions | Public Attributes | Related Functions
jem::util::Range< T > Class Template Reference

#include <jem/util/Range.h>

Public Member Functions

 Range ()
 
 Range (T first, T last)
 
 Range (const Range &rhs)
 
bool isEmpty () const
 
bool notEmpty () const
 
Rangeoperator+= (T rhs)
 
Rangeoperator-= (T rhs)
 
Rangeoperator&= (const Range &rhs)
 
Rangeoperator|= (const Range &rhs)
 

Public Attributes

first
 
last
 

Related Functions

(Note that these are not member functions.)

template<class Input , class T >
void decode (Input &in, Range< T > &rn)
 
template<class Output , class T >
void encode (Output &out, const Range< T > &rn)
 
template<class Output , class T >
void print (Output &out, const Range< T > &rn)
 
template<class T >
Range< T > operator+ (const Range< T > &lhs, T rhs)
 
template<class T >
Range< T > operator- (const Range< T > &lhs, T rhs)
 
template<class T >
Range< T > operator& (const Range< T > &lhs, const Range< T > &rhs)
 
template<class T >
Range< T > operator| (const Range< T > &lhs, const Range< T > &rhs)
 
template<class T >
bool overlap (const Range< T > &lhs, const Range< T > &rhs)
 
template<class T >
Range< T > range (T first, T last)
 

Constructor & Destructor Documentation

template<class T >
jem::util::Range< T >::Range ( )
template<class T >
jem::util::Range< T >::Range ( first,
last 
)
template<class T >
jem::util::Range< T >::Range ( const Range< T > &  rhs)

Member Function Documentation

template<class T >
bool jem::util::Range< T >::isEmpty ( ) const
template<class T >
bool jem::util::Range< T >::notEmpty ( ) const
template<class T >
Range& jem::util::Range< T >::operator+= ( rhs)
template<class T >
Range& jem::util::Range< T >::operator-= ( rhs)
template<class T >
Range& jem::util::Range< T >::operator&= ( const Range< T > &  rhs)
template<class T >
Range& jem::util::Range< T >::operator|= ( const Range< T > &  rhs)

Friends And Related Function Documentation

template<class Input , class T >
void decode ( Input &  in,
Range< T > &  rn 
)
related
template<class Output , class T >
void encode ( Output &  out,
const Range< T > &  rn 
)
related
template<class Output , class T >
void print ( Output &  out,
const Range< T > &  rn 
)
related
template<class T >
Range< T > operator+ ( const Range< T > &  lhs,
rhs 
)
related
template<class T >
Range< T > operator- ( const Range< T > &  lhs,
rhs 
)
related
template<class T >
Range< T > operator& ( const Range< T > &  lhs,
const Range< T > &  rhs 
)
related
template<class T >
Range< T > operator| ( const Range< T > &  lhs,
const Range< T > &  rhs 
)
related
template<class T >
bool overlap ( const Range< T > &  lhs,
const Range< T > &  rhs 
)
related
template<class T >
Range< T > range ( first,
last 
)
related

Member Data Documentation

template<class T >
T jem::util::Range< T >::first
template<class T >
T jem::util::Range< T >::last