00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef INC_SML_STYPE_H
00028 #define INC_SML_STYPE_H
00029
00030
00031
00032
00033
00034
00037 enum SMLSTYPE {
00038 STYPE_Constant = 0,
00039 STYPE_NumVar,
00040 STYPE_StringVar,
00041 STYPE_Array,
00042 STYPE_Raster,
00043 STYPE_Vector,
00044 STYPE_CAD,
00045 STYPE_Region,
00046 STYPE_TIN,
00047 STYPE_RESERVERD,
00048 STYPE_Keyword,
00049 STYPE_Intrinsic,
00050 STYPE_UFunction,
00051 STYPE_UProcedure,
00052 STYPE_BFunction,
00053 STYPE_BSFunction,
00054 STYPE_BProcedure,
00055 STYPE_Table,
00056 STYPE_TableVar,
00057 STYPE_AnyVal,
00058 STYPE_String,
00059 STYPE_AnyObject,
00060 STYPE_NumList,
00061 STYPE_StrList,
00062 STYPE_List,
00063 STYPE_RecList,
00064 STYPE_VectFunc,
00065 STYPE_RESERVED27,
00066 STYPE_CADFunc,
00067 STYPE_TINFunc,
00068 STYPE_ClassRefFunc,
00069 STYPE_ClassVar,
00070 STYPE_ClassRef,
00071 STYPE_RastListVar,
00072 STYPE_VectListVar,
00073 STYPE_CADListVar,
00074 STYPE_TINListVar,
00075 STYPE_RegListVar,
00076 STYPE_Enum,
00077 STYPE_StrField,
00078 STYPE_NumField,
00079 STYPE_ClassHashFunc,
00080 STYPE_NumHashFunc,
00081 STYPE_FuncProto,
00082 STYPE_StrFuncProto,
00083 STYPE_ClassFuncProto,
00084 STYPE_ProcProto,
00085 STYPE_ClassCopy,
00086 STYPE_ClassCopyFunc,
00087 STYPE_ClassHashVar,
00088 STYPE_NumHashVar,
00089 STYPE_Shape,
00090 STYPE_Style,
00091 STYPE_ClassConstRef,
00092 STYPE_ClassArray,
00093 STYPE_ClassArrayVar,
00094 STYPE_ClassArrayFunc,
00095 STYPE_MAXTYPE
00096 };
00097
00098 namespace SML {
00099 typedef enum ::SMLSTYPE STYPE;
00100 }
00101
00102 #ifdef WIN32
00103 #pragma deprecated(STYPE_Class) // Use STYPE_ClassRef or STYPE_ClassCopy
00104 #pragma deprecated(STYPE_ClassFunc) // Use STYPE_ClassRefFunc or STYPE_ClassCopyFunc
00105 #endif
00106 #define STYPE_Class STYPE_ClassRef
00107 #define STYPE_ClassFunc STYPE_ClassRefFunc
00108 #define STYPE_StrVar STYPE_StringVar
00109 #define STYPE_Num STYPE_Constant
00110
00111
00112
00113
00114
00115
00116
00117 #define STYPEFLAG_Val 0x0001
00118 #define STYPEFLAG_Sym 0x0002
00119 #define STYPEFLAG_Str 0x0004
00120 #define STYPEFLAG_List 0x0008
00121 #define STYPEFLAG_ValSym 0x0010
00122 #define STYPEFLAG_StrSym 0x0020
00123 #define STYPEFLAG_ObjSym 0x0040
00124 #define STYPEFLAG_ListSym 0x0080
00125 #define STYPEFLAG_FuncSym 0x0100
00126 #define STYPEFLAG_ArraySym 0x0200
00127 #define STYPEFLAG_ClassSym 0x0400
00128 #define STYPEFLAG_Prototype 0x0800
00129 #define STYPEFLAG_ClassPtr 0x1000
00130
00131 #endif // INC_SML_STYPE_H
00132