voidIndex Class Template Reference
[Index sets]

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

#include <indexSet.h>

Inheritance diagram for voidIndex:

indexSet managedObject goblinRootObject

Public Member Functions

 voidIndex (TItem _n, goblinController &_context=goblinDefaultContext) throw ()
 ~voidIndex () 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 voidIndex< TItem >

Index set representing no indices in an unlimited range.


Constructor & Destructor Documentation

voidIndex TItem  _n,
goblinController _context = goblinDefaultContext
throw ()
 

~voidIndex  )  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.