Class: TEmptySequenceIterator

Declaration: EmptySequenceIterator.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TSequenceOfIterator

Inherited By:

None.

Purpose:

TEmptySequenceIterator is a class that implements an empty iterator for sequences. This iterator will always return NIL.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive any classes from TEmptySequenceIterator.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TEmptySequenceIterator::~TEmptySequenceIterator

virtual ~ TEmptySequenceIterator ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Call this function directly to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TEmptySequenceIterator::TEmptySequenceIterator

  1. TEmptySequenceIterator ()
  2. TEmptySequenceIterator (const TEmptySequenceIterator < AType > &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.

Calling Context:

  1. Call this function directly anywhere the creation of a TEmptySequenceIterator is desired.
  2. Call this function directly to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TEmptySequenceIterator::operator=

const TEmptySequenceIterator < AType > & operator =(const TEmptySequenceIterator < AType > &)

Interface Category:

API.

Purpose:

Assignment operator. This operation is disallowed and will always return a reference to this object.

Calling Context:

Call this function directly when an object is assigned to another compatible object.

Parameters:

Return Value:

Always returns a reference to this object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.