Class: TDecisionFnWrapper

Declaration: TestMultiplexer.h

Taxonomy Categories:

Member Functions:


Interface Category:

Developer Tool Programmer Interface.

Inherits From:

MCollectible

Inherited By:

None.

Purpose:

TDecisionFnWrapper is used by TTestMultiplexer to store decision functions. It is intended purely for internal use and should never be used by clients.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Do not derive TDecisionFnWrapper. This class is intended for use only by TTextMultiplexer and is used by that class directly.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TDecisionFnWrapper::TDecisionFnWrapper

  1. TDecisionFnWrapper (TTestDecisionFn v)
  2. TDecisionFnWrapper (const TDecisionFnWrapper & copy)

Interface Category:

Developer Tool Programmer Interface.

Purpose:

  1. Constructor taking a TTextDecisionFn.
  2. Copy constructor.

Calling Context:

  1. Called by TTestMultiplexer to store decision functions.
  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: TDecisionFnWrapper::operator=

TDecisionFnWrapper & operator =(const TDecisionFnWrapper & rhs)

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: TDecisionFnWrapper::GetDecisionFn

TTestDecisionFn GetDecisionFn ()

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Gets the stored decision function.

Calling Context:

Call this function directly.

Parameters:

Return Value:

The stored decision function.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TDecisionFnWrapper::SetDecisionFn

void SetDecisionFn (TTestDecisionFn v)

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Store a decision function.

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: TDecisionFnWrapper::Hash

virtual long Hash () const

Interface Category:

Developer Tool Programmer Interface.

Purpose:

Generates a hash value.

Calling Context:

Called to generate a has value.

Parameters:

Return Value:

The hash value.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TDecisionFnWrapper::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: TDecisionFnWrapper::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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.