forked from stepcode/stepcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.cc
More file actions
29 lines (26 loc) · 935 Bytes
/
Copy pathschema.cc
File metadata and controls
29 lines (26 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef SCHEMA_CC
#define 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 SdaiEXAMPLE_SCHEMAInit( Registry & r );
SdaiEXAMPLE_SCHEMAInit( reg );
reg.SetCompCollect( gencomplex() );
}
// 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
// predetermined way to access to the handle.
SCLP23( Model_contents_ptr ) GetModelContents( char * schemaName ) {
if( !strcmp( schemaName, "example_schema" ) ) {
return ( SCLP23( Model_contents_ptr ) ) new SdaiModel_contents_example_schema;
}
}
#endif