1 #ifndef _objmmdb2_ 2 #define _objmmdb2_ 3 4 5 #undef NLM_EXTERN 6 #ifdef NLM_IMPORT 7 #define NLM_EXTERN NLM_IMPORT 8 #else 9 #define NLM_EXTERN extern 10 #endif 11 12 #ifdef __cplusplus 13 extern "C" { /* } */ 14 #endif 15 16 17 /************************************************** 18 * 19 * Generated objects for Module MMDB-Structural-model 20 * Generated using ASNCODE Revision: 4.2 at Aug 14, 1996 5:25 PM 21 * 22 **************************************************/ 23 24 NLM_EXTERN Boolean LIBCALL 25 objmmdb2AsnLoad PROTO((void)); 26 27 28 /************************************************** 29 * 30 * BiostrucModel 31 * 32 **************************************************/ 33 typedef struct struct_Biostruc_model { 34 struct struct_Biostruc_model PNTR next; 35 Uint4 OBbits__; 36 Int4 id; 37 Int4 type; 38 ValNodePtr descr; 39 struct struct_Model_space PNTR model_space; 40 struct struct_Model_coordinate_set PNTR model_coordinates; 41 } BiostrucModel, PNTR BiostrucModelPtr; 42 43 44 BiostrucModelPtr LIBCALL BiostrucModelFree PROTO ((BiostrucModelPtr )); 45 BiostrucModelPtr LIBCALL BiostrucModelNew PROTO (( void )); 46 BiostrucModelPtr LIBCALL BiostrucModelAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 47 Boolean LIBCALL BiostrucModelAsnWrite PROTO (( BiostrucModelPtr , AsnIoPtr, AsnTypePtr)); 48 49 typedef ValNodePtr ModelDescrPtr; 50 typedef ValNode ModelDescr; 51 #define ModelDescr_name 1 52 #define ModelDescr_pdb_reso 2 53 #define ModelDescr_pdb_method 3 54 #define ModelDescr_pdb_comment 4 55 #define ModelDescr_other_comment 5 56 #define ModelDescr_attribution 6 57 58 59 ModelDescrPtr LIBCALL ModelDescrFree PROTO ((ModelDescrPtr )); 60 ModelDescrPtr LIBCALL ModelDescrAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 61 Boolean LIBCALL ModelDescrAsnWrite PROTO (( ModelDescrPtr , AsnIoPtr, AsnTypePtr)); 62 63 64 65 /************************************************** 66 * 67 * ModelSpace 68 * 69 **************************************************/ 70 typedef struct struct_Model_space { 71 Uint4 OBbits__; 72 Uint2 coordinate_units; 73 /* following #defines are for enumerated type, not used by object loaders */ 74 #define Model_space_coordinate_units_angstroms 1 75 #define Model_space_coordinate_units_nanometers 2 76 #define Model_space_coordinate_units_other 3 77 #define Model_space_coordinate_units_unknown 255 78 79 #define OB__Model_space_thermal_factor_units 0 80 81 Uint2 thermal_factor_units; 82 /* following #defines are for enumerated type, not used by object loaders */ 83 #define Model_space_thermal_factor_units_b 1 84 #define Model_space_thermal_factor_units_u 2 85 #define Model_space_thermal_factor_units_other 3 86 #define Model_space_thermal_factor_units_unknown 255 87 88 #define OB__Model_space_occupancy_factor_units 1 89 90 Uint2 occupancy_factor_units; 91 /* following #defines are for enumerated type, not used by object loaders */ 92 #define Model_space_occupancy_factor_units_fractional 1 93 #define Model_space_occupancy_factor_units_electrons 2 94 #define Model_space_occupancy_factor_units_other 3 95 #define Model_space_occupancy_factor_units_unknown 255 96 97 #define OB__Model_space_density_units 2 98 99 Uint2 density_units; 100 /* following #defines are for enumerated type, not used by object loaders */ 101 #define Model_space_density_units_electrons_per_unit_volume 1 102 #define Model_space_density_units_arbitrary_scale 2 103 #define Model_space_density_units_other 3 104 #define Model_space_density_units_unknown 255 105 106 struct struct_Reference_frame PNTR reference_frame; 107 } ModelSpace, PNTR ModelSpacePtr; 108 109 110 ModelSpacePtr LIBCALL ModelSpaceFree PROTO ((ModelSpacePtr )); 111 ModelSpacePtr LIBCALL ModelSpaceNew PROTO (( void )); 112 ModelSpacePtr LIBCALL ModelSpaceAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 113 Boolean LIBCALL ModelSpaceAsnWrite PROTO (( ModelSpacePtr , AsnIoPtr, AsnTypePtr)); 114 115 116 117 /************************************************** 118 * 119 * ModelCoordinateSet 120 * 121 **************************************************/ 122 typedef struct struct_Model_coordinate_set { 123 struct struct_Model_coordinate_set PNTR next; 124 Uint4 OBbits__; 125 #define OB__Model_coordinate_set_id 0 126 127 Int4 id; 128 ValNodePtr descr; 129 ValNodePtr Coordinates_coordinates; 130 } ModelCoordinateSet, PNTR ModelCoordinateSetPtr; 131 132 133 ModelCoordinateSetPtr LIBCALL ModelCoordinateSetFree PROTO ((ModelCoordinateSetPtr )); 134 ModelCoordinateSetPtr LIBCALL ModelCoordinateSetNew PROTO (( void )); 135 ModelCoordinateSetPtr LIBCALL ModelCoordinateSetAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 136 Boolean LIBCALL ModelCoordinateSetAsnWrite PROTO (( ModelCoordinateSetPtr , AsnIoPtr, AsnTypePtr)); 137 138 139 #ifdef NLM_GENERATED_CODE_PROTO 140 141 typedef ValNodePtr Coordinates_coordinatesPtr; 142 typedef ValNode Coordinates_coordinates; 143 144 #endif /* NLM_GENERATED_CODE_PROTO */ 145 146 #define Coordinates_coordinates_literal 1 147 #define Coordinates_coordinates_reference 2 148 149 #ifdef NLM_GENERATED_CODE_PROTO 150 151 static Coordinates_coordinatesPtr LIBCALL Coordinates_coordinatesFree PROTO ((Coordinates_coordinatesPtr )); 152 static Coordinates_coordinatesPtr LIBCALL Coordinates_coordinatesAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 153 static Boolean LIBCALL Coordinates_coordinatesAsnWrite PROTO (( Coordinates_coordinatesPtr , AsnIoPtr, AsnTypePtr)); 154 155 #endif /* NLM_GENERATED_CODE_PROTO */ 156 157 158 159 /************************************************** 160 * 161 * ReferenceFrame 162 * 163 **************************************************/ 164 typedef struct struct_Reference_frame { 165 Uint4 OBbits__; 166 ValNodePtr biostruc_id; 167 struct struct_Transform PNTR rotation_translation; 168 } ReferenceFrame, PNTR ReferenceFramePtr; 169 170 171 ReferenceFramePtr LIBCALL ReferenceFrameFree PROTO ((ReferenceFramePtr )); 172 ReferenceFramePtr LIBCALL ReferenceFrameNew PROTO (( void )); 173 ReferenceFramePtr LIBCALL ReferenceFrameAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 174 Boolean LIBCALL ReferenceFrameAsnWrite PROTO (( ReferenceFramePtr , AsnIoPtr, AsnTypePtr)); 175 176 typedef ValNodePtr CoordinatesPtr; 177 typedef ValNode Coordinates; 178 #define Coordinates_atomic 1 179 #define Coordinates_surface 2 180 #define Coordinates_density 3 181 182 183 CoordinatesPtr LIBCALL CoordinatesFree PROTO ((CoordinatesPtr )); 184 CoordinatesPtr LIBCALL CoordinatesAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 185 Boolean LIBCALL CoordinatesAsnWrite PROTO (( CoordinatesPtr , AsnIoPtr, AsnTypePtr)); 186 187 188 189 /************************************************** 190 * 191 * AtomicCoordinates 192 * 193 **************************************************/ 194 typedef struct struct_Atomic_coordinates { 195 Uint4 OBbits__; 196 Int4 number_of_points; 197 struct struct_Atom_pntrs PNTR atoms; 198 struct struct_Model_space_points PNTR sites; 199 ValNodePtr temperature_factors; 200 struct struct_Atomic_occupancies PNTR occupancies; 201 struct struct_Alternate_conformation_id PNTR alternate_conf_ids; 202 struct struct_Conformation_ensemble PNTR conf_ensembles; 203 } AtomicCoordinates, PNTR AtomicCoordinatesPtr; 204 205 206 AtomicCoordinatesPtr LIBCALL AtomicCoordinatesFree PROTO ((AtomicCoordinatesPtr )); 207 AtomicCoordinatesPtr LIBCALL AtomicCoordinatesNew PROTO (( void )); 208 AtomicCoordinatesPtr LIBCALL AtomicCoordinatesAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 209 Boolean LIBCALL AtomicCoordinatesAsnWrite PROTO (( AtomicCoordinatesPtr , AsnIoPtr, AsnTypePtr)); 210 211 212 213 /************************************************** 214 * 215 * SurfaceCoordinates 216 * 217 **************************************************/ 218 typedef struct struct_Surface_coordinates { 219 Uint4 OBbits__; 220 ValNodePtr contents; 221 ValNodePtr Surface_surface; 222 } SurfaceCoordinates, PNTR SurfaceCoordinatesPtr; 223 224 225 SurfaceCoordinatesPtr LIBCALL SurfaceCoordinatesFree PROTO ((SurfaceCoordinatesPtr )); 226 SurfaceCoordinatesPtr LIBCALL SurfaceCoordinatesNew PROTO (( void )); 227 SurfaceCoordinatesPtr LIBCALL SurfaceCoordinatesAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 228 Boolean LIBCALL SurfaceCoordinatesAsnWrite PROTO (( SurfaceCoordinatesPtr , AsnIoPtr, AsnTypePtr)); 229 230 231 #ifdef NLM_GENERATED_CODE_PROTO 232 233 typedef ValNodePtr Surface_surfacePtr; 234 typedef ValNode Surface_surface; 235 236 #endif /* NLM_GENERATED_CODE_PROTO */ 237 238 #define Surface_surface_sphere 1 239 #define Surface_surface_cone 2 240 #define Surface_surface_cylinder 3 241 #define Surface_surface_brick 4 242 #define Surface_surface_tmesh 5 243 #define Surface_surface_triangles 6 244 245 #ifdef NLM_GENERATED_CODE_PROTO 246 247 static Surface_surfacePtr LIBCALL Surface_surfaceFree PROTO ((Surface_surfacePtr )); 248 static Surface_surfacePtr LIBCALL Surface_surfaceAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 249 static Boolean LIBCALL Surface_surfaceAsnWrite PROTO (( Surface_surfacePtr , AsnIoPtr, AsnTypePtr)); 250 251 #endif /* NLM_GENERATED_CODE_PROTO */ 252 253 254 255 /************************************************** 256 * 257 * DensityCoordinates 258 * 259 **************************************************/ 260 typedef struct struct_Density_coordinates { 261 Uint4 OBbits__; 262 ValNodePtr contents; 263 struct struct_Brick PNTR grid_corners; 264 Int4 grid_steps_x; 265 Int4 grid_steps_y; 266 Int4 grid_steps_z; 267 Uint2 fastest_varying; 268 /* following #defines are for enumerated type, not used by object loaders */ 269 #define Density_coordinates_fastest_varying_x 1 270 #define Density_coordinates_fastest_varying_y 2 271 #define Density_coordinates_fastest_varying_z 3 272 273 Uint2 slowest_varying; 274 /* following #defines are for enumerated type, not used by object loaders */ 275 #define Density_coordinates_slowest_varying_x 1 276 #define Density_coordinates_slowest_varying_y 2 277 #define Density_coordinates_slowest_varying_z 3 278 279 Int4 scale_factor; 280 ValNodePtr density; 281 } DensityCoordinates, PNTR DensityCoordinatesPtr; 282 283 284 DensityCoordinatesPtr LIBCALL DensityCoordinatesFree PROTO ((DensityCoordinatesPtr )); 285 DensityCoordinatesPtr LIBCALL DensityCoordinatesNew PROTO (( void )); 286 DensityCoordinatesPtr LIBCALL DensityCoordinatesAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 287 Boolean LIBCALL DensityCoordinatesAsnWrite PROTO (( DensityCoordinatesPtr , AsnIoPtr, AsnTypePtr)); 288 289 290 291 /************************************************** 292 * 293 * ModelSpacePoints 294 * 295 **************************************************/ 296 typedef struct struct_Model_space_points { 297 Uint4 OBbits__; 298 Int4 scale_factor; 299 ValNodePtr x; 300 ValNodePtr y; 301 ValNodePtr z; 302 } ModelSpacePoints, PNTR ModelSpacePointsPtr; 303 304 305 ModelSpacePointsPtr LIBCALL ModelSpacePointsFree PROTO ((ModelSpacePointsPtr )); 306 ModelSpacePointsPtr LIBCALL ModelSpacePointsNew PROTO (( void )); 307 ModelSpacePointsPtr LIBCALL ModelSpacePointsAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 308 Boolean LIBCALL ModelSpacePointsAsnWrite PROTO (( ModelSpacePointsPtr , AsnIoPtr, AsnTypePtr)); 309 310 typedef ValNodePtr AtomicTemperatureFactorsPtr; 311 typedef ValNode AtomicTemperatureFactors; 312 #define AtomicTemperatureFactors_isotropic 1 313 #define AtomicTemperatureFactors_anisotropic 2 314 315 316 AtomicTemperatureFactorsPtr LIBCALL AtomicTemperatureFactorsFree PROTO ((AtomicTemperatureFactorsPtr )); 317 AtomicTemperatureFactorsPtr LIBCALL AtomicTemperatureFactorsAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 318 Boolean LIBCALL AtomicTemperatureFactorsAsnWrite PROTO (( AtomicTemperatureFactorsPtr , AsnIoPtr, AsnTypePtr)); 319 320 321 322 /************************************************** 323 * 324 * AtomicOccupancies 325 * 326 **************************************************/ 327 typedef struct struct_Atomic_occupancies { 328 Uint4 OBbits__; 329 Int4 scale_factor; 330 ValNodePtr o; 331 } AtomicOccupancies, PNTR AtomicOccupanciesPtr; 332 333 334 AtomicOccupanciesPtr LIBCALL AtomicOccupanciesFree PROTO ((AtomicOccupanciesPtr )); 335 AtomicOccupanciesPtr LIBCALL AtomicOccupanciesNew PROTO (( void )); 336 AtomicOccupanciesPtr LIBCALL AtomicOccupanciesAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 337 Boolean LIBCALL AtomicOccupanciesAsnWrite PROTO (( AtomicOccupanciesPtr , AsnIoPtr, AsnTypePtr)); 338 339 340 341 /************************************************** 342 * 343 * AlternateConformationIds 344 * 345 **************************************************/ 346 typedef ValNode AlternateConformationIds; 347 typedef ValNodePtr AlternateConformationIdsPtr; 348 #define AlternateConformationIdsNew() ValNodeNew(NULL) 349 350 #ifdef NLM_GENERATED_CODE_PROTO 351 352 AlternateConformationIdsPtr LIBCALL AlternateConformationIdsFree PROTO ((AlternateConformationIdsPtr )); 353 AlternateConformationIdsPtr LIBCALL AlternateConformationIdsNew PROTO (( void )); 354 AlternateConformationIdsPtr LIBCALL AlternateConformationIdsAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 355 Boolean LIBCALL AlternateConformationIdsAsnWrite PROTO (( AlternateConformationIdsPtr , AsnIoPtr, AsnTypePtr)); 356 357 #endif /* NLM_GENERATED_CODE_PROTO */ 358 359 360 361 /************************************************** 362 * 363 * ConformationEnsemble 364 * 365 **************************************************/ 366 typedef struct struct_Conformation_ensemble { 367 struct struct_Conformation_ensemble PNTR next; 368 Uint4 OBbits__; 369 CharPtr name; 370 ValNodePtr alt_conf_ids; 371 } ConformationEnsemble, PNTR ConformationEnsemblePtr; 372 373 374 ConformationEnsemblePtr LIBCALL ConformationEnsembleFree PROTO ((ConformationEnsemblePtr )); 375 ConformationEnsemblePtr LIBCALL ConformationEnsembleNew PROTO (( void )); 376 ConformationEnsemblePtr LIBCALL ConformationEnsembleAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 377 Boolean LIBCALL ConformationEnsembleAsnWrite PROTO (( ConformationEnsemblePtr , AsnIoPtr, AsnTypePtr)); 378 379 380 381 /************************************************** 382 * 383 * IsotropicTemperatureFactors 384 * 385 **************************************************/ 386 typedef struct struct_Isotropic_temperature_factors { 387 Uint4 OBbits__; 388 Int4 scale_factor; 389 ValNodePtr b; 390 } IsotropicTemperatureFactors, PNTR IsotropicTemperatureFactorsPtr; 391 392 393 IsotropicTemperatureFactorsPtr LIBCALL IsotropicTemperatureFactorsFree PROTO ((IsotropicTemperatureFactorsPtr )); 394 IsotropicTemperatureFactorsPtr LIBCALL IsotropicTemperatureFactorsNew PROTO (( void )); 395 IsotropicTemperatureFactorsPtr LIBCALL IsotropicTemperatureFactorsAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 396 Boolean LIBCALL IsotropicTemperatureFactorsAsnWrite PROTO (( IsotropicTemperatureFactorsPtr , AsnIoPtr, AsnTypePtr)); 397 398 399 400 /************************************************** 401 * 402 * AnisotropicTemperatureFactors 403 * 404 **************************************************/ 405 typedef struct struct_Anisotropic_temperature_factors { 406 Uint4 OBbits__; 407 Int4 scale_factor; 408 ValNodePtr b_11; 409 ValNodePtr b_12; 410 ValNodePtr b_13; 411 ValNodePtr b_22; 412 ValNodePtr b_23; 413 ValNodePtr b_33; 414 } AnisotropicTemperatureFactors, PNTR AnisotropicTemperatureFactorsPtr; 415 416 417 AnisotropicTemperatureFactorsPtr LIBCALL AnisotropicTemperatureFactorsFree PROTO ((AnisotropicTemperatureFactorsPtr )); 418 AnisotropicTemperatureFactorsPtr LIBCALL AnisotropicTemperatureFactorsNew PROTO (( void )); 419 AnisotropicTemperatureFactorsPtr LIBCALL AnisotropicTemperatureFactorsAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 420 Boolean LIBCALL AnisotropicTemperatureFactorsAsnWrite PROTO (( AnisotropicTemperatureFactorsPtr , AsnIoPtr, AsnTypePtr)); 421 422 423 424 /************************************************** 425 * 426 * TMesh 427 * 428 **************************************************/ 429 typedef struct struct_T_mesh { 430 Uint4 OBbits__; 431 Int4 number_of_points; 432 Int4 scale_factor; 433 ValNodePtr swap; 434 ValNodePtr x; 435 ValNodePtr y; 436 ValNodePtr z; 437 } TMesh, PNTR TMeshPtr; 438 439 440 TMeshPtr LIBCALL TMeshFree PROTO ((TMeshPtr )); 441 TMeshPtr LIBCALL TMeshNew PROTO (( void )); 442 TMeshPtr LIBCALL TMeshAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 443 Boolean LIBCALL TMeshAsnWrite PROTO (( TMeshPtr , AsnIoPtr, AsnTypePtr)); 444 445 446 447 /************************************************** 448 * 449 * Triangles 450 * 451 **************************************************/ 452 typedef struct struct_Triangles { 453 Uint4 OBbits__; 454 Int4 number_of_points; 455 Int4 scale_factor; 456 ValNodePtr x; 457 ValNodePtr y; 458 ValNodePtr z; 459 Int4 number_of_triangles; 460 ValNodePtr v1; 461 ValNodePtr v2; 462 ValNodePtr v3; 463 } Triangles, PNTR TrianglesPtr; 464 465 466 TrianglesPtr LIBCALL TrianglesFree PROTO ((TrianglesPtr )); 467 TrianglesPtr LIBCALL TrianglesNew PROTO (( void )); 468 TrianglesPtr LIBCALL TrianglesAsnRead PROTO (( AsnIoPtr, AsnTypePtr)); 469 Boolean LIBCALL TrianglesAsnWrite PROTO (( TrianglesPtr , AsnIoPtr, AsnTypePtr)); 470 471 #ifdef __cplusplus 472 /* { */ } 473 #endif 474 475 #undef NLM_EXTERN 476 #ifdef NLM_EXPORT 477 #define NLM_EXTERN NLM_EXPORT 478 #else 479 #define NLM_EXTERN 480 #endif 481 482 #endif /* _objmmdb2_ */ 483