Class: TCanvasSelectionIterator

Declaration: GrafEdit.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

None.

Inherited By:

None.

Purpose:

An iterator for iterating over selected graphics.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Abstract base class; must be derived.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TCanvasSelectionIterator::TCanvasSelectionIterator

TCanvasSelectionIterator (MCanvasSelection &)

Interface Category:

API.

Purpose:

Constructor.

Calling Context:

Called to create a new object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TCanvasSelectionIterator::~TCanvasSelectionIterator

virtual ~ TCanvasSelectionIterator ()

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: TCanvasSelectionIterator::First

virtual MCanvasGraphic * First ()

Interface Category:

API.

Purpose:

Returns the first graphic in the underlying selected representation.

Calling Context:

Called to iterate over graphics in a canvas representation.

Parameters:

Return Value:

MCanvasGraphic * -The first graphic.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TCanvasSelectionIterator::Next

virtual MCanvasGraphic * Next ()

Interface Category:

API.

Purpose:

Returns the next graphic in the underlying selected representation.

Calling Context:

Called to iterate over graphics in a canvas representation.

Parameters:

Return Value:

MCanvasGraphic * -The next graphic.

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.