Sequence.h

Classes

Sequence -- virtual templated base class for sequences (full description)
uIntSequence -- uInt sequence for general use (full description)

template<class t> class Sequence

Interface

Public Members
virtual ~Sequence()
virtual t getNext () = 0

Description

Review Status

Reviewed By:
Friso Olnon
Date Reviewed:
1995/03/17

Synopsis

The virtual base class for sequences in the library. It is templated to allow users to derive sequences of any type, e.g. libg++'s Integers.

Member Description

virtual ~Sequence()

virtual t getNext () = 0

Force derived classes to provide this function, to return the next value in the sequence.

class uIntSequence : public Sequence<uInt>

Interface

uInt getNext()
static uInt SgetNext()

Description

Review Status

Reviewed By:
Friso Olnon
Date Reviewed:
1995/03/17

Synopsis

This class provides a uInt based sequence for general use.

Member Description

uInt getNext()
static uInt SgetNext()

Get the next uInt value in the sequence.