Class: TPrintingGrafAttribute

Declaration: PrintingGrafAttribute.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TGrafAttribute

Inherited By:

None.

Purpose:

Describes a graf attribute, which is a graf port characteristic, that indicates the graf port is associated with printing. If this attribute is found in a port, it can be concluded that the port originated as a port for printing.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None. Do not derive from this class.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TPrintingGrafAttribute::TPrintingGrafAttribute

  1. TPrintingGrafAttribute ()
  2. TPrintingGrafAttribute (const TPrintingGrafAttribute &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. Called 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: TPrintingGrafAttribute::~TPrintingGrafAttribute

virtual ~ TPrintingGrafAttribute ()

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: TPrintingGrafAttribute::GetName

virtual TToken GetName () const

Interface Category:

API.

Purpose:

Returns the name of this attribute.

Calling Context:

Called to acquire the name of this attribute.

Parameters:

Return Value:

Returns a token specifying the name of this attribute.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrintingGrafAttribute::CanAdjustBounds

virtual bool CanAdjustBounds () const

Interface Category:

API.

Purpose:

Determine if the attribute can affect the bounds of operations within the port. This function always returns false because it never affects any other characteristics of the port.

Calling Context:

Called to determine if this attribute can adjust the bounds.

Parameters:

Return Value:

Returns false always.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrintingGrafAttribute::operator>>=

virtual TStream & operator >>=(TStream & toWhere) const

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Called to stream out data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself out to.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrintingGrafAttribute::operator<<=

virtual TStream & operator <<= (TStream & fromWhere)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Called to stream in data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself in from.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TPrintingGrafAttribute::operator=

TPrintingGrafAttribute & operator =(const TPrintingGrafAttribute & source)

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.