XmDocument Class ReferenceInheritance diagram for XmDocument:
List of all members.
Detailed Description
Class is used as a document, when using the exom application/document model.
A document is the container of exactly one document base. The documents themselves are controlled by the superior XmApplication. The main features of a document are create, open, close and save the content of its document base. So the document base itself has no need to to this standard actions. There are two possibilities to contstruct an instance of a document:
- Create an instance of XmDocument directy and supply a document base.
- Derive from this class and implement DocBase() with your own document base.
More information in section Application / Document Model.
Constructor & Destructor Documentation
|
|
Construct a document without a document base.
DocBase() have to be implemented, in the derivation of XmDocument. |
|
|
Construct a document with a given document base.
Document will delete document base, when itself will be deleted. |
Member Function Documentation
| bool IsDocPathSet |
( |
|
) |
const [inline] |
|
|
|
Return true, if filepath of document is set.
Flag is true after loading or saving a document. It is false when creating a document with "New..." in user interface. |
| XMOBJ ObjectID |
( |
|
) |
const [inline, protected, virtual] |
|
|
|
Return the ID of an object.
The ID give the exom framework the possibility to identify a class derived from XmObject. So all classes derived from XmObject should have their own ID.
Implements XmObject. |
| void ObjSet |
( |
XmObjSetCx & |
os |
) |
const [inline, protected, virtual] |
|
|
|
Enable various exom features by setting the corresponding MAN_MODE bits.
By default XmObjSetCx::Enbl is set to MAN_ITEM, which enable all standard exom features, described in description of XmObject. For example, if an object should not support serialization, mask out the serialization bits MAN_SERIALIZE.
Reimplemented from XmObject. |
| void manage |
( |
XmMan & |
m |
) |
[protected, virtual] |
|
|
|
Provide the possibility to connect member data and sub objects.
Member data and sub objects can be connected, by calling the corresponding manXxx functions of XmMan.
Implements XmObject. |
| void manageFcn |
( |
XmManFcn & |
m |
) |
[protected, virtual] |
|
|
|
Defines the object functions usable in user interface.
All functions included manageFcn() are visible in user interface. The availibility is controlled by MemberState().
Reimplemented from XmObject. |
|
|
Is called, when processing user action.
OnAction give the application the possibility to handle user input via the user interface. For example: range checks or additional actions like closing a dialog. This function is called recursive in the member hierarchy.
Reimplemented from XmObject. |
|