modify header schema files generated by fedex_plus

This commit is contained in:
Mark Pictor
2011-10-20 21:19:26 -04:00
parent 00dc10bcf7
commit d1cd32b37c
7 changed files with 523 additions and 679 deletions
+80 -87
View File
@@ -1,98 +1,91 @@
#ifndef SDAIALL_CC
#define SDAIALL_CC
#ifndef SDAIHEADER_SECTION_SCHEMA_ALL_CC
#define SDAIHEADER_SECTION_SCHEMA_ALL_CC
// This file was generated by fedex_plus. You probably don't want to edit
// it since your modifications will be lost if fedex_plus is used to
// regenerate it.
/* $Id$ */
#include <schema.h>
void
InitSchemasAndEnts (Registry & reg)
{
Interface_spec_ptr is;
Used_item_ptr ui;
Referenced_item_ptr ri;
#include <SdaiHEADER_SECTION_SCHEMA.schema.h>
void HeaderInitSchemasAndEnts (Registry & reg) {
Uniqueness_rule_ptr ur;
Where_rule_ptr wr;
Global_rule_ptr gr;
// Schema: SdaiHEADER_SECTION_SCHEMA
s_header_section_schema = new Schema("Header_Section_Schema");
s_header_section_schema->AssignModelContentsCreator(
(ModelContentsCreator) create_SdaiModel_contents_header_section_schema);
reg.AddSchema (*s_header_section_schema);
// Schema: SdaiHEADER_SECTION_SCHEMA
s_header_section_schema = new Schema("Header_Section_Schema");
s_header_section_schema->AssignModelContentsCreator(
(ModelContentsCreator) create_SdaiModel_contents_header_section_schema);
reg.AddSchema (*s_header_section_schema);
// ***** Initialize the Types
header_section_schemat_time_stamp_text = new TypeDescriptor (
"Time_Stamp_Text", // Name
sdaiSTRING, // FundamentalType
s_header_section_schema, // Originating Schema
"STRING (256)"); // Description
s_header_section_schema->AddType(header_section_schemat_time_stamp_text);
header_section_schemat_section_name = new TypeDescriptor (
"Section_Name", // Name
REFERENCE_TYPE, // FundamentalType
s_header_section_schema, // Originating Schema
"exchange_structure_identifier"); // Description
s_header_section_schema->AddType(header_section_schemat_section_name);
header_section_schemat_context_name = new TypeDescriptor (
"Context_Name", // Name
sdaiSTRING, // FundamentalType
s_header_section_schema, // Originating Schema
"STRING"); // Description
s_header_section_schema->AddType(header_section_schemat_context_name);
header_section_schemat_schema_name = new TypeDescriptor (
"Schema_Name", // Name
sdaiSTRING, // FundamentalType
s_header_section_schema, // Originating Schema
"STRING (1024)"); // Description
s_header_section_schema->AddType(header_section_schemat_schema_name);
header_section_schemat_language_name = new TypeDescriptor (
"Language_Name", // Name
REFERENCE_TYPE, // FundamentalType
s_header_section_schema, // Originating Schema
"exchange_structure_identifier"); // Description
s_header_section_schema->AddType(header_section_schemat_language_name);
header_section_schemat_exchange_structure_identifier = new TypeDescriptor (
"Exchange_Structure_Identifier", // Name
sdaiSTRING, // FundamentalType
s_header_section_schema, // Originating Schema
"STRING"); // Description
s_header_section_schema->AddType(header_section_schemat_exchange_structure_identifier);
// ***** Initialize the Types
header_section_schemat_time_stamp_text = new TypeDescriptor (
"Time_Stamp_Text", // Name
sdaiSTRING, // FundamentalType
s_header_section_schema, // Originating Schema
"STRING (256)"); // Description
s_header_section_schema->AddType(header_section_schemat_time_stamp_text);
header_section_schemat_section_name = new TypeDescriptor (
"Section_Name", // Name
REFERENCE_TYPE, // FundamentalType
s_header_section_schema, // Originating Schema
"exchange_structure_identifier"); // Description
s_header_section_schema->AddType(header_section_schemat_section_name);
header_section_schemat_context_name = new TypeDescriptor (
"Context_Name", // Name
sdaiSTRING, // FundamentalType
s_header_section_schema, // Originating Schema
"STRING"); // Description
s_header_section_schema->AddType(header_section_schemat_context_name);
header_section_schemat_schema_name = new TypeDescriptor (
"Schema_Name", // Name
sdaiSTRING, // FundamentalType
s_header_section_schema, // Originating Schema
"STRING (1024)"); // Description
s_header_section_schema->AddType(header_section_schemat_schema_name);
header_section_schemat_language_name = new TypeDescriptor (
"Language_Name", // Name
REFERENCE_TYPE, // FundamentalType
s_header_section_schema, // Originating Schema
"exchange_structure_identifier"); // Description
s_header_section_schema->AddType(header_section_schemat_language_name);
header_section_schemat_exchange_structure_identifier = new TypeDescriptor (
"Exchange_Structure_Identifier", // Name
sdaiSTRING, // FundamentalType
s_header_section_schema, // Originating Schema
"STRING"); // Description
s_header_section_schema->AddType(header_section_schemat_exchange_structure_identifier);
// ***** Initialize the Entities
header_section_schemae_section_language = new EntityDescriptor(
"Section_Language", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiSection_language );
s_header_section_schema->AddEntity(header_section_schemae_section_language);
header_section_schemae_section_language->_uniqueness_rules = new Uniqueness_rule__set;
ur = new Uniqueness_rule("UR1 : section;\n");
header_section_schemae_section_language->_uniqueness_rules->Append(ur);
header_section_schemae_file_population = new EntityDescriptor(
"File_Population", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiFile_population );
s_header_section_schema->AddEntity(header_section_schemae_file_population);
header_section_schemae_file_name = new EntityDescriptor(
"File_Name", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiFile_name );
s_header_section_schema->AddEntity(header_section_schemae_file_name);
header_section_schemae_section_context = new EntityDescriptor(
"Section_Context", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiSection_context );
s_header_section_schema->AddEntity(header_section_schemae_section_context);
header_section_schemae_section_context->_uniqueness_rules = new Uniqueness_rule__set;
ur = new Uniqueness_rule("UR1 : section;\n");
header_section_schemae_section_context->_uniqueness_rules->Append(ur);
header_section_schemae_file_description = new EntityDescriptor(
"File_Description", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiFile_description );
s_header_section_schema->AddEntity(header_section_schemae_file_description);
header_section_schemae_file_schema = new EntityDescriptor(
"File_Schema", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiFile_schema );
s_header_section_schema->AddEntity(header_section_schemae_file_schema);
// ***** Initialize the Entities
header_section_schemae_section_language = new EntityDescriptor(
"Section_Language", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiSection_language );
s_header_section_schema->AddEntity(header_section_schemae_section_language);
header_section_schemae_section_language->_uniqueness_rules = new Uniqueness_rule__set;
ur = new Uniqueness_rule("UR1 : section;\n");
header_section_schemae_section_language->_uniqueness_rules->Append(ur);
header_section_schemae_file_population = new EntityDescriptor(
"File_Population", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiFile_population );
s_header_section_schema->AddEntity(header_section_schemae_file_population);
header_section_schemae_file_name = new EntityDescriptor(
"File_Name", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiFile_name );
s_header_section_schema->AddEntity(header_section_schemae_file_name);
header_section_schemae_section_context = new EntityDescriptor(
"Section_Context", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiSection_context );
s_header_section_schema->AddEntity(header_section_schemae_section_context);
header_section_schemae_section_context->_uniqueness_rules = new Uniqueness_rule__set;
ur = new Uniqueness_rule("UR1 : section;\n");
header_section_schemae_section_context->_uniqueness_rules->Append(ur);
header_section_schemae_file_description = new EntityDescriptor(
"File_Description", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiFile_description );
s_header_section_schema->AddEntity(header_section_schemae_file_description);
header_section_schemae_file_schema = new EntityDescriptor(
"File_Schema", s_header_section_schema, LFalse, LFalse,
(Creator) create_SdaiFile_schema );
s_header_section_schema->AddEntity(header_section_schemae_file_schema);
//////////////// USE statements
//////////////// REFERENCE statements
//////////////// USE statements
//////////////// REFERENCE statements
}
#endif
+121 -187
View File
@@ -3,10 +3,6 @@
// This file was generated by fedex_plus. You probably don't want to edit
// it since your modifications will be lost if fedex_plus is used to
// regenerate it.
/* $Id$ */
#ifndef SCHEMA_H
#include <schema.h>
#endif
#ifdef SCL_LOGGING
#include <fstream.h>
@@ -14,26 +10,23 @@
#define SCLLOGFILE "scl.log"
#endif
static int debug_access_hooks = 0;
#ifdef PART26
const char * sclHostName = CORBA::Orbix.myHost(); // Default is local host
#endif
#include <ExpDict.h>
#include <STEPattribute.h>
#include <SdaiHEADER_SECTION_SCHEMA.h>
Schema *s_header_section_schema =0;
/* ************** TYPES */
TypeDescriptor *header_section_schemat_time_stamp_text;
TypeDescriptor *header_section_schemat_section_name;
TypeDescriptor *header_section_schemat_context_name;
TypeDescriptor *header_section_schemat_schema_name;
TypeDescriptor *header_section_schemat_language_name;
TypeDescriptor *header_section_schemat_exchange_structure_identifier;
/* ************** TYPES */
TypeDescriptor *header_section_schemat_time_stamp_text;
TypeDescriptor *header_section_schemat_section_name;
TypeDescriptor *header_section_schemat_context_name;
TypeDescriptor *header_section_schemat_schema_name;
TypeDescriptor *header_section_schemat_language_name;
TypeDescriptor *header_section_schemat_exchange_structure_identifier;
/* ************** ENTITIES */
/* ************** ENTITIES */
///////// ENTITY section_language
///////// ENTITY section_language
EntityDescriptor *header_section_schemae_section_language =0;
AttrDescriptor *a_0section =0;
@@ -41,7 +34,7 @@ AttrDescriptor *a_1default_language =0;
SdaiSection_language::SdaiSection_language( )
{
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_section_language;
STEPattribute *a = new STEPattribute(*a_0section, &_section);
@@ -52,42 +45,33 @@ SdaiSection_language::SdaiSection_language( )
attributes.push (a);
}
SdaiSection_language::SdaiSection_language (SdaiSection_language& e )
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
SdaiSection_language::~SdaiSection_language () { }
#ifdef __O3DB__
void
SdaiSection_language::oodb_reInit ()
{ eDesc = header_section_schemae_section_language;
attributes [0].aDesc = a_0section;
attributes [1].aDesc = a_1default_language;
}
#endif
SdaiSection_language::SdaiSection_language( SCLP23(Application_instance) *se, int *addAttrs)
{
/* Set this to point to the head entity. */
/* Set this to point to the head entity. */
HeadEntity(se);
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_section_language;
STEPattribute *a = new STEPattribute(*a_0section, &_section);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_1default_language, &_default_language);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
}
@@ -118,10 +102,10 @@ SdaiSection_language::default_language_ (const SdaiLanguage_name x)
_default_language = x;
}
///////// END_ENTITY section_language
///////// END_ENTITY section_language
///////// ENTITY file_population
///////// ENTITY file_population
EntityDescriptor *header_section_schemae_file_population =0;
AttrDescriptor *a_2governing_schema =0;
@@ -130,7 +114,7 @@ AttrDescriptor *a_4governed_sections =0;
SdaiFile_population::SdaiFile_population( )
{
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_file_population;
STEPattribute *a = new STEPattribute(*a_2governing_schema, &_governing_schema);
@@ -144,52 +128,42 @@ SdaiFile_population::SdaiFile_population( )
attributes.push (a);
}
SdaiFile_population::SdaiFile_population (SdaiFile_population& e )
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
SdaiFile_population::~SdaiFile_population () { }
#ifdef __O3DB__
void
SdaiFile_population::oodb_reInit ()
{ eDesc = header_section_schemae_file_population;
attributes [0].aDesc = a_2governing_schema;
attributes [1].aDesc = a_3determination_method;
attributes [2].aDesc = a_4governed_sections;
}
#endif
SdaiFile_population::SdaiFile_population( SCLP23(Application_instance) *se, int *addAttrs)
{
/* Set this to point to the head entity. */
/* Set this to point to the head entity. */
HeadEntity(se);
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_file_population;
STEPattribute *a = new STEPattribute(*a_2governing_schema, &_governing_schema);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_3determination_method, &_determination_method);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_4governed_sections, &_governed_sections);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
}
@@ -229,12 +203,12 @@ SdaiFile_population::governed_sections_() const
void
SdaiFile_population::governed_sections_ (const StringAggregate_ptr x)
{ _governed_sections.ShallowCopy (*x); }
{ _governed_sections.ShallowCopy (*x); }
///////// END_ENTITY file_population
///////// END_ENTITY file_population
///////// ENTITY file_name
///////// ENTITY file_name
EntityDescriptor *header_section_schemae_file_name =0;
AttrDescriptor *a_5name =0;
@@ -247,7 +221,7 @@ AttrDescriptor *a_11authorization =0;
SdaiFile_name::SdaiFile_name( )
{
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_file_name;
STEPattribute *a = new STEPattribute(*a_5name, &_name);
@@ -273,92 +247,78 @@ SdaiFile_name::SdaiFile_name( )
attributes.push (a);
}
SdaiFile_name::SdaiFile_name (SdaiFile_name& e )
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
SdaiFile_name::~SdaiFile_name () { }
#ifdef __O3DB__
void
SdaiFile_name::oodb_reInit ()
{ eDesc = header_section_schemae_file_name;
attributes [0].aDesc = a_5name;
attributes [1].aDesc = a_6time_stamp;
attributes [2].aDesc = a_7author;
attributes [3].aDesc = a_8organization;
attributes [4].aDesc = a_9preprocessor_version;
attributes [5].aDesc = a_10originating_system;
attributes [6].aDesc = a_11authorization;
}
#endif
SdaiFile_name::SdaiFile_name( SCLP23(Application_instance) *se, int *addAttrs)
{
/* Set this to point to the head entity. */
/* Set this to point to the head entity. */
HeadEntity(se);
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_file_name;
STEPattribute *a = new STEPattribute(*a_5name, &_name);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_6time_stamp, &_time_stamp);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_7author, &_author);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_8organization, &_organization);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_9preprocessor_version, &_preprocessor_version);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_10originating_system, &_originating_system);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_11authorization, &_authorization);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
}
@@ -398,7 +358,7 @@ SdaiFile_name::author_() const
void
SdaiFile_name::author_ (const StringAggregate_ptr x)
{ _author.ShallowCopy (*x); }
{ _author.ShallowCopy (*x); }
const StringAggregate_ptr
SdaiFile_name::organization_() const
@@ -409,7 +369,7 @@ SdaiFile_name::organization_() const
void
SdaiFile_name::organization_ (const StringAggregate_ptr x)
{ _organization.ShallowCopy (*x); }
{ _organization.ShallowCopy (*x); }
const SCLP23(String)
SdaiFile_name::preprocessor_version_() const
@@ -450,10 +410,10 @@ SdaiFile_name::authorization_ (const SCLP23(String) x)
_authorization = x;
}
///////// END_ENTITY file_name
///////// END_ENTITY file_name
///////// ENTITY section_context
///////// ENTITY section_context
EntityDescriptor *header_section_schemae_section_context =0;
AttrDescriptor *a_12section =0;
@@ -461,7 +421,7 @@ AttrDescriptor *a_13context_identifiers =0;
SdaiSection_context::SdaiSection_context( )
{
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_section_context;
STEPattribute *a = new STEPattribute(*a_12section, &_section);
@@ -472,42 +432,33 @@ SdaiSection_context::SdaiSection_context( )
attributes.push (a);
}
SdaiSection_context::SdaiSection_context (SdaiSection_context& e )
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
SdaiSection_context::~SdaiSection_context () { }
#ifdef __O3DB__
void
SdaiSection_context::oodb_reInit ()
{ eDesc = header_section_schemae_section_context;
attributes [0].aDesc = a_12section;
attributes [1].aDesc = a_13context_identifiers;
}
#endif
SdaiSection_context::SdaiSection_context( SCLP23(Application_instance) *se, int *addAttrs)
{
/* Set this to point to the head entity. */
/* Set this to point to the head entity. */
HeadEntity(se);
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_section_context;
STEPattribute *a = new STEPattribute(*a_12section, &_section);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_13context_identifiers, &_context_identifiers);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
}
@@ -534,12 +485,12 @@ SdaiSection_context::context_identifiers_() const
void
SdaiSection_context::context_identifiers_ (const StringAggregate_ptr x)
{ _context_identifiers.ShallowCopy (*x); }
{ _context_identifiers.ShallowCopy (*x); }
///////// END_ENTITY section_context
///////// END_ENTITY section_context
///////// ENTITY file_description
///////// ENTITY file_description
EntityDescriptor *header_section_schemae_file_description =0;
AttrDescriptor *a_14description =0;
@@ -547,7 +498,7 @@ AttrDescriptor *a_15implementation_level =0;
SdaiFile_description::SdaiFile_description( )
{
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_file_description;
STEPattribute *a = new STEPattribute(*a_14description, &_description);
@@ -558,42 +509,33 @@ SdaiFile_description::SdaiFile_description( )
attributes.push (a);
}
SdaiFile_description::SdaiFile_description (SdaiFile_description& e )
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
SdaiFile_description::~SdaiFile_description () { }
#ifdef __O3DB__
void
SdaiFile_description::oodb_reInit ()
{ eDesc = header_section_schemae_file_description;
attributes [0].aDesc = a_14description;
attributes [1].aDesc = a_15implementation_level;
}
#endif
SdaiFile_description::SdaiFile_description( SCLP23(Application_instance) *se, int *addAttrs)
{
/* Set this to point to the head entity. */
/* Set this to point to the head entity. */
HeadEntity(se);
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_file_description;
STEPattribute *a = new STEPattribute(*a_14description, &_description);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
a = new STEPattribute(*a_15implementation_level, &_implementation_level);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
}
@@ -607,7 +549,7 @@ SdaiFile_description::description_() const
void
SdaiFile_description::description_ (const StringAggregate_ptr x)
{ _description.ShallowCopy (*x); }
{ _description.ShallowCopy (*x); }
const SCLP23(String)
SdaiFile_description::implementation_level_() const
@@ -622,17 +564,17 @@ SdaiFile_description::implementation_level_ (const SCLP23(String) x)
_implementation_level = x;
}
///////// END_ENTITY file_description
///////// END_ENTITY file_description
///////// ENTITY file_schema
///////// ENTITY file_schema
EntityDescriptor *header_section_schemae_file_schema =0;
AttrDescriptor *a_16schema_identifiers =0;
SdaiFile_schema::SdaiFile_schema( )
{
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_file_schema;
STEPattribute *a = new STEPattribute(*a_16schema_identifiers, &_schema_identifiers);
@@ -640,32 +582,24 @@ SdaiFile_schema::SdaiFile_schema( )
attributes.push (a);
}
SdaiFile_schema::SdaiFile_schema (SdaiFile_schema& e )
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
{ CopyAs((SCLP23(Application_instance_ptr)) &e); }
SdaiFile_schema::~SdaiFile_schema () { }
#ifdef __O3DB__
void
SdaiFile_schema::oodb_reInit ()
{ eDesc = header_section_schemae_file_schema;
attributes [0].aDesc = a_16schema_identifiers;
}
#endif
SdaiFile_schema::SdaiFile_schema( SCLP23(Application_instance) *se, int *addAttrs)
{
/* Set this to point to the head entity. */
/* Set this to point to the head entity. */
HeadEntity(se);
/* no SuperTypes */
/* no SuperTypes */
eDesc = header_section_schemae_file_schema;
STEPattribute *a = new STEPattribute(*a_16schema_identifiers, &_schema_identifiers);
a -> set_null ();
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
/* Put attribute on this class' attributes list so the */
/*access functions still work. */
attributes.push (a);
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
/* Put attribute on the attributes list for the */
/* main inheritance heirarchy. */
if(!addAttrs || addAttrs[0])
se->attributes.push (a);
}
@@ -679,9 +613,9 @@ SdaiFile_schema::schema_identifiers_() const
void
SdaiFile_schema::schema_identifiers_ (const StringAggregate_ptr x)
{ _schema_identifiers.ShallowCopy (*x); }
{ _schema_identifiers.ShallowCopy (*x); }
///////// END_ENTITY file_schema
///////// END_ENTITY file_schema
SCLP23(Model_contents_ptr) create_SdaiModel_contents_header_section_schema()
@@ -1,75 +1,73 @@
#ifndef SDAICLASSES_H
#define SDAICLASSES_H
#ifndef SDAI_HEADER_SECTION_SCHEMA_CLASSES_H
#define SDAI_HEADER_SECTION_SCHEMA_CLASSES_H
// This file was generated by fedex_plus. You probably don't want to edit
// it since your modifications will be lost if fedex_plus is used to
// regenerate it.
/* $Id$ */
#include <schema.h>
// Schema: SdaiHEADER_SECTION_SCHEMA
extern Schema * s_header_section_schema;
// Types:
typedef SCLP23(String) SdaiTime_stamp_text;
extern TypeDescriptor *header_section_schemat_time_stamp_text;
typedef SCLP23(String) SdaiSection_name;
extern TypeDescriptor *header_section_schemat_section_name;
typedef SCLP23(String) SdaiContext_name;
extern TypeDescriptor *header_section_schemat_context_name;
typedef SCLP23(String) SdaiSchema_name;
extern TypeDescriptor *header_section_schemat_schema_name;
typedef SCLP23(String) SdaiLanguage_name;
extern TypeDescriptor *header_section_schemat_language_name;
typedef SCLP23(String) SdaiExchange_structure_identifier;
extern TypeDescriptor *header_section_schemat_exchange_structure_identifier;
typedef SCLP23(String) SdaiTime_stamp_text;
extern TypeDescriptor *header_section_schemat_time_stamp_text;
typedef SCLP23(String) SdaiSection_name;
extern TypeDescriptor *header_section_schemat_section_name;
typedef SCLP23(String) SdaiContext_name;
extern TypeDescriptor *header_section_schemat_context_name;
typedef SCLP23(String) SdaiSchema_name;
extern TypeDescriptor *header_section_schemat_schema_name;
typedef SCLP23(String) SdaiLanguage_name;
extern TypeDescriptor *header_section_schemat_language_name;
typedef SCLP23(String) SdaiExchange_structure_identifier;
extern TypeDescriptor *header_section_schemat_exchange_structure_identifier;
// Entities:
class SdaiSection_language;
typedef SdaiSection_language * SdaiSection_languageH;
typedef SdaiSection_language * SdaiSection_language_ptr;
typedef SdaiSection_language_ptr SdaiSection_language_var;
#define SdaiSection_language__set SCLP23(DAObject__set)
#define SdaiSection_language__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_section_language;
typedef SdaiSection_language * SdaiSection_languageH;
typedef SdaiSection_language * SdaiSection_language_ptr;
typedef SdaiSection_language_ptr SdaiSection_language_var;
#define SdaiSection_language__set SCLP23(DAObject__set)
#define SdaiSection_language__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_section_language;
class SdaiFile_population;
typedef SdaiFile_population * SdaiFile_populationH;
typedef SdaiFile_population * SdaiFile_population_ptr;
typedef SdaiFile_population_ptr SdaiFile_population_var;
#define SdaiFile_population__set SCLP23(DAObject__set)
#define SdaiFile_population__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_file_population;
typedef SdaiFile_population * SdaiFile_populationH;
typedef SdaiFile_population * SdaiFile_population_ptr;
typedef SdaiFile_population_ptr SdaiFile_population_var;
#define SdaiFile_population__set SCLP23(DAObject__set)
#define SdaiFile_population__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_file_population;
class SdaiFile_name;
typedef SdaiFile_name * SdaiFile_nameH;
typedef SdaiFile_name * SdaiFile_name_ptr;
typedef SdaiFile_name_ptr SdaiFile_name_var;
#define SdaiFile_name__set SCLP23(DAObject__set)
#define SdaiFile_name__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_file_name;
typedef SdaiFile_name * SdaiFile_nameH;
typedef SdaiFile_name * SdaiFile_name_ptr;
typedef SdaiFile_name_ptr SdaiFile_name_var;
#define SdaiFile_name__set SCLP23(DAObject__set)
#define SdaiFile_name__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_file_name;
class SdaiSection_context;
typedef SdaiSection_context * SdaiSection_contextH;
typedef SdaiSection_context * SdaiSection_context_ptr;
typedef SdaiSection_context_ptr SdaiSection_context_var;
#define SdaiSection_context__set SCLP23(DAObject__set)
#define SdaiSection_context__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_section_context;
typedef SdaiSection_context * SdaiSection_contextH;
typedef SdaiSection_context * SdaiSection_context_ptr;
typedef SdaiSection_context_ptr SdaiSection_context_var;
#define SdaiSection_context__set SCLP23(DAObject__set)
#define SdaiSection_context__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_section_context;
class SdaiFile_description;
typedef SdaiFile_description * SdaiFile_descriptionH;
typedef SdaiFile_description * SdaiFile_description_ptr;
typedef SdaiFile_description_ptr SdaiFile_description_var;
#define SdaiFile_description__set SCLP23(DAObject__set)
#define SdaiFile_description__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_file_description;
typedef SdaiFile_description * SdaiFile_descriptionH;
typedef SdaiFile_description * SdaiFile_description_ptr;
typedef SdaiFile_description_ptr SdaiFile_description_var;
#define SdaiFile_description__set SCLP23(DAObject__set)
#define SdaiFile_description__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_file_description;
class SdaiFile_schema;
typedef SdaiFile_schema * SdaiFile_schemaH;
typedef SdaiFile_schema * SdaiFile_schema_ptr;
typedef SdaiFile_schema_ptr SdaiFile_schema_var;
#define SdaiFile_schema__set SCLP23(DAObject__set)
#define SdaiFile_schema__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_file_schema;
typedef SdaiFile_schema * SdaiFile_schemaH;
typedef SdaiFile_schema * SdaiFile_schema_ptr;
typedef SdaiFile_schema_ptr SdaiFile_schema_var;
#define SdaiFile_schema__set SCLP23(DAObject__set)
#define SdaiFile_schema__set_var SCLP23(DAObject__set_var)
extern EntityDescriptor *header_section_schemae_file_schema;
#endif
+99 -170
View File
@@ -3,71 +3,45 @@
// This file was generated by fedex_plus. You probably don't want to edit
// it since your modifications will be lost if fedex_plus is used to
// regenerate it.
/* $Id$ */
#ifdef __O3DB__
#include <OpenOODB.h>
#endif
#ifndef SCHEMA_H
#include <schema.h>
#endif
#include <sdai.h>
#include <Registry.h>
#include <STEPaggregate.h>
#include <SdaiHEADER_SECTION_SCHEMA.classes.h>
#include <SdaiHEADER_SECTION_SCHEMA.schema.h>
#ifdef PART26
#include <corbaIncludes.h>
// Create a corbaSchema.h file in this directory with a #include in
// it for your IDL generated schema-specific .hh file.
#include <corbaSchema.h>
#endif
/* ************** TYPES */
// ***** Build the SELECT Types
/* ************** ENTITIES */
// ***** Print Entity Classes
///////// ENTITY section_language
///////// ENTITY section_language
extern AttrDescriptor *a_0section;
extern AttrDescriptor *a_1default_language;
class SdaiSection_language : public SCLP23(Application_instance) {
protected:
SCLP23(String) _section ; // OPTIONAL
SCLP23(String) _default_language ;
SCLP23(String) _section ; // OPTIONAL
SCLP23(String) _default_language ;
public:
SdaiSection_language ( );
SdaiSection_language (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiSection_language (SdaiSection_language& e );
~SdaiSection_language ();
SdaiSection_language ( );
SdaiSection_language (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiSection_language (SdaiSection_language& e );
~SdaiSection_language ();
#ifdef __O3DB__
void oodb_reInit();
#endif
int opcode () { return 0 ; }
const SdaiSection_name section_() const;
void section_ (const SdaiSection_name x);
int opcode () { return 0 ; }
const SdaiSection_name section_() const;
void section_ (const SdaiSection_name x);
const SdaiLanguage_name default_language_() const;
void default_language_ (const SdaiLanguage_name x);
const SdaiLanguage_name default_language_() const;
void default_language_ (const SdaiLanguage_name x);
};
#if defined(__O3DB__)
inline SCLP23(Application_instance_ptr)
create_SdaiSection_language () { return (SCLP23(Application_instance_ptr)) new SdaiSection_language ; }
#else
inline SdaiSection_language *
create_SdaiSection_language () { return new SdaiSection_language ; }
#endif
///////// END_ENTITY section_language
///////// END_ENTITY section_language
///////// ENTITY file_population
///////// ENTITY file_population
extern AttrDescriptor *a_2governing_schema;
extern AttrDescriptor *a_3determination_method;
@@ -75,45 +49,36 @@ extern AttrDescriptor *a_4governed_sections;
class SdaiFile_population : public SCLP23(Application_instance) {
protected:
SCLP23(String) _governing_schema ;
SCLP23(String) _determination_method ;
StringAggregate _governed_sections ; // OPTIONAL // of section_name
SCLP23(String) _governing_schema ;
SCLP23(String) _determination_method ;
StringAggregate _governed_sections ; // OPTIONAL // of section_name
public:
SdaiFile_population ( );
SdaiFile_population (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiFile_population (SdaiFile_population& e );
~SdaiFile_population ();
SdaiFile_population ( );
SdaiFile_population (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiFile_population (SdaiFile_population& e );
~SdaiFile_population ();
#ifdef __O3DB__
void oodb_reInit();
#endif
int opcode () { return 1 ; }
const SdaiSchema_name governing_schema_() const;
void governing_schema_ (const SdaiSchema_name x);
int opcode () { return 1 ; }
const SdaiSchema_name governing_schema_() const;
void governing_schema_ (const SdaiSchema_name x);
const SdaiExchange_structure_identifier determination_method_() const;
void determination_method_ (const SdaiExchange_structure_identifier x);
const SdaiExchange_structure_identifier determination_method_() const;
void determination_method_ (const SdaiExchange_structure_identifier x);
const StringAggregate_ptr governed_sections_() const;
void governed_sections_ (const StringAggregate_ptr x);
const StringAggregate_ptr governed_sections_() const;
void governed_sections_ (const StringAggregate_ptr x);
};
#if defined(__O3DB__)
inline SCLP23(Application_instance_ptr)
create_SdaiFile_population () { return (SCLP23(Application_instance_ptr)) new SdaiFile_population ; }
#else
inline SdaiFile_population *
create_SdaiFile_population () { return new SdaiFile_population ; }
#endif
///////// END_ENTITY file_population
///////// END_ENTITY file_population
///////// ENTITY file_name
///////// ENTITY file_name
extern AttrDescriptor *a_5name;
extern AttrDescriptor *a_6time_stamp;
@@ -125,177 +90,141 @@ extern AttrDescriptor *a_11authorization;
class SdaiFile_name : public SCLP23(Application_instance) {
protected:
SCLP23(String) _name ;
SCLP23(String) _time_stamp ;
StringAggregate _author ;
StringAggregate _organization ;
SCLP23(String) _preprocessor_version ;
SCLP23(String) _originating_system ;
SCLP23(String) _authorization ;
SCLP23(String) _name ;
SCLP23(String) _time_stamp ;
StringAggregate _author ;
StringAggregate _organization ;
SCLP23(String) _preprocessor_version ;
SCLP23(String) _originating_system ;
SCLP23(String) _authorization ;
public:
SdaiFile_name ( );
SdaiFile_name (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiFile_name (SdaiFile_name& e );
~SdaiFile_name ();
SdaiFile_name ( );
SdaiFile_name (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiFile_name (SdaiFile_name& e );
~SdaiFile_name ();
#ifdef __O3DB__
void oodb_reInit();
#endif
int opcode () { return 2 ; }
const SCLP23(String) name_() const;
void name_ (const SCLP23(String) x);
int opcode () { return 2 ; }
const SCLP23(String) name_() const;
void name_ (const SCLP23(String) x);
const SdaiTime_stamp_text time_stamp_() const;
void time_stamp_ (const SdaiTime_stamp_text x);
const SdaiTime_stamp_text time_stamp_() const;
void time_stamp_ (const SdaiTime_stamp_text x);
const StringAggregate_ptr author_() const;
void author_ (const StringAggregate_ptr x);
const StringAggregate_ptr author_() const;
void author_ (const StringAggregate_ptr x);
const StringAggregate_ptr organization_() const;
void organization_ (const StringAggregate_ptr x);
const StringAggregate_ptr organization_() const;
void organization_ (const StringAggregate_ptr x);
const SCLP23(String) preprocessor_version_() const;
void preprocessor_version_ (const SCLP23(String) x);
const SCLP23(String) preprocessor_version_() const;
void preprocessor_version_ (const SCLP23(String) x);
const SCLP23(String) originating_system_() const;
void originating_system_ (const SCLP23(String) x);
const SCLP23(String) originating_system_() const;
void originating_system_ (const SCLP23(String) x);
const SCLP23(String) authorization_() const;
void authorization_ (const SCLP23(String) x);
const SCLP23(String) authorization_() const;
void authorization_ (const SCLP23(String) x);
};
#if defined(__O3DB__)
inline SCLP23(Application_instance_ptr)
create_SdaiFile_name () { return (SCLP23(Application_instance_ptr)) new SdaiFile_name ; }
#else
inline SdaiFile_name *
create_SdaiFile_name () { return new SdaiFile_name ; }
#endif
///////// END_ENTITY file_name
///////// END_ENTITY file_name
///////// ENTITY section_context
///////// ENTITY section_context
extern AttrDescriptor *a_12section;
extern AttrDescriptor *a_13context_identifiers;
class SdaiSection_context : public SCLP23(Application_instance) {
protected:
SCLP23(String) _section ; // OPTIONAL
StringAggregate _context_identifiers ; // of context_name
SCLP23(String) _section ; // OPTIONAL
StringAggregate _context_identifiers ; // of context_name
public:
SdaiSection_context ( );
SdaiSection_context (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiSection_context (SdaiSection_context& e );
~SdaiSection_context ();
SdaiSection_context ( );
SdaiSection_context (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiSection_context (SdaiSection_context& e );
~SdaiSection_context ();
#ifdef __O3DB__
void oodb_reInit();
#endif
int opcode () { return 3 ; }
const SdaiSection_name section_() const;
void section_ (const SdaiSection_name x);
int opcode () { return 3 ; }
const SdaiSection_name section_() const;
void section_ (const SdaiSection_name x);
const StringAggregate_ptr context_identifiers_() const;
void context_identifiers_ (const StringAggregate_ptr x);
const StringAggregate_ptr context_identifiers_() const;
void context_identifiers_ (const StringAggregate_ptr x);
};
#if defined(__O3DB__)
inline SCLP23(Application_instance_ptr)
create_SdaiSection_context () { return (SCLP23(Application_instance_ptr)) new SdaiSection_context ; }
#else
inline SdaiSection_context *
create_SdaiSection_context () { return new SdaiSection_context ; }
#endif
///////// END_ENTITY section_context
///////// END_ENTITY section_context
///////// ENTITY file_description
///////// ENTITY file_description
extern AttrDescriptor *a_14description;
extern AttrDescriptor *a_15implementation_level;
class SdaiFile_description : public SCLP23(Application_instance) {
protected:
StringAggregate _description ;
SCLP23(String) _implementation_level ;
StringAggregate _description ;
SCLP23(String) _implementation_level ;
public:
SdaiFile_description ( );
SdaiFile_description (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiFile_description (SdaiFile_description& e );
~SdaiFile_description ();
SdaiFile_description ( );
SdaiFile_description (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiFile_description (SdaiFile_description& e );
~SdaiFile_description ();
#ifdef __O3DB__
void oodb_reInit();
#endif
int opcode () { return 4 ; }
const StringAggregate_ptr description_() const;
void description_ (const StringAggregate_ptr x);
int opcode () { return 4 ; }
const StringAggregate_ptr description_() const;
void description_ (const StringAggregate_ptr x);
const SCLP23(String) implementation_level_() const;
void implementation_level_ (const SCLP23(String) x);
const SCLP23(String) implementation_level_() const;
void implementation_level_ (const SCLP23(String) x);
};
#if defined(__O3DB__)
inline SCLP23(Application_instance_ptr)
create_SdaiFile_description () { return (SCLP23(Application_instance_ptr)) new SdaiFile_description ; }
#else
inline SdaiFile_description *
create_SdaiFile_description () { return new SdaiFile_description ; }
#endif
///////// END_ENTITY file_description
///////// END_ENTITY file_description
///////// ENTITY file_schema
///////// ENTITY file_schema
extern AttrDescriptor *a_16schema_identifiers;
class SdaiFile_schema : public SCLP23(Application_instance) {
protected:
StringAggregate _schema_identifiers ; // of schema_name
StringAggregate _schema_identifiers ; // of schema_name
public:
SdaiFile_schema ( );
SdaiFile_schema (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiFile_schema (SdaiFile_schema& e );
~SdaiFile_schema ();
SdaiFile_schema ( );
SdaiFile_schema (SCLP23(Application_instance) *se, int *addAttrs = 0);
SdaiFile_schema (SdaiFile_schema& e );
~SdaiFile_schema ();
#ifdef __O3DB__
void oodb_reInit();
#endif
int opcode () { return 5 ; }
const StringAggregate_ptr schema_identifiers_() const;
void schema_identifiers_ (const StringAggregate_ptr x);
int opcode () { return 5 ; }
const StringAggregate_ptr schema_identifiers_() const;
void schema_identifiers_ (const StringAggregate_ptr x);
};
#if defined(__O3DB__)
inline SCLP23(Application_instance_ptr)
create_SdaiFile_schema () { return (SCLP23(Application_instance_ptr)) new SdaiFile_schema ; }
#else
inline SdaiFile_schema *
create_SdaiFile_schema () { return new SdaiFile_schema ; }
#endif
///////// END_ENTITY file_schema
///////// END_ENTITY file_schema
// ***** generate Model related pieces
// ***** generate Model related pieces
class SdaiModel_contents_header_section_schema : public SCLP23(Model_contents) {
+149 -149
View File
@@ -3,184 +3,184 @@
// This file was generated by fedex_plus. You probably don't want to edit
// it since your modifications will be lost if fedex_plus is used to
// regenerate it.
/* $Id$ */
#ifndef SCHEMA_H
#include <schema.h>
#endif
#include <Registry.h>
void
SdaiHEADER_SECTION_SCHEMAInit (Registry& reg)
{
header_section_schemat_time_stamp_text->ReferentType(t_sdaiSTRING);
reg.AddType (*header_section_schemat_time_stamp_text);
header_section_schemat_section_name->ReferentType(header_section_schemat_exchange_structure_identifier);
reg.AddType (*header_section_schemat_section_name);
header_section_schemat_context_name->ReferentType(t_sdaiSTRING);
reg.AddType (*header_section_schemat_context_name);
header_section_schemat_schema_name->ReferentType(t_sdaiSTRING);
reg.AddType (*header_section_schemat_schema_name);
header_section_schemat_language_name->ReferentType(header_section_schemat_exchange_structure_identifier);
reg.AddType (*header_section_schemat_language_name);
header_section_schemat_exchange_structure_identifier->ReferentType(t_sdaiSTRING);
reg.AddType (*header_section_schemat_exchange_structure_identifier);
///////// ENTITY section_language
#include <Registry.h>
#include <ExpDict.h>
#include <STEPattribute.h>
#include <SdaiHEADER_SECTION_SCHEMA.h>
void SdaiHEADER_SECTION_SCHEMAInit (Registry& reg)
{
header_section_schemat_time_stamp_text->ReferentType(t_sdaiSTRING);
reg.AddType (*header_section_schemat_time_stamp_text);
header_section_schemat_section_name->ReferentType(header_section_schemat_exchange_structure_identifier);
reg.AddType (*header_section_schemat_section_name);
header_section_schemat_context_name->ReferentType(t_sdaiSTRING);
reg.AddType (*header_section_schemat_context_name);
header_section_schemat_schema_name->ReferentType(t_sdaiSTRING);
reg.AddType (*header_section_schemat_schema_name);
header_section_schemat_language_name->ReferentType(header_section_schemat_exchange_structure_identifier);
reg.AddType (*header_section_schemat_language_name);
header_section_schemat_exchange_structure_identifier->ReferentType(t_sdaiSTRING);
reg.AddType (*header_section_schemat_exchange_structure_identifier);
///////// ENTITY section_language
a_0section =
new AttrDescriptor("section",header_section_schemat_section_name,
LTrue,LTrue, AttrType_Explicit,
*header_section_schemae_section_language);
header_section_schemae_section_language->AddExplicitAttr (a_0section);
new AttrDescriptor("section",header_section_schemat_section_name,
LTrue,LTrue, AttrType_Explicit,
*header_section_schemae_section_language);
header_section_schemae_section_language->AddExplicitAttr (a_0section);
a_1default_language =
new AttrDescriptor("default_language",header_section_schemat_language_name,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_section_language);
header_section_schemae_section_language->AddExplicitAttr (a_1default_language);
reg.AddEntity (*header_section_schemae_section_language);
///////// END_ENTITY section_language
new AttrDescriptor("default_language",header_section_schemat_language_name,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_section_language);
header_section_schemae_section_language->AddExplicitAttr (a_1default_language);
reg.AddEntity (*header_section_schemae_section_language);
///////// END_ENTITY section_language
///////// ENTITY file_population
///////// ENTITY file_population
a_2governing_schema =
new AttrDescriptor("governing_schema",header_section_schemat_schema_name,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_population);
header_section_schemae_file_population->AddExplicitAttr (a_2governing_schema);
new AttrDescriptor("governing_schema",header_section_schemat_schema_name,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_population);
header_section_schemae_file_population->AddExplicitAttr (a_2governing_schema);
a_3determination_method =
new AttrDescriptor("determination_method",header_section_schemat_exchange_structure_identifier,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_population);
header_section_schemae_file_population->AddExplicitAttr (a_3determination_method);
SetTypeDescriptor * t_0 = new SetTypeDescriptor;
t_0->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_0->Bound1(1);
t_0->Bound2(2147483647);
t_0->FundamentalType(SET_TYPE);
t_0->Description("SET [1:?] OF section_name");
t_0->OriginatingSchema(s_header_section_schema);
t_0->ReferentType(header_section_schemat_section_name);
new AttrDescriptor("determination_method",header_section_schemat_exchange_structure_identifier,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_population);
header_section_schemae_file_population->AddExplicitAttr (a_3determination_method);
SetTypeDescriptor * t_0 = new SetTypeDescriptor;
t_0->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_0->Bound1(1);
t_0->Bound2(2147483647);
t_0->FundamentalType(SET_TYPE);
t_0->Description("SET [1:?] OF section_name");
t_0->OriginatingSchema(s_header_section_schema);
t_0->ReferentType(header_section_schemat_section_name);
a_4governed_sections =
new AttrDescriptor("governed_sections",t_0,LTrue,LFalse, AttrType_Explicit,
*header_section_schemae_file_population);
header_section_schemae_file_population->AddExplicitAttr (a_4governed_sections);
reg.AddEntity (*header_section_schemae_file_population);
///////// END_ENTITY file_population
new AttrDescriptor("governed_sections",t_0,LTrue,LFalse, AttrType_Explicit,
*header_section_schemae_file_population);
header_section_schemae_file_population->AddExplicitAttr (a_4governed_sections);
reg.AddEntity (*header_section_schemae_file_population);
///////// END_ENTITY file_population
///////// ENTITY file_name
///////// ENTITY file_name
a_5name =
new AttrDescriptor("name",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_5name);
new AttrDescriptor("name",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_5name);
a_6time_stamp =
new AttrDescriptor("time_stamp",header_section_schemat_time_stamp_text,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_6time_stamp);
ListTypeDescriptor * t_1 = new ListTypeDescriptor;
t_1->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_1->Bound1(1);
t_1->Bound2(2147483647);
t_1->FundamentalType(LIST_TYPE);
t_1->Description("LIST [1:?] OF STRING (256)");
t_1->OriginatingSchema(s_header_section_schema);
t_1->ReferentType(t_sdaiSTRING);
new AttrDescriptor("time_stamp",header_section_schemat_time_stamp_text,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_6time_stamp);
ListTypeDescriptor * t_1 = new ListTypeDescriptor;
t_1->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_1->Bound1(1);
t_1->Bound2(2147483647);
t_1->FundamentalType(LIST_TYPE);
t_1->Description("LIST [1:?] OF STRING (256)");
t_1->OriginatingSchema(s_header_section_schema);
t_1->ReferentType(t_sdaiSTRING);
a_7author =
new AttrDescriptor("author",t_1,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_7author);
ListTypeDescriptor * t_2 = new ListTypeDescriptor;
t_2->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_2->Bound1(1);
t_2->Bound2(2147483647);
t_2->FundamentalType(LIST_TYPE);
t_2->Description("LIST [1:?] OF STRING (256)");
t_2->OriginatingSchema(s_header_section_schema);
t_2->ReferentType(t_sdaiSTRING);
new AttrDescriptor("author",t_1,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_7author);
ListTypeDescriptor * t_2 = new ListTypeDescriptor;
t_2->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_2->Bound1(1);
t_2->Bound2(2147483647);
t_2->FundamentalType(LIST_TYPE);
t_2->Description("LIST [1:?] OF STRING (256)");
t_2->OriginatingSchema(s_header_section_schema);
t_2->ReferentType(t_sdaiSTRING);
a_8organization =
new AttrDescriptor("organization",t_2,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_8organization);
new AttrDescriptor("organization",t_2,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_8organization);
a_9preprocessor_version =
new AttrDescriptor("preprocessor_version",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_9preprocessor_version);
new AttrDescriptor("preprocessor_version",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_9preprocessor_version);
a_10originating_system =
new AttrDescriptor("originating_system",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_10originating_system);
new AttrDescriptor("originating_system",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_10originating_system);
a_11authorization =
new AttrDescriptor("authorization",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_11authorization);
reg.AddEntity (*header_section_schemae_file_name);
///////// END_ENTITY file_name
new AttrDescriptor("authorization",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_name);
header_section_schemae_file_name->AddExplicitAttr (a_11authorization);
reg.AddEntity (*header_section_schemae_file_name);
///////// END_ENTITY file_name
///////// ENTITY section_context
///////// ENTITY section_context
a_12section =
new AttrDescriptor("section",header_section_schemat_section_name,
LTrue,LTrue, AttrType_Explicit,
*header_section_schemae_section_context);
header_section_schemae_section_context->AddExplicitAttr (a_12section);
ListTypeDescriptor * t_3 = new ListTypeDescriptor;
t_3->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_3->Bound1(1);
t_3->Bound2(2147483647);
t_3->FundamentalType(LIST_TYPE);
t_3->Description("LIST [1:?] OF context_name");
t_3->OriginatingSchema(s_header_section_schema);
t_3->ReferentType(header_section_schemat_context_name);
new AttrDescriptor("section",header_section_schemat_section_name,
LTrue,LTrue, AttrType_Explicit,
*header_section_schemae_section_context);
header_section_schemae_section_context->AddExplicitAttr (a_12section);
ListTypeDescriptor * t_3 = new ListTypeDescriptor;
t_3->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_3->Bound1(1);
t_3->Bound2(2147483647);
t_3->FundamentalType(LIST_TYPE);
t_3->Description("LIST [1:?] OF context_name");
t_3->OriginatingSchema(s_header_section_schema);
t_3->ReferentType(header_section_schemat_context_name);
a_13context_identifiers =
new AttrDescriptor("context_identifiers",t_3,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_section_context);
header_section_schemae_section_context->AddExplicitAttr (a_13context_identifiers);
reg.AddEntity (*header_section_schemae_section_context);
///////// END_ENTITY section_context
new AttrDescriptor("context_identifiers",t_3,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_section_context);
header_section_schemae_section_context->AddExplicitAttr (a_13context_identifiers);
reg.AddEntity (*header_section_schemae_section_context);
///////// END_ENTITY section_context
///////// ENTITY file_description
///////// ENTITY file_description
ListTypeDescriptor * t_4 = new ListTypeDescriptor;
t_4->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_4->Bound1(1);
t_4->Bound2(2147483647);
t_4->FundamentalType(LIST_TYPE);
t_4->Description("LIST [1:?] OF STRING (256)");
t_4->OriginatingSchema(s_header_section_schema);
t_4->ReferentType(t_sdaiSTRING);
ListTypeDescriptor * t_4 = new ListTypeDescriptor;
t_4->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_4->Bound1(1);
t_4->Bound2(2147483647);
t_4->FundamentalType(LIST_TYPE);
t_4->Description("LIST [1:?] OF STRING (256)");
t_4->OriginatingSchema(s_header_section_schema);
t_4->ReferentType(t_sdaiSTRING);
a_14description =
new AttrDescriptor("description",t_4,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_description);
header_section_schemae_file_description->AddExplicitAttr (a_14description);
new AttrDescriptor("description",t_4,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_description);
header_section_schemae_file_description->AddExplicitAttr (a_14description);
a_15implementation_level =
new AttrDescriptor("implementation_level",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_description);
header_section_schemae_file_description->AddExplicitAttr (a_15implementation_level);
reg.AddEntity (*header_section_schemae_file_description);
///////// END_ENTITY file_description
new AttrDescriptor("implementation_level",t_sdaiSTRING,
LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_description);
header_section_schemae_file_description->AddExplicitAttr (a_15implementation_level);
reg.AddEntity (*header_section_schemae_file_description);
///////// END_ENTITY file_description
///////// ENTITY file_schema
///////// ENTITY file_schema
ListTypeDescriptor * t_5 = new ListTypeDescriptor;
t_5->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_5->Bound1(1);
t_5->Bound2(2147483647);
t_5->UniqueElements(LTrue);
t_5->FundamentalType(LIST_TYPE);
t_5->Description("LIST [1:?] OF UNIQUE schema_name");
t_5->OriginatingSchema(s_header_section_schema);
t_5->ReferentType(header_section_schemat_schema_name);
ListTypeDescriptor * t_5 = new ListTypeDescriptor;
t_5->AssignAggrCreator((AggregateCreator) create_StringAggregate); // Creator function
t_5->Bound1(1);
t_5->Bound2(2147483647);
t_5->UniqueElements(LTrue);
t_5->FundamentalType(LIST_TYPE);
t_5->Description("LIST [1:?] OF UNIQUE schema_name");
t_5->OriginatingSchema(s_header_section_schema);
t_5->ReferentType(header_section_schemat_schema_name);
a_16schema_identifiers =
new AttrDescriptor("schema_identifiers",t_5,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_schema);
header_section_schemae_file_schema->AddExplicitAttr (a_16schema_identifiers);
reg.AddEntity (*header_section_schemae_file_schema);
///////// END_ENTITY file_schema
new AttrDescriptor("schema_identifiers",t_5,LFalse,LFalse, AttrType_Explicit,
*header_section_schemae_file_schema);
header_section_schemae_file_schema->AddExplicitAttr (a_16schema_identifiers);
reg.AddEntity (*header_section_schemae_file_schema);
///////// END_ENTITY file_schema
}
#endif
@@ -1,24 +1,20 @@
#ifndef SCHEMA_CC
#define SCHEMA_CC
#ifndef SDAIHEADER_SECTION_SCHEMA_SCHEMA_CC
#define SDAIHEADER_SECTION_SCHEMA_SCHEMA_CC
// This file was generated by fedex_plus. You probably don't want to edit
// it since your modifications will be lost if fedex_plus is used to
// regenerate it.
/* $Id$ */
#include <schema.h>
class Registry;
void
SchemaInit (Registry & reg)
{
extern void InitSchemasAndEnts (Registry & r);
InitSchemasAndEnts (reg);
extern void SdaiHEADER_SECTION_SCHEMAInit (Registry & r);
SdaiHEADER_SECTION_SCHEMAInit (reg);
reg.SetCompCollect( gencomplex() );
#include <SdaiHEADER_SECTION_SCHEMA.schema.h>
void HeaderSchemaInit (Registry & reg) {
HeaderInitSchemasAndEnts (reg);
SdaiHEADER_SECTION_SCHEMAInit (reg);
reg.SetCompCollect( 0 );
}
/* Generated at /opt/step/scl/src/fedex_plus/classes_wrapper.cc:685. */
/* MAP 17 Oct 11
// Generate a function to be called by Model to help it
// create the necessary Model_contents without the
// dictionary (Registry) handle since it doesn't have a
@@ -30,4 +26,5 @@ SCLP23(Model_contents_ptr) GetModelContents(char *schemaName)
return (SCLP23(Model_contents_ptr)) new SdaiModel_contents_header_section_schema;
else return (SCLP23(Model_contents_ptr)) 0;
}
*/
#endif
+14 -21
View File
@@ -1,37 +1,30 @@
#ifndef SCHEMA_H
#define SCHEMA_H
#ifndef SDAIHEADER_SECTION_SCHEMA_SCHEMA_H
#define SDAIHEADER_SECTION_SCHEMA_SCHEMA_H
// This file was generated by fedex_plus. You probably don't want to edit
// it since your modifications will be lost if fedex_plus is used to
// regenerate it.
/* $Id$ */
#ifdef SCL_LOGGING
#include <sys/time.h>
#endif
#ifdef __O3DB__
#include <OpenOODB.h>
#endif
#include <sdai.h>
#include <Registry.h>
#include <STEPaggregate.h>
#include <STEPundefined.h>
#include <ExpDict.h>
#include <STEPattribute.h>
#include <Sdaiclasses.h>
extern void SchemaInit (Registry &);
extern void InitSchemasAndEnts (Registry &);
#include <SdaiHEADER_SECTION_SCHEMA.h>
extern void SdaiHEADER_SECTION_SCHEMAInit (Registry & r);
#include <complexSupport.h>
ComplexCollect *gencomplex();
SCLP23(Model_contents_ptr) GetModelContents(char *schemaName);
#include <SdaiHEADER_SECTION_SCHEMA.classes.h>
#include <SdaiHEADER_SECTION_SCHEMA.h>
void HeaderSchemaInit (Registry &);
void HeaderInitSchemasAndEnts (Registry &);
void SdaiHEADER_SECTION_SCHEMAInit (Registry & r);
/* MAP 17 Oct 11
* ComplexCollect *gencomplex();
* SCLP23(Model_contents_ptr) GetModelContents(char *schemaName);
*/
#endif