AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIShapeDriver.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIShapeDriver_H_
4 #define _APIShapeDriver_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class TopoShape;
11  class ShapeDriverContext;
20  {
22  public:
27  String GetName () const;
32  void SetName (const String& val) ;
38  virtual TopoShape CreateShape (const ShapeDriverContext& context) ;
39  };//ShapeDriver;
40 }}//API
41 
42 #endif //_APIShapeDriver_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
The context to create shape.
Definition: APIShapeDriverContext.h:20
The driver to create shape.
Definition: APIShapeDriver.h:19
拓扑对象
Definition: APITopoShape.h:18
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10