/* ------- code automatically created by ../scripts/adms_build_object.pl -------------- */ #ifndef objectadmstpathparser_h #define objectadmstpathparser_h #include #include typedef enum { adms_admstpathparser_enumeration_token_addm, adms_admstpathparser_enumeration_token_addp, adms_admstpathparser_enumeration_token_admst, adms_admstpathparser_enumeration_token_and, adms_admstpathparser_enumeration_token_closeCond, adms_admstpathparser_enumeration_token_closeE, adms_admstpathparser_enumeration_token_comma, adms_admstpathparser_enumeration_token_contains, adms_admstpathparser_enumeration_token_count, adms_admstpathparser_enumeration_token_dot, adms_admstpathparser_enumeration_token_dotdot, adms_admstpathparser_enumeration_token_eos, adms_admstpathparser_enumeration_token_equal, adms_admstpathparser_enumeration_token_exists, adms_admstpathparser_enumeration_token_false, adms_admstpathparser_enumeration_token_id, adms_admstpathparser_enumeration_token_ident, adms_admstpathparser_enumeration_token_index, adms_admstpathparser_enumeration_token_integer, adms_admstpathparser_enumeration_token_isdefault, adms_admstpathparser_enumeration_token_lower_mcase, adms_admstpathparser_enumeration_token_minus, adms_admstpathparser_enumeration_token_nilled, adms_admstpathparser_enumeration_token_not, adms_admstpathparser_enumeration_token_notequal, adms_admstpathparser_enumeration_token_number, adms_admstpathparser_enumeration_token_openCond, adms_admstpathparser_enumeration_token_openE, adms_admstpathparser_enumeration_token_or, adms_admstpathparser_enumeration_token_plus, adms_admstpathparser_enumeration_token_position, adms_admstpathparser_enumeration_token_quotedstring, adms_admstpathparser_enumeration_token_real, adms_admstpathparser_enumeration_token_returned, adms_admstpathparser_enumeration_token_reverse, adms_admstpathparser_enumeration_token_separator, adms_admstpathparser_enumeration_token_sort, adms_admstpathparser_enumeration_token_space, adms_admstpathparser_enumeration_token_star, adms_admstpathparser_enumeration_token_string, adms_admstpathparser_enumeration_token_true, adms_admstpathparser_enumeration_token_uid, adms_admstpathparser_enumeration_token_upper_mcase, adms_admstpathparser_enumeration_token_variable } e_admstpathparser_token; win32_interface char* adms_admstpathparser_tostring_token_impl (p_admsttransform myadmsttransform,e_admstpathparser_token e); win32_interface e_admstpathparser_token adms_admstpathparser_fromstring_token_impl (p_admsttransform myadmsttransform,char*token); struct s_admstpathparser { t_adms _adms; p_admsttransform _admsttransform; int _admsttransform_isdefault : 1; p_quark _admstpath; int _admstpath_isdefault : 1; const char* _stringposition; int _stringposition_isdefault : 1; const char* _tokenstrstart; int _tokenstrstart_isdefault : 1; int _tokenstrlen; int _tokenstrlen_isdefault : 1; e_admstpathparser_token _token; int _token_isdefault : 1; }; #include #include #undef win32_interface #if defined(WIN32) # if defined(_inside_admsObject) # define win32_interface __declspec(dllexport) # else # define win32_interface __declspec(dllimport) # endif #else # define win32_interface extern #endif win32_interface char*adms_admstpathparser_uid (p_admstpathparser myadmstpathparser); win32_interface int adms_admstpathparser_cmp (p_admstpathparser myadmstpathparser,p_admstpathparser refadmstpathparser); win32_interface p_admstpathparser adms_admstpathparser_new(p_admsttransform myadmsttransform,p_quark myadmstpath); win32_interface p_adms adms_admstpathparser_new_impl (p_adms arguments[]); #define adms_admstpathparser(member) ((p_admstpathparser) (member)) #define adms_admstpathparser_isdefault_admsttransform(admstpathparser) (adms_admstpathparser(admstpathparser)->_admsttransform_isdefault) #define adms_admstpathparser_valueof_admsttransform(admstpathparser) (adms_admstpathparser(admstpathparser)->_admsttransform) #define adms_admstpathparser_isdefault_admstpath(admstpathparser) (adms_admstpathparser(admstpathparser)->_admstpath_isdefault) #define adms_admstpathparser_valueof_admstpath(admstpathparser) (adms_admstpathparser(admstpathparser)->_admstpath) #define adms_admstpathparser_isdefault_stringposition(admstpathparser) (adms_admstpathparser(admstpathparser)->_stringposition_isdefault) #define adms_admstpathparser_valueof_stringposition(admstpathparser) (adms_admstpathparser(admstpathparser)->_stringposition) #define adms_admstpathparser_isdefault_tokenstrstart(admstpathparser) (adms_admstpathparser(admstpathparser)->_tokenstrstart_isdefault) #define adms_admstpathparser_valueof_tokenstrstart(admstpathparser) (adms_admstpathparser(admstpathparser)->_tokenstrstart) #define adms_admstpathparser_isdefault_tokenstrlen(admstpathparser) (adms_admstpathparser(admstpathparser)->_tokenstrlen_isdefault) #define adms_admstpathparser_valueof_tokenstrlen(admstpathparser) (adms_admstpathparser(admstpathparser)->_tokenstrlen) #define adms_admstpathparser_isdefault_token(admstpathparser) (adms_admstpathparser(admstpathparser)->_token_isdefault) #define adms_admstpathparser_valueof_token(admstpathparser) (adms_admstpathparser(admstpathparser)->_token) #define adms_admstpathparser_valueof_adms(admstpathparser) ((p_adms)admstpathparser) win32_interface inline void adms_admstpathparser_valueto_admsttransform (p_admstpathparser myadmstpathparser,p_admsttransform _admsttransform); win32_interface inline void adms_admstpathparser_valueto_admstpath (p_admstpathparser myadmstpathparser,p_quark _admstpath); win32_interface inline void adms_admstpathparser_valueto_stringposition (p_admstpathparser myadmstpathparser,const char* _stringposition); win32_interface inline void adms_admstpathparser_valueto_tokenstrstart (p_admstpathparser myadmstpathparser,const char* _tokenstrstart); win32_interface inline void adms_admstpathparser_valueto_tokenstrlen (p_admstpathparser myadmstpathparser,int _tokenstrlen); win32_interface inline void adms_admstpathparser_valueto_token (p_admstpathparser myadmstpathparser,e_admstpathparser_token _token); win32_interface inline void adms_admstpathparser_free(p_admstpathparser myadmstpathparser); #endif /* objectadmstpathparser_h */