@@ -16,11 +16,6 @@ extern ofstream * logStream;
1616
1717static int debug_access_hooks = 0 ;
1818
19- #ifdef PART26
20-
21- const char * sclHostName = CORBA::Orbix.myHost(); // Default is local host
22- #endif
23-
2419Schema * s_example_schema = 0 ;
2520
2621/* ************** TYPES */
@@ -126,15 +121,6 @@ SdaiPoly_line::SdaiPoly_line( SdaiPoly_line & e ) {
126121}
127122SdaiPoly_line::~SdaiPoly_line () { }
128123
129-
130- #ifdef __O3DB__
131- void
132- SdaiPoly_line::oodb_reInit () {
133- eDesc = example_schemae_poly_line;
134- attributes [0 ].aDesc = a_0points;
135- }
136- #endif
137-
138124SdaiPoly_line::SdaiPoly_line ( SCLP23( Application_instance ) *se, int * addAttrs ) {
139125 /* Set this to point to the head entity. */
140126 HeadEntity ( se );
@@ -199,17 +185,6 @@ SdaiShape::SdaiShape( SdaiShape & e ) {
199185}
200186SdaiShape::~SdaiShape () { }
201187
202-
203- #ifdef __O3DB__
204- void
205- SdaiShape::oodb_reInit () {
206- eDesc = example_schemae_shape;
207- attributes [0 ].aDesc = a_1item_name;
208- attributes [1 ].aDesc = a_2item_color;
209- attributes [2 ].aDesc = a_3number_of_sides;
210- }
211- #endif
212-
213188SdaiShape::SdaiShape ( SCLP23( Application_instance ) *se, int * addAttrs ) {
214189 /* Set this to point to the head entity. */
215190 HeadEntity ( se );
@@ -363,15 +338,6 @@ create_SdaiRectangle( os_database * db ) {
363338}
364339#endif
365340
366- #ifdef __O3DB__
367- void
368- SdaiRectangle::oodb_reInit () {
369- eDesc = example_schemae_rectangle;
370- attributes [3 ].aDesc = a_4height;
371- attributes [4 ].aDesc = a_5width;
372- }
373- #endif
374-
375341SdaiRectangle::SdaiRectangle ( SCLP23( Application_instance ) *se, int * addAttrs ) : SdaiShape( se, ( addAttrs ? &addAttrs[1 ] : 0 ) ) {
376342 /* Set this to point to the head entity. */
377343 HeadEntity ( se );
@@ -450,13 +416,6 @@ SdaiSquare::SdaiSquare( SdaiSquare & e ) {
450416}
451417SdaiSquare::~SdaiSquare () { }
452418
453- #ifdef __O3DB__
454- void
455- SdaiSquare::oodb_reInit () {
456- eDesc = example_schemae_square;
457- }
458- #endif
459-
460419SdaiSquare::SdaiSquare ( SCLP23( Application_instance ) *se, int * addAttrs ) : SdaiRectangle( se, ( addAttrs ? &addAttrs[1 ] : 0 ) ) {
461420 /* Set this to point to the head entity. */
462421 HeadEntity ( se );
@@ -504,16 +463,6 @@ SdaiTriangle::SdaiTriangle( SdaiTriangle & e ) {
504463}
505464SdaiTriangle::~SdaiTriangle () { }
506465
507- #ifdef __O3DB__
508- void
509- SdaiTriangle::oodb_reInit () {
510- eDesc = example_schemae_triangle;
511- attributes [3 ].aDesc = a_6side1_length;
512- attributes [4 ].aDesc = a_7side2_length;
513- attributes [5 ].aDesc = a_8side3_length;
514- }
515- #endif
516-
517466SdaiTriangle::SdaiTriangle ( SCLP23( Application_instance ) *se, int * addAttrs ) : SdaiShape( se, ( addAttrs ? &addAttrs[1 ] : 0 ) ) {
518467 /* Set this to point to the head entity. */
519468 HeadEntity ( se );
@@ -620,14 +569,6 @@ SdaiCircle::SdaiCircle( SdaiCircle & e ) {
620569}
621570SdaiCircle::~SdaiCircle () { }
622571
623- #ifdef __O3DB__
624- void
625- SdaiCircle::oodb_reInit () {
626- eDesc = example_schemae_circle;
627- attributes [3 ].aDesc = a_9radius;
628- }
629- #endif
630-
631572SdaiCircle::SdaiCircle ( SCLP23( Application_instance ) *se, int * addAttrs ) : SdaiShape( se, ( addAttrs ? &addAttrs[1 ] : 0 ) ) {
632573 /* Set this to point to the head entity. */
633574 HeadEntity ( se );
@@ -691,16 +632,6 @@ SdaiLine::SdaiLine( SdaiLine & e ) {
691632}
692633SdaiLine::~SdaiLine () { }
693634
694-
695- #ifdef __O3DB__
696- void
697- SdaiLine::oodb_reInit () {
698- eDesc = example_schemae_line;
699- attributes [0 ].aDesc = a_10end_point_one;
700- attributes [1 ].aDesc = a_11end_point_two;
701- }
702- #endif
703-
704635SdaiLine::SdaiLine ( SCLP23( Application_instance ) *se, int * addAttrs ) {
705636 /* Set this to point to the head entity. */
706637 HeadEntity ( se );
@@ -788,16 +719,6 @@ SdaiCartesian_point::SdaiCartesian_point( SdaiCartesian_point & e ) {
788719}
789720SdaiCartesian_point::~SdaiCartesian_point () { }
790721
791- #ifdef __O3DB__
792- void
793- SdaiCartesian_point::oodb_reInit () {
794- eDesc = example_schemae_cartesian_point;
795- attributes [0 ].aDesc = a_12x;
796- attributes [1 ].aDesc = a_13y;
797- attributes [2 ].aDesc = a_14z;
798- }
799- #endif
800-
801722SdaiCartesian_point::SdaiCartesian_point ( SCLP23( Application_instance ) *se, int * addAttrs ) {
802723 /* Set this to point to the head entity. */
803724 HeadEntity ( se );
0 commit comments