Class: TqprintfReceiver

Declaration: TieredTextBuffer.h

Taxonomy Categories:

Member Functions:


Interface Category:

Developer Tool Programmer Interface.

Inherits From:

TTieredTextReceiver

Inherited By:

None.

Purpose:

A derived class of TTieredTextReceiver. TqprintfReceiver receives text output by the operator<< member functions of the TTieredTextBuffer class.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive TqprintfReceiver. Use this class directly.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TqprintfReceiver::TqprintfReceiver

  1. TqprintfReceiver ()
  2. TqprintfReceiver (const TqprintfReceiver &)

Interface Category:

Developer Tool Programmer Interface.

Purpose:

  1. Default constructor.
  2. Copy constructor.

Calling Context:

  1. Called by the stream-in operators and TTieredTextBuffer.
  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: TqprintfReceiver::operator=

TqprintfReceiver & operator =(const TqprintfReceiver &)

Interface Category:

Developer Tool Programmer Interface.

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.

Member Function: TqprintfReceiver::~TqprintfReceiver

virtual ~ TqprintfReceiver ()

Interface Category:

Developer Tool Programmer Interface.

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

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

Interface Category:

Developer Tool Programmer Interface.

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

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

Interface Category:

Developer Tool Programmer Interface.

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: TqprintfReceiver::ReceiveText

virtual void ReceiveText (const TTieredText & text)

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Echoes the given text to the console, wrapping lines longer than 80 characters, maintaining indentation.

Calling Context:

Call this function directly to output text.

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.