Class: TDequeOfIterator

Declaration: DequeIterator.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TSequenceOfIterator

Inherited By:

None.

Purpose:

TDequeOfIterator is a template class that you can use to iterate over the objects in a TDequeOf. TDequeOfIterator inherits several operators from TIteratorOver and TSequenceOfIterator for accessing objects in the collection.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive any classes from TDequeOfIterator.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TDequeOfIterator::~TDequeOfIterator

virtual ~ TDequeOfIterator ()

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: TDequeOfIterator::TDequeOfIterator

  1. TDequeOfIterator (const TDequeOf < AType

* dequeOf)

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

Interface Category:

API.

Purpose:

  1. Creates an iterator for the specified object.
  2. Default constructor. Protected member. Unused.
  3. Copy constructor. Protected member. Unused.

Calling Context:

  1. Call this function directly to create an iterator for the specified object.
  2. Call this function directly by the stream-in operators and anywhere the creation of a TDequeOfIterator is desired.
  3. 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: TDequeOfIterator::operator=

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

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Protected member. Unused.

Parameters:

Return Value:

Currently 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.