fullIndex Class Template Reference
[Index sets]

Index set representing all indices in an unlimited range. More...

#include <indexSet.h>

Inheritance diagram for fullIndex:

indexSet managedObject goblinRootObject

Public Member Functions

 fullIndex (TItem _n, goblinController &_context=goblinDefaultContext) throw ()
 ~fullIndex () throw ()
unsigned long Size () const throw ()
bool IsMember (TItem i) const throw ()
TItem First () const throw ()
TItem Successor (const TItem i) const throw (ERRange)

Detailed Description

template<class TItem>
class fullIndex< TItem >

Index set representing all indices in an unlimited range.


Constructor & Destructor Documentation

fullIndex TItem  _n,
goblinController _context = goblinDefaultContext
throw ()
 

~fullIndex  )  throw ()
 


Member Function Documentation

TItem First  )  const throw () [virtual]
 

Query the smallest index in an index set.

Returns:
The smallest index contained by this set

Reimplemented from indexSet.

bool IsMember TItem  i  )  const throw () [virtual]
 

Test for indet set membership.

Parameters:
i An index to test for indet set membership
Return values:
true The indexed element is contained by this set

Implements indexSet.

unsigned long Size  )  const throw () [virtual]
 

Implements indexSet.

TItem Successor const TItem  i  )  const throw (ERRange) [virtual]
 

Enumeration of the indices contained in a set.

Returns:
The least upper bound index contained by this set

Reimplemented from indexSet.