00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_POF_CONSTANTS_HPP
00017 #define COH_POF_CONSTANTS_HPP
00018
00019 #include "coherence/lang.ns"
00020
00021 COH_OPEN_NAMESPACE3(coherence,io,pof)
00022
00023
00024
00025
00026
00027
00028
00029 class COH_EXPORT PofConstants
00030 : public abstract_spec<PofConstants>
00031 {
00032
00033
00034 public:
00035
00036
00037 typedef enum
00038 {
00039 t_int16 = -1,
00040 t_int32 = -2,
00041 t_int64 = -3,
00042 t_int128 = -4,
00043 t_float32 = -5,
00044 t_float64 = -6,
00045 t_float128 = -7,
00046 t_decimal32 = -8,
00047 t_decimal64 = -9,
00048 t_decimal128 = -10,
00049 t_boolean = -11,
00050 t_octet = -12,
00051 t_octet_string = -13,
00052 t_char = -14,
00053 t_char_string = -15,
00054 t_date = -16,
00055 t_year_month_interval = -17,
00056 t_time = -18,
00057 t_time_interval = -19,
00058 t_datetime = -20,
00059 t_day_time_interval = -21,
00060 t_collection = -22,
00061 t_uniform_collection = -23,
00062 t_array = -24,
00063 t_uniform_array = -25,
00064 t_sparse_array = -26,
00065 t_uniform_sparse_array = -27,
00066 t_map = -28,
00067 t_uniform_keys_map = -29,
00068 t_uniform_map = -30,
00069 t_identity = -31,
00070 t_reference = -32
00071 } PofType;
00072
00073
00074
00075
00076 public:
00077
00078
00079 typedef enum
00080 {
00081 v_boolean_false = -33,
00082 v_boolean_true = -34,
00083 v_string_zero_length = -35,
00084 v_collection_empty = -36,
00085 v_reference_null = -37,
00086 v_fp_pos_infinity = -38,
00087 v_fp_neg_infinity = -39,
00088 v_fp_nan = -40,
00089 v_int_neg_1 = -41,
00090 v_int_0 = -42,
00091 v_int_1 = -43,
00092 v_int_2 = -44,
00093 v_int_3 = -45,
00094 v_int_4 = -46,
00095 v_int_5 = -47,
00096 v_int_6 = -48,
00097 v_int_7 = -49,
00098 v_int_8 = -50,
00099 v_int_9 = -51,
00100 v_int_10 = -52,
00101 v_int_11 = -53,
00102 v_int_12 = -54,
00103 v_int_13 = -55,
00104 v_int_14 = -56,
00105 v_int_15 = -57,
00106 v_int_16 = -58,
00107 v_int_17 = -59,
00108 v_int_18 = -60,
00109 v_int_19 = -61,
00110 v_int_20 = -62,
00111 v_int_21 = -63,
00112 v_int_22 = -64,
00113
00114 t_unknown = -65
00115 } PofValue;
00116
00117
00118
00119
00120 public:
00121 typedef enum
00122 {
00123 c_null = 0,
00124 c_boolean = 1,
00125 c_octet = 2,
00126 c_char16 = 3,
00127 c_int16 = 4,
00128 c_int32 = 5,
00129 c_int64 = 6,
00130 c_float32 = 7,
00131 c_float64 = 8,
00132 c_binary = 9,
00133 c_string = 10,
00134 c_raw_date = 11,
00135 c_raw_date_time = 12,
00136 c_raw_day_time_interval = 13,
00137 c_raw_time = 14,
00138 c_raw_time_interval = 15,
00139 c_raw_year_month_interval = 16,
00140 c_boolean_array = 17,
00141 c_octet_array = 18,
00142 c_char16_array = 19,
00143 c_int16_array = 20,
00144 c_int32_array = 21,
00145 c_int64_array = 22,
00146 c_float32_array = 23,
00147 c_float64_array = 24,
00148 c_object_array = 25,
00149 c_sparse_array = 26,
00150 c_collection = 27,
00151 c_map = 28,
00152 c_user_type = 29
00153 } CppType;
00154 };
00155
00156 COH_CLOSE_NAMESPACE3
00157
00158 #endif // COH_POF_CONSTANTS_HPP