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.CPP < prev    next >
C/C++ Source or Header  |  1994-08-06  |  11KB  |  399 lines

  1. #ifndef  HEADER_CPP
  2. #define  HEADER_CPP
  3.  
  4. /*
  5. * NIST STEP Editor Class Library
  6. * cleditor/s_HEADER_SCHEMA.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.cc,v 2.0.1.1 1994/04/05 16:42:41 sauderd Exp $ */
  20.  
  21. #include <HEADER.h> 
  22.  
  23. /*    **************  TYPES      */
  24. TypeDescriptor *HEADER_SCHEMAt_SCHEMA_NAME;
  25.  
  26. /*    **************  ENTITIES      */
  27. EntityDescriptor *HEADER_SCHEMAe_FILE_IDENTIFICATION =0;
  28. AttrDescriptor *a_0FILE_NAME =0;
  29. AttrDescriptor *a_1DATE =0;
  30. AttrDescriptor *a_2AUTHOR =0;
  31. AttrDescriptor *a_3ORGANIZATION =0;
  32. AttrDescriptor *a_4PREPROCESSOR_VERSION =0;
  33. AttrDescriptor *a_5ORIGINATING_SYSTEM =0;
  34.  
  35. s_N279_file_identification::s_N279_file_identification( ) 
  36.   {
  37.     STEPattribute * a;
  38.  
  39. this -> EntityDescriptor = HEADER_SCHEMAe_FILE_IDENTIFICATION;
  40.  
  41.     a = new STEPattribute (*a_0FILE_NAME, &_file_name);
  42.     a -> set_null ();
  43.      attributes.push (a);
  44.  
  45.     a = new STEPattribute (*a_1DATE, &_date);
  46.     a -> set_null ();
  47.      attributes.push (a);
  48.  
  49.     a = new STEPattribute (*a_2AUTHOR, &_author);
  50.     a -> set_null ();
  51.      attributes.push (a);
  52.  
  53.     a = new STEPattribute (*a_3ORGANIZATION, &_organization);
  54.     a -> set_null ();
  55.      attributes.push (a);
  56.  
  57.     a = new STEPattribute (*a_4PREPROCESSOR_VERSION, &_preprocessor_version);
  58.     a -> set_null ();
  59.      attributes.push (a);
  60.  
  61.     a = new STEPattribute (*a_5ORIGINATING_SYSTEM, &_originating_system);
  62.     a -> set_null ();
  63.      attributes.push (a);
  64.  }
  65. s_N279_file_identification::~s_N279_file_identification () {  }
  66.  
  67. const SdaiString & 
  68. s_N279_file_identification::file_name() const
  69.     { return _file_name; }
  70.  
  71. void 
  72. s_N279_file_identification::file_name (const char * x)
  73.     { _file_name = x; }
  74.  
  75. const SdaiString & 
  76. s_N279_file_identification::date() const
  77.     { return _date; }
  78.  
  79. void 
  80. s_N279_file_identification::date (const char * x)
  81.     { _date = x; }
  82.  
  83. StringAggregate & 
  84. s_N279_file_identification::author()
  85.     { return (StringAggregate &) _author; }
  86.  
  87. void 
  88. s_N279_file_identification::author (StringAggregate & x)
  89.     { _author = x; }
  90.  
  91. StringAggregate & 
  92. s_N279_file_identification::organization()
  93.     { return (StringAggregate &) _organization; }
  94.  
  95. void 
  96. s_N279_file_identification::organization (StringAggregate & x)
  97.     { _organization = x; }
  98.  
  99. const SdaiString & 
  100. s_N279_file_identification::preprocessor_version() const
  101.     { return _preprocessor_version; }
  102.  
  103. void 
  104. s_N279_file_identification::preprocessor_version (const char * x)
  105.     { _preprocessor_version = x; }
  106.  
  107. const SdaiString & 
  108. s_N279_file_identification::originating_system() const
  109.     { return _originating_system; }
  110.  
  111. void 
  112. s_N279_file_identification::originating_system (const char * x)
  113.     { _originating_system = x; }
  114. EntityDescriptor *HEADER_SCHEMAe_IMP_LEVEL =0;
  115. AttrDescriptor *a_6IMPLEMENTATION_LEVEL =0;
  116.  
  117. s_N279_imp_level::s_N279_imp_level( ) 
  118.   {
  119.     STEPattribute * a;
  120.  
  121. this -> EntityDescriptor = HEADER_SCHEMAe_IMP_LEVEL;
  122.  
  123.     a = new STEPattribute (*a_6IMPLEMENTATION_LEVEL, &_implementation_level);
  124.     a -> set_null ();
  125.      attributes.push (a);
  126.  }
  127. s_N279_imp_level::~s_N279_imp_level () {  }
  128.  
  129. const SdaiString & 
  130. s_N279_imp_level::implementation_level() const
  131.     { return _implementation_level; }
  132.  
  133. void 
  134. s_N279_imp_level::implementation_level (const char * x)
  135.     { _implementation_level = x; }
  136. EntityDescriptor *HEADER_SCHEMAe_FILE_NAME =0;
  137. AttrDescriptor *a_7NAME =0;
  138. AttrDescriptor *a_8TIME_STAMP =0;
  139. AttrDescriptor *a_9AUTHOR =0;
  140. AttrDescriptor *a_10ORGANIZATION =0;
  141. AttrDescriptor *a_11STEP_VERSION =0;
  142. AttrDescriptor *a_12PREPROCESSOR_VERSION =0;
  143. AttrDescriptor *a_13ORIGINATING_SYSTEM =0;
  144. AttrDescriptor *a_14AUTHORISATION =0;
  145.  
  146. p21DIS_File_name::p21DIS_File_name( ) 
  147.   {
  148.     STEPattribute * a;
  149.  
  150. this -> EntityDescriptor = HEADER_SCHEMAe_FILE_NAME;
  151.  
  152.     a = new STEPattribute (*a_7NAME, &_name);
  153.     a -> set_null ();
  154.      attributes.push (a);
  155.  
  156.     a = new STEPattribute (*a_8TIME_STAMP, &_time_stamp);
  157.     a -> set_null ();
  158.      attributes.push (a);
  159.  
  160.     a = new STEPattribute (*a_9AUTHOR, &_author);
  161.     a -> set_null ();
  162.      attributes.push (a);
  163.  
  164.     a = new STEPattribute (*a_10ORGANIZATION, &_organization);
  165.     a -> set_null ();
  166.      attributes.push (a);
  167.  
  168. /*
  169.     a = new STEPattribute (*a_11STEP_VERSION, &_step_version);
  170.     a -> set_null ();
  171.      attributes.push (a);
  172. */
  173.  
  174.     a = new STEPattribute (*a_12PREPROCESSOR_VERSION, &_preprocessor_version);
  175.     a -> set_null ();
  176.      attributes.push (a);
  177.  
  178.     a = new STEPattribute (*a_13ORIGINATING_SYSTEM, &_originating_system);
  179.     a -> set_null ();
  180.      attributes.push (a);
  181.  
  182.     a = new STEPattribute (*a_14AUTHORISATION, &_authorisation);
  183.     a -> set_null ();
  184.      attributes.push (a);
  185.  }
  186. p21DIS_File_name::~p21DIS_File_name () {  }
  187.  
  188. const SdaiString & 
  189. p21DIS_File_name::name() const
  190.     { return _name; }
  191.  
  192. void 
  193. p21DIS_File_name::name (const char * x)
  194.     { _name = x; }
  195.  
  196. const SdaiString & 
  197. p21DIS_File_name::time_stamp() const
  198.     { return _time_stamp; }
  199.  
  200. void 
  201. p21DIS_File_name::time_stamp (const char * x)
  202.     { _time_stamp = x; }
  203.  
  204. StringAggregate & 
  205. p21DIS_File_name::author()
  206.     { return (StringAggregate &) _author; }
  207.  
  208. void 
  209. p21DIS_File_name::author (StringAggregate & x)
  210.     { _author = x; }
  211.  
  212. StringAggregate & 
  213. p21DIS_File_name::organization()
  214.     { return (StringAggregate &) _organization; }
  215.  
  216. void 
  217. p21DIS_File_name::organization (StringAggregate & x)
  218.     { _organization = x; }
  219.  
  220. /*
  221. const SdaiString & 
  222. p21DIS_File_name::step_version() const
  223.     { return _step_version; }
  224.  
  225. void 
  226. p21DIS_File_name::step_version (const char * x)
  227.     { _step_version = x; }
  228. */
  229.  
  230. const SdaiString & 
  231. p21DIS_File_name::preprocessor_version() const
  232.     { return _preprocessor_version; }
  233.  
  234. void 
  235. p21DIS_File_name::preprocessor_version (const char * x)
  236.     { _preprocessor_version = x; }
  237.  
  238. const SdaiString & 
  239. p21DIS_File_name::originating_system() const
  240.     { return _originating_system; }
  241.  
  242. void 
  243. p21DIS_File_name::originating_system (const char * x)
  244.     { _originating_system = x; }
  245.  
  246. const SdaiString & 
  247. p21DIS_File_name::authorisation() const
  248.     { return _authorisation; }
  249.  
  250. void 
  251. p21DIS_File_name::authorisation (const char * x)
  252.     { _authorisation = x; }
  253. EntityDescriptor *HEADER_SCHEMAe_FILE_DESCRIPTION =0;
  254. AttrDescriptor *a_15DESCRIPTION =0;
  255. AttrDescriptor *a_16IMPLEMENTATION_LEVEL =0;
  256.  
  257. p21DIS_File_description::p21DIS_File_description( ) 
  258.   {
  259.     STEPattribute * a;
  260.  
  261. this -> EntityDescriptor = HEADER_SCHEMAe_FILE_DESCRIPTION;
  262.  
  263.     a = new STEPattribute (*a_15DESCRIPTION, &_description);
  264.     a -> set_null ();
  265.      attributes.push (a);
  266.  
  267.     a = new STEPattribute (*a_16IMPLEMENTATION_LEVEL, &_implementation_level);
  268.     a -> set_null ();
  269.      attributes.push (a);
  270.  }
  271. p21DIS_File_description::~p21DIS_File_description () {  }
  272.  
  273. StringAggregate & 
  274. p21DIS_File_description::description()
  275.     { return (StringAggregate &) _description; }
  276.  
  277. void 
  278. p21DIS_File_description::description (StringAggregate & x)
  279.     { _description = x; }
  280.  
  281. const SdaiString & 
  282. p21DIS_File_description::implementation_level() const
  283.     { return _implementation_level; }
  284.  
  285. void 
  286. p21DIS_File_description::implementation_level (const char * x)
  287.     { _implementation_level = x; }
  288. EntityDescriptor *HEADER_SCHEMAe_S_CLASSIFICATION =0;
  289. AttrDescriptor *a_17SECURITY_CLASSIFICATION =0;
  290.  
  291. s_N279_classification::s_N279_classification( ) 
  292.   {
  293.     STEPattribute * a;
  294.  
  295. this -> EntityDescriptor = HEADER_SCHEMAe_S_CLASSIFICATION;
  296.  
  297.     a = new STEPattribute (*a_17SECURITY_CLASSIFICATION, &_security_classification);
  298.     a -> set_null ();
  299.      attributes.push (a);
  300.  }
  301. s_N279_classification::~s_N279_classification () {  }
  302.  
  303. const SdaiString & 
  304. s_N279_classification::security_classification() const
  305.     { return _security_classification; }
  306.  
  307. void 
  308. s_N279_classification::security_classification (const char * x)
  309.     { _security_classification = x; }
  310. EntityDescriptor *HEADER_SCHEMAe_S_FILE_DESCRIPTION =0;
  311. AttrDescriptor *a_18DESCRIPTION =0;
  312.  
  313. s_N279_file_description::s_N279_file_description( ) 
  314.   {
  315.     STEPattribute * a;
  316.  
  317. this -> EntityDescriptor = HEADER_SCHEMAe_S_FILE_DESCRIPTION;
  318.  
  319.     a = new STEPattribute (*a_18DESCRIPTION, &_description);
  320.     a -> set_null ();
  321.      attributes.push (a);
  322.  }
  323. s_N279_file_description::~s_N279_file_description () {  }
  324.  
  325. const SdaiString & 
  326. s_N279_file_description::description() const
  327.     { return _description; }
  328.  
  329. void 
  330. s_N279_file_description::description (const char * x)
  331.     { _description = x; }
  332. EntityDescriptor *HEADER_SCHEMAe_MAXSIG =0;
  333. AttrDescriptor *a_19MAXIMUM_SIGNIFICANT_DIGIT =0;
  334.  
  335. p21DIS_Maxsig::p21DIS_Maxsig( ) 
  336.   {
  337.     STEPattribute * a;
  338.  
  339. this -> EntityDescriptor = HEADER_SCHEMAe_MAXSIG;
  340.  
  341.     a = new STEPattribute (*a_19MAXIMUM_SIGNIFICANT_DIGIT, &_maximum_significant_digit);
  342.     a -> set_null ();
  343.      attributes.push (a);
  344.  }
  345. p21DIS_Maxsig::~p21DIS_Maxsig () {  }
  346.  
  347. SdaiInteger  
  348. p21DIS_Maxsig::maximum_significant_digit()
  349.     { return (SdaiInteger ) _maximum_significant_digit; }
  350.  
  351. void 
  352. p21DIS_Maxsig::maximum_significant_digit (SdaiInteger  x)
  353.     { _maximum_significant_digit = x; }
  354. EntityDescriptor *HEADER_SCHEMAe_CLASSIFICATION =0;
  355. AttrDescriptor *a_20SECURITY_CLASSIFICATION =0;
  356.  
  357. p21DIS_Classification::p21DIS_Classification( ) 
  358.   {
  359.     STEPattribute * a;
  360.  
  361. this -> EntityDescriptor = HEADER_SCHEMAe_CLASSIFICATION;
  362.  
  363.     a = new STEPattribute (*a_20SECURITY_CLASSIFICATION, &_security_classification);
  364.     a -> set_null ();
  365.      attributes.push (a);
  366.  }
  367. p21DIS_Classification::~p21DIS_Classification () {  }
  368.  
  369. const SdaiString & 
  370. p21DIS_Classification::security_classification() const
  371.     { return _security_classification; }
  372.  
  373. void 
  374. p21DIS_Classification::security_classification (const char * x)
  375.     { _security_classification = x; }
  376. EntityDescriptor *HEADER_SCHEMAe_FILE_SCHEMA =0;
  377. AttrDescriptor *a_21SCHEMA_IDENTIFIERS =0;
  378.  
  379. p21DIS_File_schema::p21DIS_File_schema( ) 
  380.   {
  381.     STEPattribute * a;
  382.  
  383. this -> EntityDescriptor = HEADER_SCHEMAe_FILE_SCHEMA;
  384.  
  385.     a = new STEPattribute (*a_21SCHEMA_IDENTIFIERS, &_schema_identifiers);
  386.     a -> set_null ();
  387.      attributes.push (a);
  388.  }
  389. p21DIS_File_schema::~p21DIS_File_schema () {  }
  390.  
  391. StringAggregate & 
  392. p21DIS_File_schema::schema_identifiers()
  393.     { return (StringAggregate &) _schema_identifiers; }
  394.  
  395. void 
  396. p21DIS_File_schema::schema_identifiers (StringAggregate & x)
  397.     { _schema_identifiers = x; }
  398. #endif
  399.