Class: TCanvasGraphicID

Declaration: GrafEdit.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TCollectibleGlobalID

Inherited By:

None.

Purpose:

Uniquely identifies a canvas graphic.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Derive to introduce extended identification schemes.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TCanvasGraphicID::TCanvasGraphicID

  1. TCanvasGraphicID ()
  2. TCanvasGraphicID (unsigned char)
  3. TCanvasGraphicID (const TCanvasGraphicID &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructs special IDs.
  3. Copy constructor.

Calling Context:

  1. Called to create new IDs and by the stream-in operators and constructors of derived classes.
  2. Called to create new special IDs.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

Special IDs are used to denote special circumstances such as invalid or not found. Clients can define up to 256 such values. For example, TCanvasGraphicID::kInvalidID is defined as TCanvasGraphicID (0).

Member Function: TCanvasGraphicID::~TCanvasGraphicID

virtual ~ TCanvasGraphicID ()

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: TCanvasGraphicID::operator=

TCanvasGraphicID & operator =(const TCanvasGraphicID &)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Called when an object is assigned to another compatible object.

Parameters:

Return Value:

A non-const reference to the left-hand side 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.