Class: TPrintJobIterator

Declaration: Printer.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

TStandardPrintJobIterator

Purpose:

An abstract class for iterating over print jobs in a printers queue.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Deriving classes must implement all functions.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TPrintJobIterator::~TPrintJobIterator

virtual ~ TPrintJobIterator ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called 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: TPrintJobIterator::Next

virtual TPrintJobHandle * Next ()

Interface Category:

API.

Purpose:

Returns the next print job in the list.

Calling Context:

Call this function directly.

Parameters:

Return Value:

A pointer to a TPrintJobHandle object. Clients do not own this pointer.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrintJobIterator::First

virtual TPrintJobHandle * First ()

Interface Category:

API.

Purpose:

Returns the first print job in the list.

Calling Context:

Call this function directly.

Parameters:

Return Value:

A pointer to a TPrintJobHandle object. Clients do not own this pointer.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrintJobIterator::Last

virtual TPrintJobHandle * Last ()

Interface Category:

API.

Purpose:

Returns the last print job in the list.

Calling Context:

Call this function directly.

Parameters:

Return Value:

A pointer to a TPrintJobHandle object. Clients do not own this pointer.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrintJobIterator::Previous

virtual TPrintJobHandle * Previous ()

Interface Category:

API.

Purpose:

Returns the previous print job in the list.

Calling Context:

Call this function directly.

Parameters:

Return Value:

A pointer to a TPrintJobHandle object. Clients do not own this pointer.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrintJobIterator::Remove

virtual void Remove ()

Interface Category:

API.

Purpose:

Removes the current print job from the list.

Calling Context:

Call this function directly.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrintJobIterator::TPrintJobIterator

TPrintJobIterator ()

Interface Category:

API.

Purpose:

Default constructor.

Calling Context:

Called by the derived class default constructor.

Parameters:

Return Value:

None.

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.