AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIScriptElement.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIScriptElement_H_
4 #define _APIScriptElement_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIElement.h"
9 
10 namespace AnyCAD{ namespace API
11 {
20  : public Element
21  {
23  public:
28  void SetLanguage(const String& _Language);
33  String GetLanguage() const;
34 
39  void SetContent(const String& _Content);
44  String GetContent() const;
45 
50  void SetEngineName(const String& _EngineName);
55  String GetEngineName() const;
56 
60  bool IsValidScript () const;
65  bool RunScript () ;
66  };//ScriptElement;
67 }}//API
68 
69 #endif //_APIScriptElement_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
The base class for the data that need to be stored in document.
Definition: APIElement.h:22
The script element.
Definition: APIScriptElement.h:19
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33