AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIParameterValueCast.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIParameterValueCast_H_
4 #define _APIParameterValueCast_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class ParameterString;
11  class ParameterBoolean;
12  class ParameterValue;
13  class ParameterVector3;
14  class ParameterDouble;
15  class ParameterInteger;
24  {
26  public:
32  ParameterInteger ToParameterInteger (const ParameterValue& pValue) ;
38  ParameterString ToParameterString (const ParameterValue& pValue) ;
44  ParameterBoolean ToParameterBoolean (const ParameterValue& pValue) ;
50  ParameterDouble ToParameterDouble (const ParameterValue& pValue) ;
56  ParameterVector3 ToParameterVector3 (const ParameterValue& pValue) ;
57  };//ParameterValueCast;
58 }}//API
59 
60 #endif //_APIParameterValueCast_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
Dynamic cast object for ParameterValue.
Definition: APIParameterValueCast.h:23
The base class for parameter values.
Definition: APIParameterValue.h:19
bool value
Definition: APIParameterBoolean.h:19
double value
Definition: APIParameterDouble.h:19
String value.
Definition: APIParameterString.h:19
int value
Definition: APIParameterInteger.h:19
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
Vector3 Parameter Value.
Definition: APIParameterVector3.h:19