1 #ifndef _objentgene_ 2 #define _objentgene_ 3 4 #undef NLM_EXTERN 5 #ifdef NLM_IMPORT 6 #define NLM_EXTERN NLM_IMPORT 7 #else 8 #define NLM_EXTERN extern 9 #endif 10 11 12 #ifdef __cplusplus 13 extern "C" { /* } */ 14 #endif 15 16 17 /************************************************** 18 * 19 * Generated objects for Module NCBI-Entrezgene 20 * Generated using ASNCODE Revision: 6.19 at Mar 23, 2015 6:20 PM 21 * 22 **************************************************/ 23 24 NLM_EXTERN Boolean LIBCALL 25 objentgeneAsnLoad PROTO((void)); 26 27 28 /************************************************** 29 * 30 * Entrezgene 31 * 32 **************************************************/ 33 typedef struct struct_Entrezgene { 34 struct struct_Entrezgene PNTR next; 35 struct struct_Gene_track PNTR track_info; 36 Int4 type; 37 struct struct_BioSource PNTR source; 38 struct struct_Gene_ref PNTR gene; 39 struct struct_Prot_ref PNTR prot; 40 struct struct_RNA_ref PNTR rna; 41 CharPtr summary; 42 struct struct_Maps PNTR location; 43 struct struct_Gene_source PNTR gene_source; 44 struct struct_Gene_commentary PNTR locus; 45 struct struct_Gene_commentary PNTR properties; 46 struct struct_Gene_commentary PNTR refgene; 47 struct struct_Gene_commentary PNTR homology; 48 struct struct_Gene_commentary PNTR comments; 49 struct struct_Dbtag PNTR unique_keys; 50 ValNodePtr xtra_index_terms; 51 struct struct_Xtra_Terms PNTR xtra_properties; 52 struct struct_Xtra_Terms PNTR xtra_iq; 53 struct struct_Dbtag PNTR non_unique_keys; 54 } Entrezgene, PNTR EntrezgenePtr; 55 56 57 NLM_EXTERN EntrezgenePtr LIBCALL EntrezgeneFree PROTO ((EntrezgenePtr )); 58 NLM_EXTERN EntrezgenePtr LIBCALL EntrezgeneNew PROTO (( void )); 59 NLM_EXTERN EntrezgenePtr LIBCALL EntrezgeneAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 60 NLM_EXTERN Boolean LIBCALL EntrezgeneAsnWrite PROTO (( EntrezgenePtr , AsnIoPtr, AsnTypePtr)); 61 62 63 64 /************************************************** 65 * 66 * EntrezgeneSet 67 * 68 **************************************************/ 69 typedef struct struct_Entrezgene EntrezgeneSet; 70 typedef struct struct_Entrezgene PNTR EntrezgeneSetPtr; 71 #define EntrezgeneSetNew() EntrezgeneNew() 72 73 #ifdef NLM_GENERATED_CODE_PROTO 74 75 NLM_EXTERN EntrezgeneSetPtr LIBCALL EntrezgeneSetFree PROTO ((EntrezgeneSetPtr )); 76 NLM_EXTERN EntrezgeneSetPtr LIBCALL EntrezgeneSetNew PROTO (( void )); 77 NLM_EXTERN EntrezgeneSetPtr LIBCALL EntrezgeneSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 78 NLM_EXTERN Boolean LIBCALL EntrezgeneSetAsnWrite PROTO (( EntrezgeneSetPtr , AsnIoPtr, AsnTypePtr)); 79 80 #endif /* NLM_GENERATED_CODE_PROTO */ 81 82 83 84 /************************************************** 85 * 86 * GeneTrack 87 * 88 **************************************************/ 89 typedef struct struct_Gene_track { 90 Int4 geneid; 91 Int4 status; 92 struct struct_Dbtag PNTR current_id; 93 struct struct_Date PNTR create_date; 94 struct struct_Date PNTR update_date; 95 struct struct_Date PNTR discontinue_date; 96 } GeneTrack, PNTR GeneTrackPtr; 97 98 99 NLM_EXTERN GeneTrackPtr LIBCALL GeneTrackFree PROTO ((GeneTrackPtr )); 100 NLM_EXTERN GeneTrackPtr LIBCALL GeneTrackNew PROTO (( void )); 101 NLM_EXTERN GeneTrackPtr LIBCALL GeneTrackAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 102 NLM_EXTERN Boolean LIBCALL GeneTrackAsnWrite PROTO (( GeneTrackPtr , AsnIoPtr, AsnTypePtr)); 103 104 105 106 /************************************************** 107 * 108 * GeneCommentary 109 * 110 **************************************************/ 111 typedef struct struct_Gene_commentary { 112 struct struct_Gene_commentary PNTR next; 113 Int4 type; 114 CharPtr heading; 115 CharPtr label; 116 CharPtr text; 117 CharPtr accession; 118 Int4 version; 119 struct struct_Xtra_Terms PNTR xtra_properties; 120 ValNodePtr refs; 121 struct struct_Other_source PNTR source; 122 ValNodePtr genomic_coords; 123 ValNodePtr seqs; 124 struct struct_Gene_commentary PNTR products; 125 struct struct_Gene_commentary PNTR properties; 126 struct struct_Gene_commentary PNTR comment; 127 struct struct_Date PNTR create_date; 128 struct struct_Date PNTR update_date; 129 struct struct_RNA_ref PNTR rna; 130 } GeneCommentary, PNTR GeneCommentaryPtr; 131 132 133 NLM_EXTERN GeneCommentaryPtr LIBCALL GeneCommentaryFree PROTO ((GeneCommentaryPtr )); 134 NLM_EXTERN GeneCommentaryPtr LIBCALL GeneCommentaryNew PROTO (( void )); 135 NLM_EXTERN GeneCommentaryPtr LIBCALL GeneCommentaryAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 136 NLM_EXTERN Boolean LIBCALL GeneCommentaryAsnWrite PROTO (( GeneCommentaryPtr , AsnIoPtr, AsnTypePtr)); 137 138 139 140 /************************************************** 141 * 142 * Maps 143 * 144 **************************************************/ 145 typedef struct struct_Maps { 146 struct struct_Maps PNTR next; 147 CharPtr display_str; 148 struct struct_method PNTR Method_method; 149 } Maps, PNTR MapsPtr; 150 151 152 NLM_EXTERN MapsPtr LIBCALL MapsFree PROTO ((MapsPtr )); 153 NLM_EXTERN MapsPtr LIBCALL MapsNew PROTO (( void )); 154 NLM_EXTERN MapsPtr LIBCALL MapsAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 155 NLM_EXTERN Boolean LIBCALL MapsAsnWrite PROTO (( MapsPtr , AsnIoPtr, AsnTypePtr)); 156 157 158 #ifdef NLM_GENERATED_CODE_PROTO 159 160 typedef ValNodePtr Method_methodPtr; 161 typedef ValNode Method_method; 162 163 #endif /* NLM_GENERATED_CODE_PROTO */ 164 165 #define Method_method_proxy 1 166 #define Method_method_map_type 2 167 /* following #defines are for enumerated type, not used by object loaders */ 168 #define method_map_type_cyto 0 169 #define method_map_type_bp 1 170 #define method_map_type_cM 2 171 #define method_map_type_cR 3 172 #define method_map_type_min 4 173 174 175 #ifdef NLM_GENERATED_CODE_PROTO 176 177 static Method_methodPtr LIBCALL Method_methodFree PROTO ((Method_methodPtr )); 178 static Method_methodPtr LIBCALL Method_methodAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 179 static Boolean LIBCALL Method_methodAsnWrite PROTO (( Method_methodPtr , AsnIoPtr, AsnTypePtr)); 180 181 #endif /* NLM_GENERATED_CODE_PROTO */ 182 183 184 185 /************************************************** 186 * 187 * GeneSource 188 * 189 **************************************************/ 190 typedef struct struct_Gene_source { 191 CharPtr src; 192 Int4 src_int; 193 CharPtr src_str1; 194 CharPtr src_str2; 195 Uint1 gene_display; 196 Uint1 locus_display; 197 Uint1 extra_terms; 198 } GeneSource, PNTR GeneSourcePtr; 199 200 201 NLM_EXTERN GeneSourcePtr LIBCALL GeneSourceFree PROTO ((GeneSourcePtr )); 202 NLM_EXTERN GeneSourcePtr LIBCALL GeneSourceNew PROTO (( void )); 203 NLM_EXTERN GeneSourcePtr LIBCALL GeneSourceAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 204 NLM_EXTERN Boolean LIBCALL GeneSourceAsnWrite PROTO (( GeneSourcePtr , AsnIoPtr, AsnTypePtr)); 205 206 207 208 /************************************************** 209 * 210 * XtraTerms 211 * 212 **************************************************/ 213 typedef struct struct_Xtra_Terms { 214 struct struct_Xtra_Terms PNTR next; 215 CharPtr tag; 216 CharPtr value; 217 } XtraTerms, PNTR XtraTermsPtr; 218 219 220 NLM_EXTERN XtraTermsPtr LIBCALL XtraTermsFree PROTO ((XtraTermsPtr )); 221 NLM_EXTERN XtraTermsPtr LIBCALL XtraTermsNew PROTO (( void )); 222 NLM_EXTERN XtraTermsPtr LIBCALL XtraTermsAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 223 NLM_EXTERN Boolean LIBCALL XtraTermsAsnWrite PROTO (( XtraTermsPtr , AsnIoPtr, AsnTypePtr)); 224 225 226 227 /************************************************** 228 * 229 * OtherSource 230 * 231 **************************************************/ 232 typedef struct struct_Other_source { 233 struct struct_Other_source PNTR next; 234 struct struct_Dbtag PNTR src; 235 CharPtr pre_text; 236 CharPtr anchor; 237 CharPtr url; 238 CharPtr post_text; 239 } OtherSource, PNTR OtherSourcePtr; 240 241 242 NLM_EXTERN OtherSourcePtr LIBCALL OtherSourceFree PROTO ((OtherSourcePtr )); 243 NLM_EXTERN OtherSourcePtr LIBCALL OtherSourceNew PROTO (( void )); 244 NLM_EXTERN OtherSourcePtr LIBCALL OtherSourceAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 245 NLM_EXTERN Boolean LIBCALL OtherSourceAsnWrite PROTO (( OtherSourcePtr , AsnIoPtr, AsnTypePtr)); 246 247 #ifdef __cplusplus 248 /* { */ } 249 #endif 250 251 #endif /* _objentgene_ */ 252 253 #undef NLM_EXTERN 254 #ifdef NLM_EXPORT 255 #define NLM_EXTERN NLM_EXPORT 256 #else 257 #define NLM_EXTERN 258 #endif 259 260