Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TDocumentComponent
Inherited By:
None.
Purpose:
This is a class template parameterized by two classes: (1) AModel, which is the model contained in the document component, and (2) APresenter, which is the kind of presenter that will be created when the document component's presenter state is opened.
Instantiation:
Allocate on the heap.
Deriving Classes:
Not usually derived from, but no special rules.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
Other Considerations:
This template uses a TGUIPresenterStateFor<APresenter > as part of its implementation.
TGUIModelPresenterDocumentComponentFor (AModel *)
Interface Category:
API.
Purpose:
Creates a TGUIModelPresenterDocumentComponentFor.
Calling Context:
Call this function directly.
Parameters:
- AModel * -The model is adopted into the document component.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ~ TGUIModelPresenterDocumentComponentFor ()
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.
virtual TStream & operator <<= (TStream &)
Interface Category:
API.
Purpose:
Stream-in operator.
Calling Context:
Called to stream in data.
Parameters:
- TStream & -The stream from which the object streams itself in.
Return Value:
Returns a reference to the stream the object streams itself in from.
Exceptions:
Throws a TInvalidVersionError if the version of the object on the stream is unknown to the version of the shared library installed.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual TStream & operator >>=(TStream &) const
Interface Category:
API.
Purpose:
Stream-out operator.
Calling Context:
Called to stream out data.
Parameters:
- TStream & -The stream to which the object streams itself out.
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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.