AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIElement_H_
4 #define _APIElement_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIObject.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class Document;
13  class ParameterValue;
14  class ParameterUISet;
23  : public Object
24  {
26  public:
31  ElementId GetId () const;
36  String GetName () const;
41  void SetName (const String& strName) ;
46  String GetCategory () const;
51  void SetCategory (const String& category) ;
58  virtual bool SetParameterValue (ParameterId paramId, const ParameterValue& pValue) ;
64  virtual ParameterValue GetParameterValue (ParameterId paramId) const;
69  ParameterUISet GetSystemParameterUISet () const;
74  Document GetOwnerDocument () const;
75  };//Element;
76 }}//API
77 
78 #endif //_APIElement_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
String ParameterId
Definition: APIString.h:11
The base class for parameter values.
Definition: APIParameterValue.h:19
The id.
Definition: APIElementId.h:16
A group of parameter UIs.
Definition: APIParameterUISet.h:20
平台基类
Definition: APIObject.h:17
文档类。
Definition: APIDocument.h:25
The base class for the data that need to be stored in document.
Definition: APIElement.h:22
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33