Class: TGUIModelViewDocumentComponentFor

Declaration: GUICompoundDocument.h

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) AView, which is the kind of view 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<TGUIPresenterFor<AView>> as part of its implementation.

Member Function: TGUIModelViewDocumentComponentFor::TGUIModelViewDocumentComponentFor

TGUIModelViewDocumentComponentFor (AModel *)

Interface Category:

API.

Purpose:

Constructor.

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: TGUIModelViewDocumentComponentFor::~TGUIModelViewDocumentComponentFor

virtual ~ TGUIModelViewDocumentComponentFor ()

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

virtual TStream & operator <<= (TStream &)

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 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.

Member Function: TGUIModelViewDocumentComponentFor::operator>>=

virtual TStream & operator >>=(TStream &) 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.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.