联系我:[email protected]
OCAF Architecture Overview
OCAF provides you with an object-oriented Application-Document-Attribute model consisting of C++ class libraries.
这里涉及重要的4个概念:Application、Document、Attribute和Reference-key model
本文将重点描述Reference-key model机制:
-
Application
-
Application是一个抽象类,负责在工作期间处理documents
-
创建新的documents
-
存储documents
-
打开documents
-
初始化document的views
-
-
Document
-
"Application data"的容器
-
The document is the container for the application data.
-
The document is implemented by the concreate class : Document.
<
-