home *** CD-ROM | disk | FTP | other *** search
/ ftptest.leeds.ac.uk / 2015.02.ftptest.leeds.ac.uk.tar / ftptest.leeds.ac.uk / bionet / CAE-GROUP / SCL-WIN3x / SCL.EXE / HEADER_I.CPP < prev    next >
C/C++ Source or Header  |  1994-08-06  |  8KB  |  125 lines

  1. #ifndef  HEADER_I_CPP
  2. #define  HEADER_I_CPP
  3.  
  4. /*
  5. * NIST STEP Editor Class Library
  6. * cleditor/s_HEADER_SCHEMA.inline.cc
  7. * February, 1994
  8. * David Sauder
  9. * K. C. Morris
  10.  
  11. * Development of this software was funded by the United States Government,
  12. * and is not subject to copyright.
  13. */
  14.  
  15. // This file was generated by fedex_plus.  You probably don't want to edit
  16. // it since your modifications will be lost if fedex_plus is used to
  17. // regenerate it.
  18.  
  19. /* $Id: s_HEADER_SCHEMA.init.cc,v 2.0.1.1 1994/04/05 16:42:44 sauderd Exp $ */
  20.  
  21. #include <HEADER.h> 
  22. #include <Registry.h>
  23. void 
  24. s_HEADER_SCHEMAInit (Registry& reg)
  25. {
  26.     SchemaDescriptor *  z_HEADER_SCHEMA = new SchemaDescriptor("Header_Schema");
  27.     reg.AddSchema (*z_HEADER_SCHEMA);
  28.     HEADER_SCHEMAt_SCHEMA_NAME = new TypeDescriptor (
  29.           "Schema_Name",    // Name
  30.           STRING_TYPE,    // FundamentalType
  31.           "STRING");    // Description
  32.     HEADER_SCHEMAe_FILE_IDENTIFICATION = new EntityDescriptor("File_Identification",z_HEADER_SCHEMA,F, (Creator) create_s_N279_file_identification);
  33.     HEADER_SCHEMAe_IMP_LEVEL = new EntityDescriptor("Imp_Level",z_HEADER_SCHEMA,F, (Creator) create_s_N279_imp_level);
  34.     HEADER_SCHEMAe_FILE_NAME = new EntityDescriptor("File_Name",z_HEADER_SCHEMA,F, (Creator) create_p21DIS_File_name);
  35.     HEADER_SCHEMAe_FILE_DESCRIPTION = new EntityDescriptor("File_Description",z_HEADER_SCHEMA,F, (Creator) create_p21DIS_File_description);
  36.     HEADER_SCHEMAe_S_CLASSIFICATION = new EntityDescriptor("S_Classification",z_HEADER_SCHEMA,F, (Creator) create_s_N279_classification);
  37.     HEADER_SCHEMAe_S_FILE_DESCRIPTION = new EntityDescriptor("S_File_Description",z_HEADER_SCHEMA,F, (Creator) create_s_N279_file_description);
  38.     HEADER_SCHEMAe_MAXSIG = new EntityDescriptor("Maxsig",z_HEADER_SCHEMA,F, (Creator) create_p21DIS_Maxsig);
  39.     HEADER_SCHEMAe_CLASSIFICATION = new EntityDescriptor("Classification",z_HEADER_SCHEMA,F, (Creator) create_p21DIS_Classification);
  40.     HEADER_SCHEMAe_FILE_SCHEMA = new EntityDescriptor("File_Schema",z_HEADER_SCHEMA,F, (Creator) create_p21DIS_File_schema);
  41.     HEADER_SCHEMAt_SCHEMA_NAME->ReferentType(t_STRING_TYPE);
  42.     reg.AddType (*HEADER_SCHEMAt_SCHEMA_NAME);
  43.     reg.AddEntity (*HEADER_SCHEMAe_FILE_IDENTIFICATION);
  44.     a_0FILE_NAME = new AttrDescriptor("file_name",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_IDENTIFICATION);
  45.     HEADER_SCHEMAe_FILE_IDENTIFICATION->AddExplicitAttr(a_0FILE_NAME);
  46.     a_1DATE = new AttrDescriptor("date",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_IDENTIFICATION);
  47.     HEADER_SCHEMAe_FILE_IDENTIFICATION->AddExplicitAttr(a_1DATE);
  48.     TypeDescriptor * t_0 = new TypeDescriptor;
  49.     t_0->FundamentalType(AGGREGATE_TYPE);
  50.     t_0->Description("LIST of STRING");
  51.     t_0->ReferentType(t_STRING_TYPE);
  52.     a_2AUTHOR = new AttrDescriptor("author",t_0,F,F,F,*HEADER_SCHEMAe_FILE_IDENTIFICATION);
  53.     HEADER_SCHEMAe_FILE_IDENTIFICATION->AddExplicitAttr(a_2AUTHOR);
  54.     TypeDescriptor * t_1 = new TypeDescriptor;
  55.     t_1->FundamentalType(AGGREGATE_TYPE);
  56.     t_1->Description("LIST of STRING");
  57.     t_1->ReferentType(t_STRING_TYPE);
  58.     a_3ORGANIZATION = new AttrDescriptor("organization",t_1,F,F,F,*HEADER_SCHEMAe_FILE_IDENTIFICATION);
  59.     HEADER_SCHEMAe_FILE_IDENTIFICATION->AddExplicitAttr(a_3ORGANIZATION);
  60.     a_4PREPROCESSOR_VERSION = new AttrDescriptor("preprocessor_version",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_IDENTIFICATION);
  61.     HEADER_SCHEMAe_FILE_IDENTIFICATION->AddExplicitAttr(a_4PREPROCESSOR_VERSION);
  62.     a_5ORIGINATING_SYSTEM = new AttrDescriptor("originating_system",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_IDENTIFICATION);
  63.     HEADER_SCHEMAe_FILE_IDENTIFICATION->AddExplicitAttr(a_5ORIGINATING_SYSTEM);
  64.     reg.AddEntity (*HEADER_SCHEMAe_IMP_LEVEL);
  65.     a_6IMPLEMENTATION_LEVEL = new AttrDescriptor("implementation_level",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_IMP_LEVEL);
  66.     HEADER_SCHEMAe_IMP_LEVEL->AddExplicitAttr(a_6IMPLEMENTATION_LEVEL);
  67.     reg.AddEntity (*HEADER_SCHEMAe_FILE_NAME);
  68.     a_7NAME = new AttrDescriptor("name",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_NAME);
  69.     HEADER_SCHEMAe_FILE_NAME->AddExplicitAttr(a_7NAME);
  70.     a_8TIME_STAMP = new AttrDescriptor("time_stamp",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_NAME);
  71.     HEADER_SCHEMAe_FILE_NAME->AddExplicitAttr(a_8TIME_STAMP);
  72.     TypeDescriptor * t_2 = new TypeDescriptor;
  73.     t_2->FundamentalType(AGGREGATE_TYPE);
  74.     t_2->Description("LIST [1:?] of STRING (256)");
  75.     t_2->ReferentType(t_STRING_TYPE);
  76.     a_9AUTHOR = new AttrDescriptor("author",t_2,F,F,F,*HEADER_SCHEMAe_FILE_NAME);
  77.     HEADER_SCHEMAe_FILE_NAME->AddExplicitAttr(a_9AUTHOR);
  78.     TypeDescriptor * t_3 = new TypeDescriptor;
  79.     t_3->FundamentalType(AGGREGATE_TYPE);
  80.     t_3->Description("LIST [1:?] of STRING (256)");
  81.     t_3->ReferentType(t_STRING_TYPE);
  82.     a_10ORGANIZATION = new AttrDescriptor("organization",t_3,F,F,F,*HEADER_SCHEMAe_FILE_NAME);
  83.     HEADER_SCHEMAe_FILE_NAME->AddExplicitAttr(a_10ORGANIZATION);
  84. /*
  85.     a_11STEP_VERSION = new AttrDescriptor("step_version",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_NAME);
  86.     HEADER_SCHEMAe_FILE_NAME->AddExplicitAttr(a_11STEP_VERSION);
  87. */
  88.     a_12PREPROCESSOR_VERSION = new AttrDescriptor("preprocessor_version",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_NAME);
  89.     HEADER_SCHEMAe_FILE_NAME->AddExplicitAttr(a_12PREPROCESSOR_VERSION);
  90.     a_13ORIGINATING_SYSTEM = new AttrDescriptor("originating_system",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_NAME);
  91.     HEADER_SCHEMAe_FILE_NAME->AddExplicitAttr(a_13ORIGINATING_SYSTEM);
  92.     a_14AUTHORISATION = new AttrDescriptor("authorisation",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_NAME);
  93.     HEADER_SCHEMAe_FILE_NAME->AddExplicitAttr(a_14AUTHORISATION);
  94.     reg.AddEntity (*HEADER_SCHEMAe_FILE_DESCRIPTION);
  95.     TypeDescriptor * t_4 = new TypeDescriptor;
  96.     t_4->FundamentalType(AGGREGATE_TYPE);
  97.     t_4->Description("LIST [1:?] of STRING (256)");
  98.     t_4->ReferentType(t_STRING_TYPE);
  99.     a_15DESCRIPTION = new AttrDescriptor("description",t_4,F,F,F,*HEADER_SCHEMAe_FILE_DESCRIPTION);
  100.     HEADER_SCHEMAe_FILE_DESCRIPTION->AddExplicitAttr(a_15DESCRIPTION);
  101.     a_16IMPLEMENTATION_LEVEL = new AttrDescriptor("implementation_level",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_FILE_DESCRIPTION);
  102.     HEADER_SCHEMAe_FILE_DESCRIPTION->AddExplicitAttr(a_16IMPLEMENTATION_LEVEL);
  103.     reg.AddEntity (*HEADER_SCHEMAe_S_CLASSIFICATION);
  104.     a_17SECURITY_CLASSIFICATION = new AttrDescriptor("security_classification",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_S_CLASSIFICATION);
  105.     HEADER_SCHEMAe_S_CLASSIFICATION->AddExplicitAttr(a_17SECURITY_CLASSIFICATION);
  106.     reg.AddEntity (*HEADER_SCHEMAe_S_FILE_DESCRIPTION);
  107.     a_18DESCRIPTION = new AttrDescriptor("description",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_S_FILE_DESCRIPTION);
  108.     HEADER_SCHEMAe_S_FILE_DESCRIPTION->AddExplicitAttr(a_18DESCRIPTION);
  109.     reg.AddEntity (*HEADER_SCHEMAe_MAXSIG);
  110.     a_19MAXIMUM_SIGNIFICANT_DIGIT = new AttrDescriptor("maximum_significant_digit",t_INTEGER_TYPE,F,F,F,*HEADER_SCHEMAe_MAXSIG);
  111.     HEADER_SCHEMAe_MAXSIG->AddExplicitAttr(a_19MAXIMUM_SIGNIFICANT_DIGIT);
  112.     reg.AddEntity (*HEADER_SCHEMAe_CLASSIFICATION);
  113.     a_20SECURITY_CLASSIFICATION = new AttrDescriptor("security_classification",t_STRING_TYPE,F,F,F,*HEADER_SCHEMAe_CLASSIFICATION);
  114.     HEADER_SCHEMAe_CLASSIFICATION->AddExplicitAttr(a_20SECURITY_CLASSIFICATION);
  115.     reg.AddEntity (*HEADER_SCHEMAe_FILE_SCHEMA);
  116.     TypeDescriptor * t_5 = new TypeDescriptor;
  117.     t_5->FundamentalType(AGGREGATE_TYPE);
  118.     t_5->Description("LIST [1:?] of Schema_Name");
  119.     t_5->ReferentType(t_STRING_TYPE);
  120.     a_21SCHEMA_IDENTIFIERS = new AttrDescriptor("schema_identifiers",t_5,F,F,F,*HEADER_SCHEMAe_FILE_SCHEMA);
  121.     HEADER_SCHEMAe_FILE_SCHEMA->AddExplicitAttr(a_21SCHEMA_IDENTIFIERS);
  122.  
  123. }
  124. #endif
  125.