AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIShapeDriverContext.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIShapeDriverContext_H_
4 #define _APIShapeDriverContext_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class PropertiesElement;
11  class ParameterValueSet;
12  class Element;
21  {
23  public:
28  ElementId GetElementId () const;
33  String GetDocumentId () const;
39  Element FindElement (const ElementId& id) const;
44  ParameterValueSet GetParameters () const;
45  };//ShapeDriverContext;
46 }}//API
47 
48 #endif //_APIShapeDriverContext_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
Group of ParameterValue with unique id.
Definition: APIParameterValueSet.h:20
The context to create shape.
Definition: APIShapeDriverContext.h:20
The id.
Definition: APIElementId.h:16
The base class for the data that need to be stored in document.
Definition: APIElement.h:22
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10