AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIDocViewManager.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIDocViewManager_H_
4 #define _APIDocViewManager_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class View3d;
11  class Document;
20  {
22  public:
29  View3d CreateView (long hWnd, const Document& document) ;
34  StringList ListAllCommands () ;
40  Document CreateDocument (const String& docType) ;
46  Document OpenDocument (const Path& fileName) ;
53  bool SaveDocument (const Document& doc, const Path& fileName) ;
58  void SetCurrentDocumentType (const String& docType) ;
63  String GetCurrentDocumentType () const;
69  ElementIdSet CollectUnusedTypeIds (const Document& doc) ;
75  void SelectElements (const Document& doc, const ElementIdSet& ids) ;
76  };//DocViewManager;
77 }}//API
78 
79 #endif //_APIDocViewManager_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
std::vector< String > StringList
Definition: APIString.h:12
文档类。
Definition: APIDocument.h:25
TODO:
Definition: APIPath.h:16
三维视图
Definition: APIView3d.h:24
std::set< ElementId > ElementIdSet
Definition: APIElementId.h:53
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
文档视图管理器
Definition: APIDocViewManager.h:19