#include <integer_id.h>
Protected Attributes | |
Index | index |
Public Member Functions | |
integer_id () | |
integer_id (Index i) | |
integer_id (const Id &i) | |
Id & | operator= (const Id &i) |
Index | getId () const |
void | setId (Index i) |
bool | isValid () const |
bool | isValid (Index size) const |
bool | operator== (const Id &a) const |
bool | operator== (const Index &i) const |
bool | operator!= (const Id &a) const |
bool | operator!= (const Index &i) const |
bool | operator< (const Id &a) const |
bool | operator< (const Index &i) const |
bool | operator<= (const Id &a) const |
bool | operator<= (const Index &i) const |
bool | operator> (const Id &a) const |
bool | operator> (const Index &i) const |
bool | operator>= (const Id &a) const |
bool | operator>= (const Index &i) const |
template<typename int_type > | |
Id | operator+ (int_type i) const |
template<typename int_type > | |
Id & | operator+= (int_type i) |
template<typename int_type > | |
Id | operator- (int_type i) const |
sindex_type | operator- (const Id &i) const |
template<typename int_type > | |
Id & | operator-= (int_type i) |
Id & | operator++ () |
Id | operator++ (int) |
Id & | operator-- () |
Id | operator-- (int) |
Static Public Member Functions | |
static const char * | getName () |
static Index | getDefaultId () |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Id &i) |
Output stream. More... | |
std::istream & | operator>> (std::istream &in, Id &i) |
Input stream. More... | |
|
protected |
|
inline |
|
inlineexplicit |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Output stream.
|
friend |
Input stream.