1 /*********************************************************************** 2 * 3 ** 4 * Automatic header module from ASNTOOL 5 * 6 ************************************************************************/ 7 8 #ifndef _ASNTOOL_ 9 #include <asn.h> 10 #endif 11 12 static char * asnfilename = "asnvalid.h15"; 13 static AsnValxNode avnx[12] = { 14 {20,"none" ,0,0.0,&avnx[1] } , 15 {20,"info" ,1,0.0,&avnx[2] } , 16 {20,"warning" ,2,0.0,&avnx[3] } , 17 {20,"error" ,3,0.0,&avnx[4] } , 18 {20,"reject" ,4,0.0,&avnx[5] } , 19 {20,"fatal" ,5,0.0,NULL } , 20 {2,NULL,0,0.0,NULL } , 21 {3,NULL,2,0.0,NULL } , 22 {2,NULL,0,0.0,NULL } , 23 {2,NULL,0,0.0,NULL } , 24 {2,NULL,1,0.0,NULL } , 25 {2,NULL,0,0.0,NULL } }; 26 27 static AsnType atx[33] = { 28 {401, "Severity-level" ,1,0,0,0,0,1,0,0,NULL,&atx[1],&avnx[0],0,&atx[2]} , 29 {310, "ENUMERATED" ,0,10,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 30 {402, "Field-rule" ,1,0,0,0,0,1,0,0,NULL,&atx[9],&atx[3],0,&atx[10]} , 31 {0, "field-name" ,128,0,0,0,0,0,0,0,NULL,&atx[4],NULL,0,&atx[5]} , 32 {323, "VisibleString" ,0,26,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 33 {0, "match-expression" ,128,1,0,1,0,0,0,0,NULL,&atx[4],NULL,0,&atx[6]} , 34 {0, "required" ,128,2,0,0,1,0,0,0,&avnx[6],&atx[7],NULL,0,&atx[8]} , 35 {301, "BOOLEAN" ,0,1,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 36 {0, "severity" ,128,3,0,0,1,0,0,0,&avnx[7],&atx[0],NULL,0,NULL} , 37 {311, "SEQUENCE" ,0,16,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 38 {403, "Field-set" ,1,0,0,0,0,1,0,0,NULL,&atx[12],&atx[11],0,&atx[13]} , 39 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[2],NULL,0,NULL} , 40 {314, "SET OF" ,0,17,0,0,0,0,0,0,NULL,NULL,NULL,0,NULL} , 41 {404, "Dependent-field-rule" ,1,0,0,0,0,1,0,0,NULL,&atx[9],&atx[14],0,&atx[19]} , 42 {0, "match-name" ,128,0,0,0,0,0,0,0,NULL,&atx[4],NULL,0,&atx[15]} , 43 {0, "value-constraint" ,128,1,0,1,0,0,0,0,NULL,&atx[4],NULL,0,&atx[16]} , 44 {0, "invert-match" ,128,2,0,0,1,0,0,0,&avnx[8],&atx[7],NULL,0,&atx[17]} , 45 {0, "other-fields" ,128,3,0,1,0,0,0,0,NULL,&atx[10],NULL,0,&atx[18]} , 46 {0, "disallowed-fields" ,128,4,0,1,0,0,0,0,NULL,&atx[10],NULL,0,NULL} , 47 {405, "Dependent-field-set" ,1,0,0,0,0,1,0,0,NULL,&atx[12],&atx[20],0,&atx[21]} , 48 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[13],NULL,0,NULL} , 49 {406, "Comment-rule" ,1,0,0,0,0,1,0,0,NULL,&atx[9],&atx[22],0,&atx[31]} , 50 {0, "prefix" ,128,0,0,0,0,0,0,0,NULL,&atx[4],NULL,0,&atx[23]} , 51 {0, "updated" ,128,1,0,0,1,0,0,0,&avnx[9],&atx[7],NULL,0,&atx[24]} , 52 {0, "fields" ,128,2,0,0,0,0,0,0,NULL,&atx[10],NULL,0,&atx[25]} , 53 {0, "require-order" ,128,3,0,0,1,0,0,0,&avnx[10],&atx[7],NULL,0,&atx[26]} , 54 {0, "allow-unlisted" ,128,4,0,0,1,0,0,0,&avnx[11],&atx[7],NULL,0,&atx[27]} , 55 {0, "dependent-rules" ,128,5,0,1,0,0,0,0,NULL,&atx[19],NULL,0,&atx[28]} , 56 {0, "forbidden-phrases" ,128,6,0,1,0,0,0,0,NULL,&atx[29],NULL,0,NULL} , 57 {408, "Phrase-list" ,1,0,0,0,0,0,0,0,NULL,&atx[12],&atx[30],0,NULL} , 58 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[4],NULL,0,NULL} , 59 {407, "Comment-set" ,1,0,0,0,0,1,0,0,NULL,&atx[12],&atx[32],0,&atx[29]} , 60 {0, NULL,1,-1,0,0,0,0,0,0,NULL,&atx[21],NULL,0,NULL} }; 61 62 static AsnModule ampx[1] = { 63 { "NCBI-Structured-comment-validation" , "asnvalid.h15",&atx[0],NULL,NULL,0,0} }; 64 65 static AsnValxNodePtr avn = avnx; 66 static AsnTypePtr at = atx; 67 static AsnModulePtr amp = ampx; 68 69 70 71 /************************************************** 72 * 73 * Defines for Module NCBI-Structured-comment-validation 74 * 75 **************************************************/ 76 77 #define SEVERITY_LEVEL &at[0] 78 79 #define FIELD_RULE &at[2] 80 #define FIELD_RULE_field_name &at[3] 81 #define FIELD_RULE_match_expression &at[5] 82 #define FIELD_RULE_required &at[6] 83 #define FIELD_RULE_severity &at[8] 84 85 #define FIELD_SET &at[10] 86 #define FIELD_SET_E &at[11] 87 88 #define DEPENDENT_FIELD_RULE &at[13] 89 #define DEPENDENT_FIELD_RULE_match_name &at[14] 90 #define FIELD_RULE_value_constraint &at[15] 91 #define FIELD_RULE_invert_match &at[16] 92 #define FIELD_RULE_other_fields &at[17] 93 #define FIELD_RULE_disallowed_fields &at[18] 94 95 #define DEPENDENT_FIELD_SET &at[19] 96 #define DEPENDENT_FIELD_SET_E &at[20] 97 98 #define COMMENT_RULE &at[21] 99 #define COMMENT_RULE_prefix &at[22] 100 #define COMMENT_RULE_updated &at[23] 101 #define COMMENT_RULE_fields &at[24] 102 #define COMMENT_RULE_require_order &at[25] 103 #define COMMENT_RULE_allow_unlisted &at[26] 104 #define COMMENT_RULE_dependent_rules &at[27] 105 #define COMMENT_RULE_forbidden_phrases &at[28] 106 107 #define COMMENT_SET &at[31] 108 #define COMMENT_SET_E &at[32] 109 110 #define PHRASE_LIST &at[29] 111 #define PHRASE_LIST_E &at[30] 112