AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIComponentManager.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIComponentManager_H_
4 #define _APIComponentManager_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class Document;
11  class Element;
12  class RenderableType;
21  {
23  public:
28  void SetDocument (const Document& document) ;
34  ElementId LoadComponent (const Path& fileName) ;
39  String GetPlaceMethod () const;
46  ElementIdSet FindComponentType (const String& typeUUID, const String& typeTableName) const;
47  };//ComponentManager;
48 }}//API
49 
50 #endif //_APIComponentManager_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
The id.
Definition: APIElementId.h:16
文档类。
Definition: APIDocument.h:25
TODO:
Definition: APIPath.h:16
std::set< ElementId > ElementIdSet
Definition: APIElementId.h:53
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
The helper class to load component.
Definition: APIComponentManager.h:20