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
00035 #ifndef TYPEENUMS_H
00036 #define TYPEENUMS_H
00037
00043 typedef enum { rt_root, rt_variable, rt_condition, rt_output } ROLE_TYPE;
00044
00050 typedef enum { at_child, at_descendant, at_dos } AXIS_TYPE;
00051
00057 typedef enum { ntt_tag, ntt_star, ntt_node, ntt_text } NODETEST_TYPE;
00058
00063 typedef enum { at_position } ATTRIBUTE_TYPE;
00064
00070 typedef enum { ct_lt, ct_leq, ct_eq, ct_gt, ct_geq, ct_neq } COMP_TYPE;
00071
00076 typedef enum { ect_and, ect_or, ect_not, ect_exists, ect_empty,
00077 ect_varstep, ect_operand, ect_true, ect_false,
00078 et_empty, et_stringconst, et_numericconst, et_for,
00079 et_where, et_if, et_doc, et_comment, et_nodeconstr,
00080 et_path, et_pathsteptag, et_pathstepstar, et_pathstepnode,
00081 et_pathsteptext, et_sequence, et_var, et_varstep, et_signoff,
00082 et_operandvar, et_operandvarstep, et_operandaggregatefunct,
00083 et_operandrounding, et_operandconst, et_aggregatefunctsum,
00084 et_aggregatefunctavg, et_aggregatefunctmin, et_aggregatefunctmax,
00085 et_aggregatefunctcount, et_aggregatefunctstddevsamp,
00086 et_aggregatefunctstddevpop, et_aggregatefunctvarsamp,
00087 et_aggregatefunctvarpop, et_aggregatefunctmedian, et_abs,
00088 et_ceiling, et_cover, et_floor, et_round, et_roundhalftoeven,
00089 et_truncate
00090 } EXP_TYPE;
00091
00097 typedef enum { it_file, it_null, it_socket, it_stdin } ISTREAM_TYPE;
00098
00104 typedef enum { ot_file, ot_null, ot_socket, ot_stdout } OSTREAM_TYPE;
00105
00111 typedef enum { exct_argument, exct_iostream, exct_parse, exct_runtime,
00112 exct_cast, exct_impl
00113 } EXCEPTION_TYPE;
00114
00119 typedef enum { excl_warning, excl_error, excl_fatal } EXCEPTION_LEVEL;
00120
00125 typedef enum { eid_notset = 0,
00126 eid_argument = 100,
00127 eid_stream = 200,
00128 eid_stream_input = 201,
00129 eid_stream_output = 202,
00130 eid_parse = 300,
00131 eid_parse_query = 301,
00132 eid_parse_xml = 302,
00133 eid_runtime = 400,
00134 eid_runtime_illegalmode = 401,
00135 eid_runtime_bit = 402,
00136 eid_runtime_tokenconfig = 403,
00137 eid_runtime_ptlabel = 404,
00138 eid_cast = 500,
00139 eid_cast_stringnumeric = 501,
00140 eid_cast_numericstring = 502,
00141 eid_cast_summation = 503,
00142 eid_cast_power = 504,
00143 eid_cast_radical = 505,
00144 eid_cast_division = 506,
00145 eid_impl = 600
00146 } ERROR_ID;
00147
00152 typedef enum { xsd_numeric, xsd_string, xsd_unknown } VALUE_TYPE;
00153
00159 #define ROOTVAR ".root"
00160
00169 #define TAGID_ROOT 0
00170
00171 #endif // TYPEENUMS_H