Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TStreamer
Inherited By:
None.
Purpose:
Provides operators for the type-safe streaming of TKeyValuePair objects.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Do not derive any classes from TMonomorphicPairStreamer.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
None.
- TMonomorphicPairStreamer ()
- TMonomorphicPairStreamer (const TMonomorphicPairStreamer < AKey, AValue >&)
Interface Category:
API.
Purpose:
- Default constructor.
- Copy constructor.
Calling Context:
- Call this function directly anywhere the creation of a TMonomorphicPairStreamer is desired.
- Call this function directly to copy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ~ TMonomorphicPairStreamer ()
Interface Category:
API.
Purpose:
Destructor.
Calling Context:
Call this function directly to destroy an object.
Parameters:
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual TStream & StreamOut (TKeyValuePair < AKey, AValue >* obj, TStream & stream) const
Interface Category:
API.
Purpose:
Streams out a TKeyValuePair object.
Calling Context:
Call this function directly to stream out a TKeyValuePair object.
Parameters:
Return Value:
A reference to the stream to which the TKeyValuePair streams itself.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual TKeyValuePair < AKey , AValue >* StreamIn (TStream & stream) const
Interface Category:
API.
Purpose:
Streams in a TKeyValuePair object.
Calling Context:
Call this function directly to stream in a TKeyValuePair object.
Parameters:
Return Value:
A reference to the stream to which the TKeyValuePair streams itself.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual void * TypeSafeStreamIn (TStream & stream) const
Interface Category:
API.
Purpose:
Streams in a TKeyValuePair and casts it to a TPrimitiveHashAssoc.
Calling Context:
Call this function directly to stream in an object and cast it to a TPrimitiveHashAssoc.
Parameters:
- TStream & stream -The stream to which the object streams itself.
Return Value:
A reference to the object streamed in.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
const TMonomorphicPairStreamer < AKey , AValue >& operator =(const TMonomorphicPairStreamer < AKey, AValue >&)
Interface Category:
API.
Purpose:
Assignment operator.
Calling Context:
Call this function directly 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.