00001
00002
00003
00004 #include "PSDL_Node.h"
00005 #include "PSDL_Scope.h"
00006 #include "PSDL_Scope_Visitor.h"
00007 #include "PSDL_Node_Visitor.h"
00008 #include "PSDL_y.h"
00009
00010 #include "PSDL_Stream.h"
00011 #include "tao/CORBA_String.h"
00012
00013 ACE_RCSID (PSS, PSDL_Node, "$Id: PSDL_Node.cpp 83311 2008-10-17 17:57:03Z johnnyw $")
00014
00015 TAO_PSDL_Node::TAO_PSDL_Node (void)
00016 : identifiers_ (),
00017 count_ (0),
00018 predefined_type_ (0),
00019 psdl_scope_ (0),
00020 psdl_scope_visitor_ (0)
00021 {
00022 }
00023
00024 TAO_PSDL_Node::~TAO_PSDL_Node (void)
00025 {
00026 }
00027
00028 int
00029 TAO_PSDL_Node::type_of_node (void) const
00030 {
00031 return this->type_;
00032 }
00033
00034
00035 TAO_PSDL_Scope_Visitor *
00036 TAO_PSDL_Node::psdl_scope_visitor (void)
00037 {
00038 if (this->psdl_scope_visitor_ == 0)
00039 this->psdl_scope_visitor_ = new TAO_PSDL_Scope_Visitor (this);
00040
00041 return this->psdl_scope_visitor_;
00042 }
00043
00044 TAO_PSDL_Scope *
00045 TAO_PSDL_Node::psdl_scope (void)
00046 {
00047 this->psdl_scope_ = TAO_PSDL_Scope::instance ()->pop_top_scope ();
00048
00049 return this->psdl_scope_;
00050 }
00051
00052 ACE_CString
00053 TAO_PSDL_Node::get_identifier_type (void)
00054 {
00055
00056
00057 return this->identifiers_[0];
00058 }
00059
00060 ACE_CString
00061 TAO_PSDL_Node::get_identifier_value (void)
00062 {
00063
00064
00065
00066 return this->identifiers_[1];
00067 }
00068
00069 void
00070 TAO_PSDL_Node::set_identifier (ACE_CString identifier)
00071 {
00072 if (this->identifiers_.size () == 0)
00073 this->identifiers_.size (2);
00074
00075 this->identifiers_[this->count_] = identifier;
00076 ++this->count_;
00077 }
00078
00079 void
00080 TAO_PSDL_Node::set_predefined_type (void)
00081 {
00082 this->predefined_type_ = 1;
00083 }
00084
00085
00086
00087 TAO_PSDL_Specification::TAO_PSDL_Specification (TAO_PSDL_Node *definition)
00088 : definition_ (definition),
00089 specification_ (0)
00090 {
00091 }
00092
00093 TAO_PSDL_Specification::TAO_PSDL_Specification (TAO_PSDL_Node *definition,
00094 TAO_PSDL_Node *specification)
00095 : definition_ (definition),
00096 specification_ (specification)
00097 {
00098 }
00099
00100 TAO_PSDL_Specification::~TAO_PSDL_Specification (void)
00101 {
00102 delete this->definition_;
00103 delete this->specification_;
00104 }
00105
00106 TAO_PSDL_Node *
00107 TAO_PSDL_Specification::definition (void) const
00108 {
00109 return this->definition_;
00110 }
00111
00112 TAO_PSDL_Node *
00113 TAO_PSDL_Specification::specification (void) const
00114 {
00115 return this->specification_;
00116 }
00117
00118 int
00119 TAO_PSDL_Specification::accept (TAO_PSDL_Node_Visitor *visitor)
00120 {
00121 int result = visitor->visit_specification (this);
00122
00123
00124
00125
00126
00127 TAO_PSDL_Stream *ps_sh = TAO_PSDL_Scope::instance ()->get_sh ();
00128
00129 *ps_sh << "#if defined (__ACE_INLINE__)"; ps_sh->nl ();
00130 *ps_sh << "#include \""
00131 << TAO_PSDL_Scope::instance ()->get_stub_prefix ()
00132 << "C.i\""; ps_sh->nl ();
00133 *ps_sh << "#endif /* defined INLINE */"; ps_sh->nl ();
00134
00135 ps_sh->nl ();
00136
00137 *ps_sh << "#if defined(_MSC_VER)"; ps_sh->nl ();
00138 *ps_sh << "#pragma warning(pop)"; ps_sh->nl ();
00139 *ps_sh << "#endif /* _MSC_VER */"; ps_sh->nl ();
00140
00141 ps_sh->nl ();
00142
00143 *ps_sh << "#endif /* ifndef */"; ps_sh->nl ();
00144
00145 return result;
00146 }
00147
00148
00149
00150 TAO_PSDL_Definition::TAO_PSDL_Definition (TAO_PSDL_Node *definition_type)
00151 : definition_type_ (definition_type)
00152 {
00153 }
00154
00155 TAO_PSDL_Definition::~TAO_PSDL_Definition (void)
00156 {
00157 delete this->definition_type_;
00158 }
00159
00160 TAO_PSDL_Node *
00161 TAO_PSDL_Definition::definition_type (void) const
00162 {
00163 return this->definition_type_;
00164 }
00165
00166 int
00167 TAO_PSDL_Definition::accept (TAO_PSDL_Node_Visitor *visitor)
00168 {
00169 return visitor->visit_definition (this);
00170 }
00171
00172
00173
00174 TAO_PSDL_Module::TAO_PSDL_Module (int type,
00175 TAO_PSDL_Node *identifier,
00176 TAO_PSDL_Node *specification)
00177 : identifier_ (identifier),
00178 specification_ (specification)
00179 {
00180 this->type_ = type;
00181 }
00182
00183 TAO_PSDL_Module::~TAO_PSDL_Module (void)
00184 {
00185 delete this->identifier_;
00186 delete this->specification_;
00187 }
00188
00189 TAO_PSDL_Node *
00190 TAO_PSDL_Module::identifier (void) const
00191 {
00192 return this->identifier_;
00193 }
00194
00195 TAO_PSDL_Node *
00196 TAO_PSDL_Module::specification (void) const
00197 {
00198 return this->specification_;
00199 }
00200
00201 void
00202 TAO_PSDL_Module::set_identifier_name (ACE_CString identifier_name)
00203 {
00204 this->module_name_ = identifier_name;
00205 }
00206
00207 ACE_CString
00208 TAO_PSDL_Module::identifier_name (void) const
00209 {
00210 return this->module_name_;
00211 }
00212
00213 int
00214 TAO_PSDL_Module::accept (TAO_PSDL_Node_Visitor *visitor)
00215 {
00216 return visitor->visit_module (this);
00217 }
00218
00219
00220
00221 TAO_PSDL_Abstract_Storagetype::TAO_PSDL_Abstract_Storagetype (TAO_PSDL_Node *storagetype_dcl)
00222 : storagetype_dcl_ (storagetype_dcl)
00223 {
00224 }
00225
00226 TAO_PSDL_Abstract_Storagetype::~TAO_PSDL_Abstract_Storagetype (void)
00227 {
00228 delete this->storagetype_dcl_;
00229 }
00230
00231 TAO_PSDL_Node *
00232 TAO_PSDL_Abstract_Storagetype::storagetype_dcl (void) const
00233 {
00234 return this->storagetype_dcl_;
00235 }
00236
00237 int
00238 TAO_PSDL_Abstract_Storagetype::accept (TAO_PSDL_Node_Visitor *visitor)
00239 {
00240 return visitor->visit_abstract_storagetype (this);
00241 }
00242
00243
00244
00245 TAO_PSDL_Abstract_Storagetype_Dcl::TAO_PSDL_Abstract_Storagetype_Dcl (
00246 TAO_PSDL_Node *abs_storagetype_header)
00247 : abs_storagetype_header_ (abs_storagetype_header),
00248 abs_storagetype_body_ (0)
00249 {
00250 }
00251
00252 TAO_PSDL_Abstract_Storagetype_Dcl::TAO_PSDL_Abstract_Storagetype_Dcl (
00253 TAO_PSDL_Node *abs_storagetype_header,
00254 TAO_PSDL_Node *abs_storagetype_body)
00255 : abs_storagetype_header_ (abs_storagetype_header),
00256 abs_storagetype_body_ (abs_storagetype_body)
00257 {
00258 }
00259
00260 TAO_PSDL_Abstract_Storagetype_Dcl::~TAO_PSDL_Abstract_Storagetype_Dcl (void)
00261 {
00262 delete this->abs_storagetype_header_;
00263 if (this->abs_storagetype_body_ != 0)
00264 delete this->abs_storagetype_body_;
00265 }
00266
00267 TAO_PSDL_Node *
00268 TAO_PSDL_Abstract_Storagetype_Dcl::abs_storagetype_header (void) const
00269 {
00270 return this->abs_storagetype_header_;
00271 }
00272
00273 TAO_PSDL_Node *
00274 TAO_PSDL_Abstract_Storagetype_Dcl::abs_storagetype_body (void) const
00275 {
00276 return this->abs_storagetype_body_;
00277 }
00278
00279 int
00280 TAO_PSDL_Abstract_Storagetype_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
00281 {
00282 return visitor->visit_abstract_storagetype_dcl (this);
00283 }
00284
00285
00286
00287 TAO_PSDL_Abstract_Storagetype_Fwd_Dcl::TAO_PSDL_Abstract_Storagetype_Fwd_Dcl (
00288 TAO_PSDL_Node *identifier)
00289 : identifier_ (identifier)
00290 {
00291 }
00292
00293 TAO_PSDL_Abstract_Storagetype_Fwd_Dcl::~TAO_PSDL_Abstract_Storagetype_Fwd_Dcl (void)
00294 {
00295 delete this->identifier_;
00296 }
00297
00298 TAO_PSDL_Node *
00299 TAO_PSDL_Abstract_Storagetype_Fwd_Dcl::identifier (void) const
00300 {
00301 return this->identifier_;
00302 }
00303
00304 int
00305 TAO_PSDL_Abstract_Storagetype_Fwd_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
00306 {
00307 return visitor->visit_abstract_storagetype_fwd_dcl (this);
00308 }
00309
00310
00311
00312 TAO_PSDL_Abstract_Storagetype_Header::TAO_PSDL_Abstract_Storagetype_Header (TAO_PSDL_Node *identifier)
00313 : identifier_ (identifier)
00314 {
00315 }
00316
00317 TAO_PSDL_Abstract_Storagetype_Header::TAO_PSDL_Abstract_Storagetype_Header (
00318 TAO_PSDL_Node *identifier,
00319 TAO_PSDL_Node *abs_storagetype_inh_spec)
00320 : identifier_ (identifier),
00321 abs_storagetype_inh_spec_ (abs_storagetype_inh_spec)
00322 {
00323 }
00324
00325 TAO_PSDL_Abstract_Storagetype_Header::~TAO_PSDL_Abstract_Storagetype_Header (void)
00326 {
00327 delete this->identifier_;
00328 delete this->abs_storagetype_inh_spec_;
00329 }
00330
00331 TAO_PSDL_Node *
00332 TAO_PSDL_Abstract_Storagetype_Header::identifier (void) const
00333 {
00334 return this->identifier_;
00335 }
00336
00337 TAO_PSDL_Node *
00338 TAO_PSDL_Abstract_Storagetype_Header::abs_storagetype_inh_spec (void) const
00339 {
00340 return this->abs_storagetype_inh_spec_;
00341 }
00342
00343 int
00344 TAO_PSDL_Abstract_Storagetype_Header::accept (TAO_PSDL_Node_Visitor *visitor)
00345 {
00346 return visitor->visit_abstract_storagetype_header (this);
00347 }
00348
00349
00350
00351 TAO_PSDL_Abstract_Storagetype_Body::TAO_PSDL_Abstract_Storagetype_Body (TAO_PSDL_Node *abs_storagetype_member)
00352 : abs_storagetype_member_ (abs_storagetype_member)
00353 {
00354 }
00355
00356 TAO_PSDL_Abstract_Storagetype_Body::TAO_PSDL_Abstract_Storagetype_Body (
00357 TAO_PSDL_Node *abs_storagetype_member,
00358 TAO_PSDL_Node *abs_storagetype_body)
00359 : abs_storagetype_member_ (abs_storagetype_member),
00360 abs_storagetype_body_ (abs_storagetype_body)
00361 {
00362 }
00363
00364 TAO_PSDL_Abstract_Storagetype_Body::~TAO_PSDL_Abstract_Storagetype_Body (void)
00365 {
00366 delete this->abs_storagetype_member_;
00367 delete this->abs_storagetype_body_;
00368 }
00369
00370 TAO_PSDL_Node *
00371 TAO_PSDL_Abstract_Storagetype_Body::abs_storagetype_member (void) const
00372 {
00373 return this->abs_storagetype_member_;
00374 }
00375
00376 TAO_PSDL_Node *
00377 TAO_PSDL_Abstract_Storagetype_Body::abs_storagetype_body (void) const
00378 {
00379 return this->abs_storagetype_body_;
00380 }
00381
00382 int
00383 TAO_PSDL_Abstract_Storagetype_Body::accept (TAO_PSDL_Node_Visitor *visitor)
00384 {
00385 return visitor->visit_abstract_storagetype_body (this);
00386 }
00387
00388
00389
00390 TAO_PSDL_Abstract_Storagetype_Member::TAO_PSDL_Abstract_Storagetype_Member (TAO_PSDL_Node *declaration)
00391 : declaration_ (declaration)
00392 {
00393 }
00394
00395 TAO_PSDL_Abstract_Storagetype_Member::~TAO_PSDL_Abstract_Storagetype_Member (void)
00396 {
00397 delete this->declaration_;
00398 }
00399
00400 TAO_PSDL_Node *
00401 TAO_PSDL_Abstract_Storagetype_Member::declaration (void) const
00402 {
00403 return this->declaration_;
00404 }
00405
00406 int
00407 TAO_PSDL_Abstract_Storagetype_Member::accept (TAO_PSDL_Node_Visitor *visitor)
00408 {
00409 return visitor->visit_abstract_storagetype_member (this);
00410 }
00411
00412
00413
00414 TAO_PSDL_Abstract_Storagetype_Inh_Spec::TAO_PSDL_Abstract_Storagetype_Inh_Spec (TAO_PSDL_Node *abs_storagetype_name)
00415 : abs_storagetype_name_ (abs_storagetype_name)
00416 {
00417 }
00418
00419 TAO_PSDL_Abstract_Storagetype_Inh_Spec::~TAO_PSDL_Abstract_Storagetype_Inh_Spec (void)
00420 {
00421 delete this->abs_storagetype_name_;
00422 }
00423
00424 TAO_PSDL_Node *
00425 TAO_PSDL_Abstract_Storagetype_Inh_Spec::abs_storagetype_name (void) const
00426 {
00427 return this->abs_storagetype_name_;
00428 }
00429
00430 int
00431 TAO_PSDL_Abstract_Storagetype_Inh_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
00432 {
00433 return visitor->visit_abstract_storagetype_inh_spec (this);
00434 }
00435
00436
00437
00438 TAO_PSDL_Abstract_Storagetype_Name::TAO_PSDL_Abstract_Storagetype_Name (TAO_PSDL_Node *scoped_name)
00439 : scoped_name_ (scoped_name),
00440 abs_storagetype_name_ (0)
00441 {
00442 }
00443
00444 TAO_PSDL_Abstract_Storagetype_Name::TAO_PSDL_Abstract_Storagetype_Name (
00445 TAO_PSDL_Node *scoped_name,
00446 TAO_PSDL_Node *abs_storagetype_name)
00447 : scoped_name_ (scoped_name),
00448 abs_storagetype_name_ (abs_storagetype_name)
00449 {
00450 }
00451
00452 TAO_PSDL_Abstract_Storagetype_Name::~TAO_PSDL_Abstract_Storagetype_Name (void)
00453 {
00454 delete this->scoped_name_;
00455 if (this->abs_storagetype_name_ != 0)
00456 delete this->abs_storagetype_name_;
00457 }
00458
00459 TAO_PSDL_Node *
00460 TAO_PSDL_Abstract_Storagetype_Name::scoped_name (void) const
00461 {
00462 return this->scoped_name_;
00463 }
00464
00465 TAO_PSDL_Node *
00466 TAO_PSDL_Abstract_Storagetype_Name::abs_storagetype_name (void) const
00467 {
00468 return this->abs_storagetype_name_;
00469 }
00470
00471 int
00472 TAO_PSDL_Abstract_Storagetype_Name::accept (TAO_PSDL_Node_Visitor *visitor)
00473 {
00474 return visitor->visit_abstract_storagetype_name (this);
00475 }
00476
00477
00478
00479 TAO_PSDL_Psdl_State_Dcl::TAO_PSDL_Psdl_State_Dcl (TAO_PSDL_Node *key_word,
00480 TAO_PSDL_Node *psdl_state_type_spec,
00481 TAO_PSDL_Node *simple_declarator)
00482 : key_word_ (key_word),
00483 psdl_state_type_spec_ (psdl_state_type_spec),
00484 simple_declarator_ (simple_declarator)
00485 {
00486 }
00487
00488 TAO_PSDL_Psdl_State_Dcl::TAO_PSDL_Psdl_State_Dcl (TAO_PSDL_Node *psdl_state_type_spec,
00489 TAO_PSDL_Node *simple_declarator)
00490 : key_word_ (0),
00491 psdl_state_type_spec_ (psdl_state_type_spec),
00492 simple_declarator_ (simple_declarator)
00493 {
00494 }
00495
00496 TAO_PSDL_Psdl_State_Dcl::~TAO_PSDL_Psdl_State_Dcl (void)
00497 {
00498 if (this->key_word_ != 0)
00499 delete this->key_word_;
00500 delete this->psdl_state_type_spec_;
00501 delete this->simple_declarator_;
00502 }
00503
00504 TAO_PSDL_Node *
00505 TAO_PSDL_Psdl_State_Dcl::key_word (void) const
00506 {
00507 return this->key_word_;
00508 }
00509
00510 TAO_PSDL_Node *
00511 TAO_PSDL_Psdl_State_Dcl::psdl_state_type_spec (void) const
00512 {
00513 return this->psdl_state_type_spec_;
00514 }
00515
00516 TAO_PSDL_Node *
00517 TAO_PSDL_Psdl_State_Dcl::simple_declarator (void) const
00518 {
00519 return this->simple_declarator_;
00520 }
00521
00522 int
00523 TAO_PSDL_Psdl_State_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
00524 {
00525 return visitor->visit_psdl_state_dcl (this);
00526 }
00527
00528
00529
00530 TAO_PSDL_Psdl_State_Type_Spec::TAO_PSDL_Psdl_State_Type_Spec (TAO_PSDL_Node *type_spec)
00531 : type_spec_ (type_spec)
00532 {
00533 }
00534
00535 TAO_PSDL_Psdl_State_Type_Spec::~TAO_PSDL_Psdl_State_Type_Spec (void)
00536 {
00537 delete this->type_spec_;
00538 }
00539
00540 TAO_PSDL_Node *
00541 TAO_PSDL_Psdl_State_Type_Spec::type_spec (void) const
00542 {
00543 return this->type_spec_;
00544 }
00545
00546 int
00547 TAO_PSDL_Psdl_State_Type_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
00548 {
00549 return visitor->visit_psdl_state_type_spec (this);
00550 }
00551
00552
00553
00554 TAO_PSDL_Abstract_Storagetype_Ref_Type::TAO_PSDL_Abstract_Storagetype_Ref_Type (TAO_PSDL_Node *key_word,
00555 TAO_PSDL_Node *abs_storagetype_name)
00556 : key_word_ (key_word),
00557 abs_storagetype_name_ (abs_storagetype_name)
00558 {
00559 }
00560
00561 TAO_PSDL_Abstract_Storagetype_Ref_Type::TAO_PSDL_Abstract_Storagetype_Ref_Type (TAO_PSDL_Node *abs_storagetype_name)
00562 : key_word_ (0),
00563 abs_storagetype_name_ (abs_storagetype_name)
00564 {
00565 }
00566
00567 TAO_PSDL_Abstract_Storagetype_Ref_Type::~TAO_PSDL_Abstract_Storagetype_Ref_Type (void)
00568 {
00569 if (this->key_word_ != 0)
00570 delete this->key_word_;
00571 delete this->abs_storagetype_name_;
00572 }
00573
00574
00575 TAO_PSDL_Node *
00576 TAO_PSDL_Abstract_Storagetype_Ref_Type::key_word (void) const
00577 {
00578 return this->key_word_;
00579 }
00580
00581 TAO_PSDL_Node *
00582 TAO_PSDL_Abstract_Storagetype_Ref_Type::abs_storagetype_name (void) const
00583 {
00584 return this->abs_storagetype_name_;
00585 }
00586
00587
00588 int
00589 TAO_PSDL_Abstract_Storagetype_Ref_Type::accept (TAO_PSDL_Node_Visitor *visitor)
00590 {
00591 return visitor->visit_abstract_storagetype_ref_type (this);
00592 }
00593
00594
00595
00596 TAO_PSDL_Abstract_Storagehome::TAO_PSDL_Abstract_Storagehome (TAO_PSDL_Node *abs_storagehome_dcl)
00597 : abs_storagehome_dcl_ (abs_storagehome_dcl)
00598 {
00599 }
00600
00601 TAO_PSDL_Abstract_Storagehome::~TAO_PSDL_Abstract_Storagehome (void)
00602 {
00603 delete this->abs_storagehome_dcl_;
00604 }
00605
00606
00607 TAO_PSDL_Node *
00608 TAO_PSDL_Abstract_Storagehome::abs_storagehome_dcl (void) const
00609 {
00610 return this->abs_storagehome_dcl_;
00611 }
00612
00613
00614 int
00615 TAO_PSDL_Abstract_Storagehome::accept (TAO_PSDL_Node_Visitor *visitor)
00616 {
00617 return visitor->visit_abstract_storagehome (this);
00618 }
00619
00620
00621
00622 TAO_PSDL_Abstract_Storagehome_Fwd_Dcl::TAO_PSDL_Abstract_Storagehome_Fwd_Dcl (
00623 TAO_PSDL_Node *identifier)
00624 : identifier_ (identifier)
00625 {
00626 }
00627
00628 TAO_PSDL_Abstract_Storagehome_Fwd_Dcl::~TAO_PSDL_Abstract_Storagehome_Fwd_Dcl (void)
00629 {
00630 delete this->identifier_;
00631 }
00632
00633
00634 TAO_PSDL_Node *
00635 TAO_PSDL_Abstract_Storagehome_Fwd_Dcl::identifier (void) const
00636 {
00637 return this->identifier_;
00638 }
00639
00640
00641 int
00642 TAO_PSDL_Abstract_Storagehome_Fwd_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
00643 {
00644 return visitor->visit_abstract_storagehome_fwd_dcl (this);
00645 }
00646
00647
00648
00649 TAO_PSDL_Abstract_Storagehome_Dcl::TAO_PSDL_Abstract_Storagehome_Dcl (TAO_PSDL_Node *abs_storagehome_header)
00650 : abs_storagehome_header_ (abs_storagehome_header),
00651 abs_storagehome_body_ (0)
00652 {
00653 }
00654
00655 TAO_PSDL_Abstract_Storagehome_Dcl::TAO_PSDL_Abstract_Storagehome_Dcl (TAO_PSDL_Node *abs_storagehome_header,
00656 TAO_PSDL_Node *abs_storagehome_body)
00657 : abs_storagehome_header_ (abs_storagehome_header),
00658 abs_storagehome_body_ (abs_storagehome_body)
00659 {
00660 }
00661
00662 TAO_PSDL_Abstract_Storagehome_Dcl::~TAO_PSDL_Abstract_Storagehome_Dcl (void)
00663 {
00664 delete this->abs_storagehome_header_;
00665 delete this->abs_storagehome_body_;
00666 }
00667
00668
00669
00670 TAO_PSDL_Node *
00671 TAO_PSDL_Abstract_Storagehome_Dcl::abs_storagehome_header (void) const
00672 {
00673 return this->abs_storagehome_header_;
00674 }
00675
00676 TAO_PSDL_Node *
00677 TAO_PSDL_Abstract_Storagehome_Dcl::abs_storagehome_body (void) const
00678 {
00679 return this->abs_storagehome_body_;
00680 }
00681
00682
00683 int
00684 TAO_PSDL_Abstract_Storagehome_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
00685 {
00686 return visitor->visit_abstract_storagehome_dcl (this);
00687 }
00688
00689
00690
00691 TAO_PSDL_Abstract_Storagehome_Header::TAO_PSDL_Abstract_Storagehome_Header (TAO_PSDL_Node *identifier,
00692 TAO_PSDL_Node *abs_storagetype_name)
00693 : identifier_ (identifier),
00694 abs_storagetype_name_ (abs_storagetype_name),
00695 abs_storagehome_inh_spec_ (0)
00696 {
00697 }
00698
00699 TAO_PSDL_Abstract_Storagehome_Header::TAO_PSDL_Abstract_Storagehome_Header (TAO_PSDL_Node *identifier,
00700 TAO_PSDL_Node *abs_storagetype_name,
00701 TAO_PSDL_Node *abs_storagehome_inh_spec)
00702 : identifier_ (identifier),
00703 abs_storagetype_name_ (abs_storagetype_name),
00704 abs_storagehome_inh_spec_ (abs_storagehome_inh_spec)
00705 {
00706 }
00707
00708 TAO_PSDL_Abstract_Storagehome_Header::~TAO_PSDL_Abstract_Storagehome_Header (void)
00709 {
00710 }
00711
00712
00713 TAO_PSDL_Node *
00714 TAO_PSDL_Abstract_Storagehome_Header::identifier (void) const
00715 {
00716 return this->identifier_;
00717 }
00718
00719 TAO_PSDL_Node *
00720 TAO_PSDL_Abstract_Storagehome_Header::abs_storagetype_name (void) const
00721 {
00722 return this->abs_storagetype_name_;
00723 }
00724
00725 TAO_PSDL_Node *
00726 TAO_PSDL_Abstract_Storagehome_Header::abs_storagehome_inh_spec (void) const
00727 {
00728 return this->abs_storagehome_inh_spec_;
00729 }
00730
00731
00732
00733 int
00734 TAO_PSDL_Abstract_Storagehome_Header::accept (TAO_PSDL_Node_Visitor *visitor)
00735 {
00736 return visitor->visit_abstract_storagehome_header (this);
00737 }
00738
00739
00740
00741
00742 TAO_PSDL_Abstract_Storagehome_Body::TAO_PSDL_Abstract_Storagehome_Body ()
00743 {
00744 }
00745
00746 TAO_PSDL_Abstract_Storagehome_Body::TAO_PSDL_Abstract_Storagehome_Body (TAO_PSDL_Node *abs_storagehome_member)
00747 : abs_storagehome_member_ (abs_storagehome_member)
00748 {
00749 }
00750
00751 TAO_PSDL_Abstract_Storagehome_Body::TAO_PSDL_Abstract_Storagehome_Body (TAO_PSDL_Node *abs_storagehome_member,
00752 TAO_PSDL_Node *abs_storagehome_body)
00753 : abs_storagehome_member_ (abs_storagehome_member),
00754 abs_storagehome_body_ (abs_storagehome_body)
00755 {
00756 }
00757
00758 TAO_PSDL_Abstract_Storagehome_Body::~TAO_PSDL_Abstract_Storagehome_Body (void)
00759 {
00760 delete this->abs_storagehome_member_;
00761
00762 if (this->abs_storagehome_body_ != 0)
00763 delete this->abs_storagehome_body_;
00764 }
00765
00766
00767
00768 TAO_PSDL_Node *
00769 TAO_PSDL_Abstract_Storagehome_Body::abs_storagehome_member (void) const
00770 {
00771 return this->abs_storagehome_member_;
00772 }
00773
00774 TAO_PSDL_Node *
00775 TAO_PSDL_Abstract_Storagehome_Body::abs_storagehome_body (void) const
00776 {
00777 return this->abs_storagehome_body_;
00778 }
00779
00780
00781 int
00782 TAO_PSDL_Abstract_Storagehome_Body::accept (TAO_PSDL_Node_Visitor *visitor)
00783 {
00784 return visitor->visit_abstract_storagehome_body (this);
00785 }
00786
00787
00788
00789
00790 TAO_PSDL_Abstract_Storagehome_Member::TAO_PSDL_Abstract_Storagehome_Member (TAO_PSDL_Node *declaration_type)
00791 : declaration_type_ (declaration_type)
00792 {
00793 }
00794
00795 TAO_PSDL_Abstract_Storagehome_Member::~TAO_PSDL_Abstract_Storagehome_Member (void)
00796 {
00797 delete this->declaration_type_;
00798 }
00799
00800
00801 TAO_PSDL_Node *
00802 TAO_PSDL_Abstract_Storagehome_Member::declaration_type (void) const
00803 {
00804 return this->declaration_type_;
00805 }
00806
00807
00808 int
00809 TAO_PSDL_Abstract_Storagehome_Member::accept (TAO_PSDL_Node_Visitor *visitor)
00810 {
00811 return visitor->visit_abstract_storagehome_member (this);
00812 }
00813
00814
00815
00816 TAO_PSDL_Abstract_Storagehome_Inh_Spec::TAO_PSDL_Abstract_Storagehome_Inh_Spec (TAO_PSDL_Node *abs_storagehome_name)
00817 : abs_storagehome_name_ (abs_storagehome_name)
00818 {
00819 }
00820
00821 TAO_PSDL_Abstract_Storagehome_Inh_Spec::~TAO_PSDL_Abstract_Storagehome_Inh_Spec (void)
00822 {
00823 delete this->abs_storagehome_name_;
00824 }
00825
00826
00827 TAO_PSDL_Node *
00828 TAO_PSDL_Abstract_Storagehome_Inh_Spec::abs_storagehome_name (void) const
00829 {
00830 return this->abs_storagehome_name_;
00831 }
00832
00833
00834
00835 int
00836 TAO_PSDL_Abstract_Storagehome_Inh_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
00837 {
00838 return visitor->visit_abstract_storagehome_inh_spec (this);
00839 }
00840
00841
00842
00843 TAO_PSDL_Abstract_Storagehome_Name::TAO_PSDL_Abstract_Storagehome_Name (TAO_PSDL_Node *scoped_name)
00844 : scoped_name_ (scoped_name),
00845 abs_storagehome_name_ (0)
00846 {
00847 }
00848
00849 TAO_PSDL_Abstract_Storagehome_Name::TAO_PSDL_Abstract_Storagehome_Name (TAO_PSDL_Node *scoped_name,
00850 TAO_PSDL_Node *abs_storagehome_name)
00851 : scoped_name_ (scoped_name),
00852 abs_storagehome_name_ (abs_storagehome_name)
00853 {
00854 }
00855
00856 TAO_PSDL_Abstract_Storagehome_Name::~TAO_PSDL_Abstract_Storagehome_Name (void)
00857 {
00858 delete this->scoped_name_;
00859 if (this->abs_storagehome_name_ != 0)
00860 delete this->abs_storagehome_name_;
00861 }
00862
00863
00864 TAO_PSDL_Node *
00865 TAO_PSDL_Abstract_Storagehome_Name::scoped_name (void) const
00866 {
00867 return this->scoped_name_;
00868 }
00869
00870 TAO_PSDL_Node *
00871 TAO_PSDL_Abstract_Storagehome_Name::abs_storagehome_name (void) const
00872 {
00873 return this->abs_storagehome_name_;
00874 }
00875
00876
00877 int
00878 TAO_PSDL_Abstract_Storagehome_Name::accept (TAO_PSDL_Node_Visitor *visitor)
00879 {
00880 return visitor->visit_abstract_storagehome_name (this);
00881 }
00882
00883
00884
00885 TAO_PSDL_Local_Op_Dcl::TAO_PSDL_Local_Op_Dcl (TAO_PSDL_Node *op_type_spec,
00886 TAO_PSDL_Node *identifier,
00887 TAO_PSDL_Node *parameter_dcls,
00888 TAO_PSDL_Node *raises_expr)
00889 : op_type_spec_ (op_type_spec),
00890 identifier_ (identifier),
00891 parameter_dcls_ (parameter_dcls),
00892 raises_expr_ (raises_expr)
00893 {
00894 }
00895
00896 TAO_PSDL_Local_Op_Dcl::TAO_PSDL_Local_Op_Dcl (TAO_PSDL_Node *op_type_spec,
00897 TAO_PSDL_Node *identifier,
00898 TAO_PSDL_Node *parameter_dcls)
00899 : op_type_spec_ (op_type_spec),
00900 identifier_ (identifier),
00901 parameter_dcls_ (parameter_dcls),
00902 raises_expr_ (0)
00903 {
00904 }
00905
00906 TAO_PSDL_Local_Op_Dcl::~TAO_PSDL_Local_Op_Dcl (void)
00907 {
00908 delete this->op_type_spec_;
00909 delete this->identifier_;
00910 delete this->parameter_dcls_;
00911 if (this->raises_expr_ != 0)
00912 delete this->raises_expr_;
00913 }
00914
00915
00916 TAO_PSDL_Node *
00917 TAO_PSDL_Local_Op_Dcl::op_type_spec (void) const
00918 {
00919 return this->op_type_spec_;
00920 }
00921
00922 TAO_PSDL_Node *
00923 TAO_PSDL_Local_Op_Dcl::identifier (void) const
00924 {
00925 return this->identifier_;
00926 }
00927
00928 TAO_PSDL_Node *
00929 TAO_PSDL_Local_Op_Dcl::parameter_dcls (void) const
00930 {
00931 return this->parameter_dcls_;
00932 }
00933
00934 TAO_PSDL_Node *
00935 TAO_PSDL_Local_Op_Dcl::raises_expr (void) const
00936 {
00937 return this->raises_expr_;
00938 }
00939
00940
00941 int
00942 TAO_PSDL_Local_Op_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
00943 {
00944 return visitor->visit_local_op_dcl (this);
00945 }
00946
00947
00948
00949 TAO_PSDL_Key_Dcl::TAO_PSDL_Key_Dcl (TAO_PSDL_Node *identifier,
00950 TAO_PSDL_Node *simple_declarator)
00951 : identifier_ (identifier),
00952 simple_declarator_ (simple_declarator)
00953 {
00954 }
00955
00956 TAO_PSDL_Key_Dcl::TAO_PSDL_Key_Dcl (TAO_PSDL_Node *identifier)
00957 : identifier_ (identifier),
00958 simple_declarator_ (0)
00959 {
00960 }
00961
00962 TAO_PSDL_Key_Dcl::~TAO_PSDL_Key_Dcl (void)
00963 {
00964 delete this->identifier_;
00965 if (this->simple_declarator_ != 0)
00966 delete this->simple_declarator_;
00967 }
00968
00969
00970 TAO_PSDL_Node *
00971 TAO_PSDL_Key_Dcl::identifier (void) const
00972 {
00973 return this->identifier_;
00974 }
00975
00976 TAO_PSDL_Node *
00977 TAO_PSDL_Key_Dcl::simple_declarator (void) const
00978 {
00979 return this->simple_declarator_;
00980 }
00981
00982
00983 int
00984 TAO_PSDL_Key_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
00985 {
00986 return visitor->visit_key_dcl (this);
00987 }
00988
00989
00990
00991 TAO_PSDL_Catalog::TAO_PSDL_Catalog (TAO_PSDL_Node *identifier)
00992 : identifier_ (identifier),
00993 catalog_inh_spec_ (0),
00994 catalog_body_ (0)
00995 {
00996 }
00997
00998 TAO_PSDL_Catalog::TAO_PSDL_Catalog (TAO_PSDL_Node *identifier,
00999 TAO_PSDL_Node *catalog_inh_spec,
01000 TAO_PSDL_Node *catalog_body)
01001 :identifier_ (identifier),
01002 catalog_inh_spec_ (catalog_inh_spec),
01003 catalog_body_ (catalog_body)
01004 {
01005 }
01006
01007 TAO_PSDL_Catalog::TAO_PSDL_Catalog (TAO_PSDL_Node *identifier,
01008 TAO_PSDL_Node *catalog_body)
01009 : identifier_ (identifier),
01010 catalog_inh_spec_ (0),
01011 catalog_body_ (catalog_body)
01012 {
01013 }
01014
01015 TAO_PSDL_Catalog::~TAO_PSDL_Catalog (void)
01016 {
01017 delete this->identifier_;
01018
01019 if (this->catalog_inh_spec_ != 0)
01020 delete this->catalog_inh_spec_;
01021
01022 delete this->catalog_body_;
01023 }
01024
01025
01026 TAO_PSDL_Node *
01027 TAO_PSDL_Catalog::identifier (void) const
01028 {
01029 return this->identifier_;
01030 }
01031
01032 TAO_PSDL_Node *
01033 TAO_PSDL_Catalog::catalog_inh_spec (void) const
01034 {
01035 return this->catalog_inh_spec_;
01036 }
01037
01038 TAO_PSDL_Node *
01039 TAO_PSDL_Catalog::catalog_body (void) const
01040 {
01041 return this->catalog_body_;
01042 }
01043
01044
01045 int
01046 TAO_PSDL_Catalog::accept (TAO_PSDL_Node_Visitor *visitor)
01047 {
01048 return visitor->visit_catalog (this);
01049 }
01050
01051
01052
01053
01054 TAO_PSDL_Catalog_Inh_Spec::TAO_PSDL_Catalog_Inh_Spec (TAO_PSDL_Node *catalog_name)
01055 : catalog_name_ (catalog_name)
01056 {
01057 }
01058
01059 TAO_PSDL_Catalog_Inh_Spec::~TAO_PSDL_Catalog_Inh_Spec (void)
01060 {
01061 delete this->catalog_name_;
01062 }
01063
01064
01065 TAO_PSDL_Node *
01066 TAO_PSDL_Catalog_Inh_Spec::catalog_name (void) const
01067 {
01068 return this->catalog_name_;
01069 }
01070
01071
01072 int
01073 TAO_PSDL_Catalog_Inh_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
01074 {
01075 return visitor->visit_catalog_inh_spec (this);
01076 }
01077
01078
01079
01080 TAO_PSDL_Catalog_Name::TAO_PSDL_Catalog_Name (TAO_PSDL_Node *scoped_name)
01081 : scoped_name_ (scoped_name),
01082 catalog_name_ (0)
01083 {
01084 }
01085
01086 TAO_PSDL_Catalog_Name::TAO_PSDL_Catalog_Name (TAO_PSDL_Node *scoped_name,
01087 TAO_PSDL_Node *catalog_name)
01088 : scoped_name_ (scoped_name),
01089 catalog_name_ (catalog_name)
01090 {
01091 }
01092
01093 TAO_PSDL_Catalog_Name::~TAO_PSDL_Catalog_Name (void)
01094 {
01095 delete this->scoped_name_;
01096 if (this->catalog_name_ != 0)
01097 delete this->catalog_name_;
01098 }
01099
01100
01101 TAO_PSDL_Node *
01102 TAO_PSDL_Catalog_Name::scoped_name (void) const
01103 {
01104 return this->scoped_name_;
01105 }
01106
01107 TAO_PSDL_Node *
01108 TAO_PSDL_Catalog_Name::catalog_name (void) const
01109 {
01110 return this->catalog_name_;
01111 }
01112
01113
01114 int
01115 TAO_PSDL_Catalog_Name::accept (TAO_PSDL_Node_Visitor *visitor)
01116 {
01117 return visitor->visit_catalog_name (this);
01118 }
01119
01120
01121
01122 TAO_PSDL_Catalog_Body::TAO_PSDL_Catalog_Body ()
01123 : catalog_member_ (0),
01124 catalog_body_ (0)
01125 {
01126 }
01127
01128 TAO_PSDL_Catalog_Body::TAO_PSDL_Catalog_Body (TAO_PSDL_Node *catalog_member)
01129 : catalog_member_ (catalog_member)
01130 {
01131 }
01132
01133 TAO_PSDL_Catalog_Body::TAO_PSDL_Catalog_Body (TAO_PSDL_Node *catalog_member,
01134 TAO_PSDL_Node *catalog_body)
01135 : catalog_member_ (catalog_member),
01136 catalog_body_ (catalog_body)
01137 {
01138 }
01139
01140 TAO_PSDL_Catalog_Body::~TAO_PSDL_Catalog_Body (void)
01141 {
01142 if (this->catalog_member_ != 0)
01143 delete this->catalog_member_;
01144
01145 if (this->catalog_body_ != 0)
01146 delete this->catalog_body_;
01147 }
01148
01149
01150 TAO_PSDL_Node *
01151 TAO_PSDL_Catalog_Body::catalog_member (void) const
01152 {
01153 return this->catalog_member_;
01154 }
01155
01156 TAO_PSDL_Node *
01157 TAO_PSDL_Catalog_Body::catalog_body (void) const
01158 {
01159 return this->catalog_body_;
01160 }
01161
01162
01163 int
01164 TAO_PSDL_Catalog_Body::accept (TAO_PSDL_Node_Visitor *visitor)
01165 {
01166 return visitor->visit_catalog_body (this);
01167 }
01168
01169
01170
01171 TAO_PSDL_Catalog_Member::TAO_PSDL_Catalog_Member (TAO_PSDL_Node *declaration)
01172 : declaration_ (declaration)
01173 {
01174 }
01175
01176 TAO_PSDL_Catalog_Member::~TAO_PSDL_Catalog_Member (void)
01177 {
01178 delete this->declaration_;
01179 }
01180
01181
01182 TAO_PSDL_Node *
01183 TAO_PSDL_Catalog_Member::declaration (void) const
01184 {
01185 return this->declaration_;
01186 }
01187
01188
01189 int
01190 TAO_PSDL_Catalog_Member::accept (TAO_PSDL_Node_Visitor *visitor)
01191 {
01192 return visitor->visit_catalog_member (this);
01193 }
01194
01195
01196
01197 TAO_PSDL_Provides_Dcl::TAO_PSDL_Provides_Dcl (
01198 TAO_PSDL_Node *abs_storagehome_name,
01199 TAO_PSDL_Node *simple_declarator)
01200 : abs_storagehome_name_ (abs_storagehome_name),
01201 simple_declarator_ (simple_declarator)
01202 {
01203 }
01204
01205 TAO_PSDL_Provides_Dcl::~TAO_PSDL_Provides_Dcl (void)
01206 {
01207 delete this->abs_storagehome_name_;
01208 delete this->simple_declarator_;
01209 }
01210
01211
01212 TAO_PSDL_Node *
01213 TAO_PSDL_Provides_Dcl::abs_storagehome_name (void) const
01214 {
01215 return this->abs_storagehome_name_;
01216 }
01217
01218 TAO_PSDL_Node *
01219 TAO_PSDL_Provides_Dcl::simple_declarator (void) const
01220 {
01221 return this->simple_declarator_;
01222 }
01223
01224
01225 int
01226 TAO_PSDL_Provides_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
01227 {
01228 return visitor->visit_provides_dcl (this);
01229 }
01230
01231
01232
01233 TAO_PSDL_Storagetype::TAO_PSDL_Storagetype (TAO_PSDL_Node *declaration)
01234 : declaration_ (declaration)
01235 {
01236 }
01237
01238 TAO_PSDL_Storagetype::~TAO_PSDL_Storagetype (void)
01239 {
01240 delete this->declaration_;
01241 }
01242
01243
01244 TAO_PSDL_Node *
01245 TAO_PSDL_Storagetype::declaration (void) const
01246 {
01247 return this->declaration_;
01248 }
01249
01250
01251 int
01252 TAO_PSDL_Storagetype::accept (TAO_PSDL_Node_Visitor *visitor)
01253 {
01254 return visitor->visit_storagetype (this);
01255 }
01256
01257
01258
01259 TAO_PSDL_Storagetype_Dcl::TAO_PSDL_Storagetype_Dcl (TAO_PSDL_Node *storagetype_header)
01260 : storagetype_header_ (storagetype_header),
01261 storagetype_body_ (0)
01262 {
01263 }
01264
01265 TAO_PSDL_Storagetype_Dcl::TAO_PSDL_Storagetype_Dcl (
01266 TAO_PSDL_Node *storagetype_header,
01267 TAO_PSDL_Node *storagetype_body)
01268 : storagetype_header_ (storagetype_header),
01269 storagetype_body_ (storagetype_body)
01270 {
01271 }
01272
01273 TAO_PSDL_Storagetype_Dcl::~TAO_PSDL_Storagetype_Dcl (void)
01274 {
01275 delete this->storagetype_header_;
01276 if (this->storagetype_body_ != 0)
01277 delete this->storagetype_body_;
01278 }
01279
01280
01281 TAO_PSDL_Node *
01282 TAO_PSDL_Storagetype_Dcl::storagetype_header (void) const
01283 {
01284 return this->storagetype_header_;
01285 }
01286
01287 TAO_PSDL_Node *
01288 TAO_PSDL_Storagetype_Dcl::storagetype_body (void) const
01289 {
01290 return this->storagetype_body_;
01291 }
01292
01293
01294 int
01295 TAO_PSDL_Storagetype_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
01296 {
01297 return visitor->visit_storagetype_dcl (this);
01298 }
01299
01300
01301
01302 TAO_PSDL_Storagetype_Fwd_Dcl::TAO_PSDL_Storagetype_Fwd_Dcl (TAO_PSDL_Node *identifier)
01303 : identifier_ (identifier)
01304 {
01305 }
01306
01307 TAO_PSDL_Storagetype_Fwd_Dcl::~TAO_PSDL_Storagetype_Fwd_Dcl (void)
01308 {
01309 delete this->identifier_;
01310 }
01311
01312
01313 TAO_PSDL_Node *
01314 TAO_PSDL_Storagetype_Fwd_Dcl::identifier (void) const
01315 {
01316 return this->identifier_;
01317 }
01318
01319
01320 int
01321 TAO_PSDL_Storagetype_Fwd_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
01322 {
01323 return visitor->visit_storagetype_fwd_dcl (this);
01324 }
01325
01326
01327
01328 TAO_PSDL_Storagetype_Header::TAO_PSDL_Storagetype_Header (
01329 TAO_PSDL_Node *identifier,
01330 TAO_PSDL_Node *storagetype_inh_spec,
01331 TAO_PSDL_Node *storagetype_impl_spec)
01332 : identifier_ (identifier),
01333 storagetype_inh_spec_ (storagetype_inh_spec),
01334 storagetype_impl_spec_ (storagetype_impl_spec)
01335 {
01336 }
01337
01338 TAO_PSDL_Storagetype_Header::TAO_PSDL_Storagetype_Header (
01339 TAO_PSDL_Node *identifier,
01340 TAO_PSDL_Node *storagetype_inh_spec)
01341 : identifier_ (identifier),
01342 storagetype_inh_spec_ (storagetype_inh_spec),
01343 storagetype_impl_spec_ (0)
01344 {
01345 }
01346
01347 TAO_PSDL_Storagetype_Header::TAO_PSDL_Storagetype_Header (
01348 TAO_PSDL_Node *identifier)
01349 : identifier_ (identifier),
01350 storagetype_inh_spec_ (0),
01351 storagetype_impl_spec_ (0)
01352 {
01353 }
01354
01355 TAO_PSDL_Storagetype_Header::~TAO_PSDL_Storagetype_Header (void)
01356 {
01357 delete this->identifier_;
01358 if (this->storagetype_inh_spec_ != 0)
01359 delete this->storagetype_inh_spec_;
01360
01361 if (this->storagetype_impl_spec_ != 0)
01362 delete this->storagetype_impl_spec_;
01363 }
01364
01365
01366 TAO_PSDL_Node *
01367 TAO_PSDL_Storagetype_Header::identifier (void) const
01368 {
01369 return this->identifier_;
01370 }
01371
01372 TAO_PSDL_Node *
01373 TAO_PSDL_Storagetype_Header::storagetype_inh_spec (void) const
01374 {
01375 return this->storagetype_inh_spec_;
01376 }
01377
01378 TAO_PSDL_Node *
01379 TAO_PSDL_Storagetype_Header::storagetype_impl_spec (void) const
01380 {
01381 return this->storagetype_impl_spec_;
01382 }
01383
01384
01385 int
01386 TAO_PSDL_Storagetype_Header::accept (TAO_PSDL_Node_Visitor *visitor)
01387 {
01388 return visitor->visit_storagetype_header (this);
01389 }
01390
01391
01392
01393 TAO_PSDL_Storagetype_Body::TAO_PSDL_Storagetype_Body ()
01394 : storagetype_member_ (0),
01395 storagetype_body_ (0)
01396 {
01397 }
01398
01399 TAO_PSDL_Storagetype_Body::TAO_PSDL_Storagetype_Body (
01400 TAO_PSDL_Node *storagetype_member)
01401 : storagetype_member_ (storagetype_member),
01402 storagetype_body_ (0)
01403 {
01404 }
01405
01406 TAO_PSDL_Storagetype_Body::TAO_PSDL_Storagetype_Body (
01407 TAO_PSDL_Node *storagetype_member,
01408 TAO_PSDL_Node *storagetype_body)
01409 : storagetype_member_ (storagetype_member),
01410 storagetype_body_ (storagetype_body)
01411 {
01412 }
01413
01414 TAO_PSDL_Storagetype_Body::~TAO_PSDL_Storagetype_Body (void)
01415 {
01416 if (this->storagetype_member_ != 0)
01417 delete this->storagetype_member_;
01418 if (this->storagetype_body_ != 0)
01419 delete this->storagetype_body_;
01420 }
01421
01422
01423 TAO_PSDL_Node *
01424 TAO_PSDL_Storagetype_Body::storagetype_member (void) const
01425 {
01426 return this->storagetype_member_;
01427 }
01428
01429 TAO_PSDL_Node *
01430 TAO_PSDL_Storagetype_Body::storagetype_body (void) const
01431 {
01432 return this->storagetype_body_;
01433 }
01434
01435
01436 int
01437 TAO_PSDL_Storagetype_Body::accept (TAO_PSDL_Node_Visitor *visitor)
01438 {
01439 return visitor->visit_storagetype_body (this);
01440 }
01441
01442
01443
01444
01445 TAO_PSDL_Storagetype_Member::TAO_PSDL_Storagetype_Member (TAO_PSDL_Node *declaration)
01446 : declaration_ (declaration)
01447 {
01448 }
01449
01450 TAO_PSDL_Storagetype_Member::~TAO_PSDL_Storagetype_Member (void)
01451 {
01452 delete this->declaration_;
01453 }
01454
01455
01456 TAO_PSDL_Node *
01457 TAO_PSDL_Storagetype_Member::declaration (void) const
01458 {
01459 return this->declaration_;
01460 }
01461
01462
01463 int
01464 TAO_PSDL_Storagetype_Member::accept (TAO_PSDL_Node_Visitor *visitor)
01465 {
01466 return visitor->visit_storagetype_member (this);
01467 }
01468
01469
01470
01471
01472 TAO_PSDL_Storagetype_Inh_Spec::TAO_PSDL_Storagetype_Inh_Spec (TAO_PSDL_Node *storagetype_name)
01473 : storagetype_name_ (storagetype_name)
01474 {
01475 }
01476
01477 TAO_PSDL_Storagetype_Inh_Spec::~TAO_PSDL_Storagetype_Inh_Spec (void)
01478 {
01479 delete this->storagetype_name_;
01480 }
01481
01482
01483 TAO_PSDL_Node *
01484 TAO_PSDL_Storagetype_Inh_Spec::storagetype_name (void) const
01485 {
01486 return this->storagetype_name_;
01487 }
01488
01489
01490 int
01491 TAO_PSDL_Storagetype_Inh_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
01492 {
01493 return visitor->visit_storagetype_inh_spec (this);
01494 }
01495
01496
01497
01498
01499 TAO_PSDL_Storagetype_Name::TAO_PSDL_Storagetype_Name (TAO_PSDL_Node *scoped_name)
01500 : scoped_name_ (scoped_name)
01501 {
01502 }
01503
01504 TAO_PSDL_Storagetype_Name::~TAO_PSDL_Storagetype_Name (void)
01505 {
01506 delete this->scoped_name_;
01507 }
01508
01509
01510 TAO_PSDL_Node *
01511 TAO_PSDL_Storagetype_Name::scoped_name (void) const
01512 {
01513 return this->scoped_name_;
01514 }
01515
01516
01517 int
01518 TAO_PSDL_Storagetype_Name::accept (TAO_PSDL_Node_Visitor *visitor)
01519 {
01520 return visitor->visit_storagetype_name (this);
01521 }
01522
01523
01524
01525
01526 TAO_PSDL_Storagetype_Impl_Spec::TAO_PSDL_Storagetype_Impl_Spec (TAO_PSDL_Node *abstract_storagetype_name)
01527 : abstract_storagetype_name_ (abstract_storagetype_name)
01528 {
01529 }
01530
01531 TAO_PSDL_Storagetype_Impl_Spec::~TAO_PSDL_Storagetype_Impl_Spec (void)
01532 {
01533 delete this->abstract_storagetype_name_;
01534 }
01535
01536
01537 TAO_PSDL_Node *
01538 TAO_PSDL_Storagetype_Impl_Spec::abstract_storagetype_name (void) const
01539 {
01540 return this->abstract_storagetype_name_;
01541 }
01542
01543
01544 int
01545 TAO_PSDL_Storagetype_Impl_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
01546 {
01547 return visitor->visit_storagetype_impl_spec (this);
01548 }
01549
01550
01551
01552 TAO_PSDL_Storagetype_Ref_Type::TAO_PSDL_Storagetype_Ref_Type (TAO_PSDL_Node *storagetype_name)
01553 : storagetype_name_ (storagetype_name)
01554 {
01555 }
01556
01557 TAO_PSDL_Storagetype_Ref_Type::~TAO_PSDL_Storagetype_Ref_Type (void)
01558 {
01559 delete this->storagetype_name_;
01560 }
01561
01562
01563 TAO_PSDL_Node *
01564 TAO_PSDL_Storagetype_Ref_Type::storagetype_name (void) const
01565 {
01566 return this->storagetype_name_;
01567 }
01568
01569
01570 int
01571 TAO_PSDL_Storagetype_Ref_Type::accept (TAO_PSDL_Node_Visitor *visitor)
01572 {
01573 return visitor->visit_storagetype_ref_type (this);
01574 }
01575
01576
01577 TAO_PSDL_Storagehome_Scope::TAO_PSDL_Storagehome_Scope (TAO_PSDL_Node *storagehome_name)
01578 : storagehome_name_ (storagehome_name)
01579 {
01580 }
01581
01582 TAO_PSDL_Storagehome_Scope::~TAO_PSDL_Storagehome_Scope (void)
01583 {
01584 delete this->storagehome_name_;
01585 }
01586
01587
01588 TAO_PSDL_Node *
01589 TAO_PSDL_Storagehome_Scope::storagehome_name (void) const
01590 {
01591 return this->storagehome_name_;
01592 }
01593
01594
01595
01596 int
01597 TAO_PSDL_Storagehome_Scope::accept (TAO_PSDL_Node_Visitor *visitor)
01598 {
01599 return visitor->visit_storagehome_scope (this);
01600 }
01601
01602
01603
01604
01605 TAO_PSDL_Store_Directive::TAO_PSDL_Store_Directive (
01606 TAO_PSDL_Node *simple_declarator,
01607 TAO_PSDL_Node *psdl_concrete_state_type,
01608 TAO_PSDL_Node *storagehome_scope)
01609 : simple_declarator_ (simple_declarator),
01610 psdl_concrete_state_type_ (psdl_concrete_state_type),
01611 storagehome_scope_ (storagehome_scope)
01612 {
01613 }
01614
01615 TAO_PSDL_Store_Directive::TAO_PSDL_Store_Directive (
01616 TAO_PSDL_Node *simple_declarator,
01617 TAO_PSDL_Node *psdl_concrete_state_type)
01618 : simple_declarator_ (simple_declarator),
01619 psdl_concrete_state_type_ (psdl_concrete_state_type),
01620 storagehome_scope_ (0)
01621 {
01622 }
01623
01624 TAO_PSDL_Store_Directive::~TAO_PSDL_Store_Directive (void)
01625 {
01626 delete this->simple_declarator_;
01627 delete this->psdl_concrete_state_type_;
01628
01629 if (this->storagehome_scope_ != 0)
01630 delete this->storagehome_scope_;
01631 }
01632
01633
01634 TAO_PSDL_Node *
01635 TAO_PSDL_Store_Directive::simple_declarator (void) const
01636 {
01637 return this->simple_declarator_;
01638 }
01639
01640 TAO_PSDL_Node *
01641 TAO_PSDL_Store_Directive::psdl_concrete_state_type (void) const
01642 {
01643 return this->psdl_concrete_state_type_;
01644 }
01645
01646 TAO_PSDL_Node *
01647 TAO_PSDL_Store_Directive::storagehome_scope (void) const
01648 {
01649 return this->storagehome_scope_;
01650 }
01651
01652
01653 int
01654 TAO_PSDL_Store_Directive::accept (TAO_PSDL_Node_Visitor *visitor)
01655 {
01656 return visitor->visit_store_directive (this);
01657 }
01658
01659
01660 TAO_PSDL_Psdl_Concrete_State_Type::TAO_PSDL_Psdl_Concrete_State_Type (TAO_PSDL_Node *storagetype)
01661 : storagetype_ (storagetype)
01662 {
01663 }
01664
01665 TAO_PSDL_Psdl_Concrete_State_Type::~TAO_PSDL_Psdl_Concrete_State_Type (void)
01666 {
01667 delete this->storagetype_;
01668 }
01669
01670
01671 TAO_PSDL_Node *
01672 TAO_PSDL_Psdl_Concrete_State_Type::storagetype (void) const
01673 {
01674 return this->storagetype_;
01675 }
01676
01677
01678 int
01679 TAO_PSDL_Psdl_Concrete_State_Type::accept (TAO_PSDL_Node_Visitor *visitor)
01680 {
01681 return visitor->visit_psdl_concrete_state_type (this);
01682 }
01683
01684
01685 TAO_PSDL_Ref_Rep_Directive::TAO_PSDL_Ref_Rep_Directive (TAO_PSDL_Node *simple_declarator)
01686 : simple_declarator_ (simple_declarator)
01687 {
01688 }
01689
01690 TAO_PSDL_Ref_Rep_Directive::~TAO_PSDL_Ref_Rep_Directive (void)
01691 {
01692 delete this->simple_declarator_;
01693 }
01694
01695
01696 TAO_PSDL_Node *
01697 TAO_PSDL_Ref_Rep_Directive::simple_declarator (void) const
01698 {
01699 return this->simple_declarator_;
01700 }
01701
01702
01703 int
01704 TAO_PSDL_Ref_Rep_Directive::accept (TAO_PSDL_Node_Visitor *visitor)
01705 {
01706 return visitor->visit_ref_rep_directive (this);
01707 }
01708
01709
01710
01711 TAO_PSDL_Storagehome::TAO_PSDL_Storagehome (TAO_PSDL_Node *storagehome_header)
01712 : storagehome_header_ (storagehome_header),
01713 storagehome_body_ (0)
01714 {
01715 }
01716
01717 TAO_PSDL_Storagehome::TAO_PSDL_Storagehome (TAO_PSDL_Node *storagehome_header,
01718 TAO_PSDL_Node *storagehome_body)
01719 : storagehome_header_ (storagehome_header),
01720 storagehome_body_ (storagehome_body)
01721 {
01722 }
01723
01724 TAO_PSDL_Storagehome::~TAO_PSDL_Storagehome (void)
01725 {
01726 delete this->storagehome_header_;
01727 delete this->storagehome_body_;
01728 }
01729
01730
01731 TAO_PSDL_Node *
01732 TAO_PSDL_Storagehome::storagehome_header (void) const
01733 {
01734 return this->storagehome_header_;
01735 }
01736
01737 TAO_PSDL_Node *
01738 TAO_PSDL_Storagehome::storagehome_body (void) const
01739 {
01740 return this->storagehome_body_;
01741 }
01742
01743
01744 int
01745 TAO_PSDL_Storagehome::accept (TAO_PSDL_Node_Visitor *visitor)
01746 {
01747 return visitor->visit_storagehome (this);
01748 }
01749
01750
01751 TAO_PSDL_Storagehome_Header::TAO_PSDL_Storagehome_Header (
01752 TAO_PSDL_Node *identifier,
01753 TAO_PSDL_Node *storagetype_name,
01754 TAO_PSDL_Node *storagehome_inh_spec,
01755 TAO_PSDL_Node *storagehome_impl_spec)
01756 : identifier_ (identifier),
01757 storagetype_name_ (storagetype_name),
01758 storagehome_inh_spec_ (storagehome_inh_spec),
01759 storagehome_impl_spec_ (storagehome_impl_spec)
01760 {
01761 }
01762
01763 TAO_PSDL_Storagehome_Header::TAO_PSDL_Storagehome_Header (
01764 TAO_PSDL_Node *identifier,
01765 TAO_PSDL_Node *storagetype_name,
01766 TAO_PSDL_Node *storagehome_inh_spec)
01767 : identifier_ (identifier),
01768 storagetype_name_ (storagetype_name),
01769 storagehome_inh_spec_ (storagehome_inh_spec),
01770 storagehome_impl_spec_ (0)
01771 {
01772 }
01773
01774 TAO_PSDL_Storagehome_Header::TAO_PSDL_Storagehome_Header (
01775 TAO_PSDL_Node *identifier,
01776 TAO_PSDL_Node *storagetype_name)
01777 : identifier_ (identifier),
01778 storagetype_name_ (storagetype_name),
01779 storagehome_inh_spec_ (0),
01780 storagehome_impl_spec_ (0)
01781 {
01782 }
01783
01784 TAO_PSDL_Storagehome_Header::~TAO_PSDL_Storagehome_Header (void)
01785 {
01786 delete this->identifier_;
01787 delete this->storagetype_name_;
01788 delete this->storagehome_inh_spec_;
01789 delete this->storagehome_impl_spec_;
01790 }
01791
01792
01793 TAO_PSDL_Node *
01794 TAO_PSDL_Storagehome_Header::identifier (void) const
01795 {
01796 return this->identifier_;
01797 }
01798
01799 TAO_PSDL_Node *
01800 TAO_PSDL_Storagehome_Header::storagetype_name (void) const
01801 {
01802 return this->storagetype_name_;
01803 }
01804
01805 TAO_PSDL_Node *
01806 TAO_PSDL_Storagehome_Header::storagehome_inh_spec (void) const
01807 {
01808 return this->storagehome_inh_spec_;
01809 }
01810
01811 TAO_PSDL_Node *
01812 TAO_PSDL_Storagehome_Header::storagehome_impl_spec (void) const
01813 {
01814 return this->storagehome_impl_spec_;
01815 }
01816
01817
01818 int
01819 TAO_PSDL_Storagehome_Header::accept (TAO_PSDL_Node_Visitor *visitor)
01820 {
01821 return visitor->visit_storagehome_header (this);
01822 }
01823
01824
01825
01826 TAO_PSDL_Storagehome_Body::TAO_PSDL_Storagehome_Body ()
01827 : storagehome_member_ (0),
01828 storagehome_body_ (0)
01829 {
01830 }
01831
01832 TAO_PSDL_Storagehome_Body::TAO_PSDL_Storagehome_Body (
01833 TAO_PSDL_Node *storagehome_member)
01834 : storagehome_member_ (storagehome_member),
01835 storagehome_body_ (0)
01836 {
01837 }
01838
01839 TAO_PSDL_Storagehome_Body::TAO_PSDL_Storagehome_Body (
01840 TAO_PSDL_Node *storagehome_member,
01841 TAO_PSDL_Node *storagehome_body)
01842 : storagehome_member_ (storagehome_member),
01843 storagehome_body_ (storagehome_body)
01844 {
01845 }
01846
01847 TAO_PSDL_Storagehome_Body::~TAO_PSDL_Storagehome_Body (void)
01848 {
01849 delete this->storagehome_member_;
01850 delete this->storagehome_body_;
01851 }
01852
01853
01854 TAO_PSDL_Node *
01855 TAO_PSDL_Storagehome_Body::storagehome_member (void) const
01856 {
01857 return this->storagehome_member_;
01858 }
01859
01860 TAO_PSDL_Node *
01861 TAO_PSDL_Storagehome_Body::storagehome_body (void) const
01862 {
01863 return this->storagehome_body_;
01864 }
01865
01866
01867
01868 int
01869 TAO_PSDL_Storagehome_Body::accept (TAO_PSDL_Node_Visitor *visitor)
01870 {
01871 return visitor->visit_storagehome_body (this);
01872 }
01873
01874
01875
01876
01877 TAO_PSDL_Storagehome_Member::TAO_PSDL_Storagehome_Member (
01878 TAO_PSDL_Node *key_dcl)
01879 : key_dcl_ (key_dcl)
01880 {
01881 }
01882
01883 TAO_PSDL_Storagehome_Member::~TAO_PSDL_Storagehome_Member (void)
01884 {
01885 delete this->key_dcl_;
01886 }
01887
01888
01889 TAO_PSDL_Node *
01890 TAO_PSDL_Storagehome_Member::key_dcl (void) const
01891 {
01892 return this->key_dcl_;
01893 }
01894
01895
01896 int
01897 TAO_PSDL_Storagehome_Member::accept (TAO_PSDL_Node_Visitor *visitor)
01898 {
01899 return visitor->visit_storagehome_member (this);
01900 }
01901
01902
01903
01904 TAO_PSDL_Storagehome_Inh_Spec::TAO_PSDL_Storagehome_Inh_Spec (TAO_PSDL_Node *storagehome_name)
01905 : storagehome_name_ (storagehome_name)
01906 {
01907 }
01908
01909 TAO_PSDL_Storagehome_Inh_Spec::~TAO_PSDL_Storagehome_Inh_Spec (void)
01910 {
01911 delete this->storagehome_name_;
01912 }
01913
01914
01915 TAO_PSDL_Node *
01916 TAO_PSDL_Storagehome_Inh_Spec::storagehome_name (void) const
01917 {
01918 return this->storagehome_name_;
01919 }
01920
01921
01922 int
01923 TAO_PSDL_Storagehome_Inh_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
01924 {
01925 return visitor->visit_storagehome_inh_spec (this);
01926 }
01927
01928
01929
01930 TAO_PSDL_Storagehome_Name::TAO_PSDL_Storagehome_Name (TAO_PSDL_Node *scoped_name)
01931 : scoped_name_ (scoped_name)
01932 {
01933 }
01934
01935 TAO_PSDL_Storagehome_Name::~TAO_PSDL_Storagehome_Name (void)
01936 {
01937 delete this->scoped_name_;
01938 }
01939
01940
01941 TAO_PSDL_Node *
01942 TAO_PSDL_Storagehome_Name::scoped_name (void) const
01943 {
01944 return this->scoped_name_;
01945 }
01946
01947
01948 int
01949 TAO_PSDL_Storagehome_Name::accept (TAO_PSDL_Node_Visitor *visitor)
01950 {
01951 return visitor->visit_storagehome_name (this);
01952 }
01953
01954
01955
01956 TAO_PSDL_Storagehome_Impl_Spec::TAO_PSDL_Storagehome_Impl_Spec (
01957 TAO_PSDL_Node *abstract_storagehome_name)
01958 : abstract_storagehome_name_ (abstract_storagehome_name)
01959 {
01960 }
01961
01962 TAO_PSDL_Storagehome_Impl_Spec::~TAO_PSDL_Storagehome_Impl_Spec (void)
01963 {
01964 delete this->abstract_storagehome_name_;
01965 }
01966
01967
01968 TAO_PSDL_Node *
01969 TAO_PSDL_Storagehome_Impl_Spec::abstract_storagehome_name (void) const
01970 {
01971 return this->abstract_storagehome_name_;
01972 }
01973
01974
01975 int
01976 TAO_PSDL_Storagehome_Impl_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
01977 {
01978 return visitor->visit_storagehome_impl_spec (this);
01979 }
01980
01981
01982
01983 TAO_PSDL_Primary_Key_Dcl::TAO_PSDL_Primary_Key_Dcl ()
01984 : identifier_ (0)
01985 {
01986 }
01987
01988 TAO_PSDL_Primary_Key_Dcl::TAO_PSDL_Primary_Key_Dcl (TAO_PSDL_Node *identifier)
01989 : identifier_ (identifier)
01990 {
01991 }
01992
01993 TAO_PSDL_Primary_Key_Dcl::~TAO_PSDL_Primary_Key_Dcl (void)
01994 {
01995 delete this->identifier_;
01996 }
01997
01998
01999 TAO_PSDL_Node *
02000 TAO_PSDL_Primary_Key_Dcl::identifier (void) const
02001 {
02002 return this->identifier_;
02003 }
02004
02005
02006 int
02007 TAO_PSDL_Primary_Key_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
02008 {
02009 return visitor->visit_primary_key_dcl (this);
02010 }
02011
02012
02013
02014 TAO_PSDL_Identifier::TAO_PSDL_Identifier (char *value)
02015 : value_ (CORBA::string_dup (value)),
02016 value_type_ (0)
02017 {
02018 TAO_PSDL_Scope::instance ()->save_identifier (value);
02019 }
02020
02021 TAO_PSDL_Identifier::TAO_PSDL_Identifier (int value_type)
02022 : value_type_ (value_type)
02023 {
02024 }
02025
02026 TAO_PSDL_Identifier::~TAO_PSDL_Identifier (void)
02027 {
02028 if (this->value_ != 0)
02029 delete this->value_;
02030 }
02031
02032
02033 char *
02034 TAO_PSDL_Identifier::value (void) const
02035 {
02036 return this->value_;
02037 }
02038
02039 int
02040 TAO_PSDL_Identifier::value_type (void) const
02041 {
02042 return this->value_type_;
02043 }
02044
02045
02046 int
02047 TAO_PSDL_Identifier::accept (TAO_PSDL_Node_Visitor *visitor)
02048 {
02049 return visitor->visit_identifier (this);
02050 }
02051
02052
02053
02054 TAO_PSDL_Type_Dcl::TAO_PSDL_Type_Dcl (TAO_PSDL_Node *type_of_type_dcl)
02055 : key_word_ (0),
02056 type_of_type_dcl_ (type_of_type_dcl)
02057 {
02058 }
02059
02060 TAO_PSDL_Type_Dcl::TAO_PSDL_Type_Dcl (int key_word,
02061 TAO_PSDL_Node *type_of_type_dcl)
02062 : key_word_ (key_word),
02063 type_of_type_dcl_ (type_of_type_dcl)
02064 {
02065 this->type_ = key_word;
02066
02067 this->psdl_scope_visitor ()->visit_type_dcl (this);
02068
02069
02070 if (ACE_OS::strcmp (this->identifiers_[0].c_str (), "") == 0)
02071 {
02072 this->identifiers_[0] = this->psdl_scope_visitor ()->get_scoped_type ();
02073 }
02074
02075 if (key_word != TAO_PSDL_TYPEDEF)
02076 {
02077 this->psdl_scope ()->check_name_in_scope (this->identifiers_[0],
02078 this->psdl_scope ());
02079 }
02080
02081 this->psdl_scope ()->add_typedef (this->identifiers_[1],
02082 this->identifiers_[0]);
02083
02084
02085
02086 this->count_ = 0;
02087
02088 }
02089
02090 TAO_PSDL_Type_Dcl::~TAO_PSDL_Type_Dcl (void)
02091 {
02092 delete this->type_of_type_dcl_;
02093 }
02094
02095
02096 int
02097 TAO_PSDL_Type_Dcl::key_word (void) const
02098 {
02099 return this->key_word_;
02100 }
02101
02102 TAO_PSDL_Node *
02103 TAO_PSDL_Type_Dcl::type_of_type_dcl (void) const
02104 {
02105 return this->type_of_type_dcl_;
02106 }
02107
02108
02109 int
02110 TAO_PSDL_Type_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
02111 {
02112 return visitor->visit_type_dcl (this);
02113 }
02114
02115
02116
02117 TAO_PSDL_Type_Declarator::TAO_PSDL_Type_Declarator (TAO_PSDL_Node *type_spec,
02118 TAO_PSDL_Node *declarators)
02119 : type_spec_ (type_spec),
02120 declarators_ (declarators)
02121 {
02122 }
02123
02124 TAO_PSDL_Type_Declarator::~TAO_PSDL_Type_Declarator (void)
02125 {
02126 delete this->type_spec_;
02127 delete this->declarators_;
02128 }
02129
02130
02131 TAO_PSDL_Node *
02132 TAO_PSDL_Type_Declarator::type_spec (void) const
02133 {
02134 return this->type_spec_;
02135 }
02136
02137 TAO_PSDL_Node *
02138 TAO_PSDL_Type_Declarator::declarators (void) const
02139 {
02140 return this->declarators_;
02141 }
02142
02143
02144 int
02145 TAO_PSDL_Type_Declarator::accept (TAO_PSDL_Node_Visitor *visitor)
02146 {
02147 return visitor->visit_type_declarator (this);
02148 }
02149
02150
02151
02152 TAO_PSDL_Type_Spec::TAO_PSDL_Type_Spec (TAO_PSDL_Node *type_of_type_spec)
02153 : type_of_type_spec_ (type_of_type_spec)
02154 {
02155 }
02156
02157 TAO_PSDL_Type_Spec::~TAO_PSDL_Type_Spec (void)
02158 {
02159 delete this->type_of_type_spec_;
02160 }
02161
02162
02163 TAO_PSDL_Node *
02164 TAO_PSDL_Type_Spec::type_of_type_spec (void) const
02165 {
02166 return this->type_of_type_spec_;
02167 }
02168
02169
02170 int
02171 TAO_PSDL_Type_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
02172 {
02173 return visitor->visit_type_spec (this);
02174 }
02175
02176
02177 TAO_PSDL_Simple_Type_Spec::TAO_PSDL_Simple_Type_Spec (TAO_PSDL_Node *type_of_simple_type_spec)
02178 : type_of_simple_type_spec_ (type_of_simple_type_spec)
02179 {
02180 }
02181
02182 TAO_PSDL_Simple_Type_Spec::~TAO_PSDL_Simple_Type_Spec (void)
02183 {
02184 delete this->type_of_simple_type_spec_;
02185 }
02186
02187
02188 TAO_PSDL_Node *
02189 TAO_PSDL_Simple_Type_Spec::type_of_simple_type_spec (void) const
02190 {
02191 return this->type_of_simple_type_spec_;
02192 }
02193
02194
02195 int
02196 TAO_PSDL_Simple_Type_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
02197 {
02198 return visitor->visit_simple_type_spec (this);
02199 }
02200
02201
02202 TAO_PSDL_Base_Type_Spec::TAO_PSDL_Base_Type_Spec (
02203 TAO_PSDL_Node *type_of_base_type_spec)
02204 : type_of_base_type_spec_ (type_of_base_type_spec)
02205 {
02206 }
02207
02208 TAO_PSDL_Base_Type_Spec::~TAO_PSDL_Base_Type_Spec (void)
02209 {
02210 delete this->type_of_base_type_spec_;
02211 }
02212
02213
02214 TAO_PSDL_Node *
02215 TAO_PSDL_Base_Type_Spec::type_of_base_type_spec (void) const
02216 {
02217 return this->type_of_base_type_spec_;
02218 }
02219
02220
02221 int
02222 TAO_PSDL_Base_Type_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
02223 {
02224 return visitor->visit_base_type_spec (this);
02225 }
02226
02227
02228 TAO_PSDL_Template_Type_Spec::TAO_PSDL_Template_Type_Spec (
02229 TAO_PSDL_Node *type_of_template_type_spec)
02230 : type_of_template_type_spec_ (type_of_template_type_spec)
02231 {
02232 }
02233
02234 TAO_PSDL_Template_Type_Spec::~TAO_PSDL_Template_Type_Spec (void)
02235 {
02236 delete this->type_of_template_type_spec_;
02237 }
02238
02239
02240 TAO_PSDL_Node *
02241 TAO_PSDL_Template_Type_Spec::type_of_template_type_spec (void) const
02242 {
02243 return this->type_of_template_type_spec_;
02244 }
02245
02246
02247 int
02248 TAO_PSDL_Template_Type_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
02249 {
02250 return visitor->visit_template_type_spec (this);
02251 }
02252
02253
02254
02255 TAO_PSDL_Constr_Type_Spec::TAO_PSDL_Constr_Type_Spec (
02256 TAO_PSDL_Node *type_of_constr_type_spec)
02257 : type_of_constr_type_spec_ (type_of_constr_type_spec)
02258 {
02259 }
02260
02261 TAO_PSDL_Constr_Type_Spec::~TAO_PSDL_Constr_Type_Spec (void)
02262 {
02263 delete this->type_of_constr_type_spec_;
02264 }
02265
02266 TAO_PSDL_Node *
02267 TAO_PSDL_Constr_Type_Spec::type_of_constr_type_spec (void) const
02268 {
02269 return this->type_of_constr_type_spec_;
02270 }
02271
02272
02273 int
02274 TAO_PSDL_Constr_Type_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
02275 {
02276 return visitor->visit_constr_type_spec (this);
02277 }
02278
02279
02280
02281 TAO_PSDL_Declarators::TAO_PSDL_Declarators (TAO_PSDL_Node *declarator)
02282 : declarator_ (declarator),
02283 set_of_declarators_ (0)
02284 {
02285 }
02286
02287 TAO_PSDL_Declarators::TAO_PSDL_Declarators (TAO_PSDL_Node *declarator,
02288 TAO_PSDL_Node *set_of_declarators)
02289 : declarator_ (declarator),
02290 set_of_declarators_ (set_of_declarators)
02291 {
02292 }
02293
02294 TAO_PSDL_Declarators::~TAO_PSDL_Declarators (void)
02295 {
02296 delete this->declarator_;
02297
02298 if (this->set_of_declarators_ != 0)
02299 delete this->set_of_declarators_;
02300 }
02301
02302
02303 TAO_PSDL_Node *
02304 TAO_PSDL_Declarators::declarator (void) const
02305 {
02306 return this->declarator_;
02307 }
02308
02309 TAO_PSDL_Node *
02310 TAO_PSDL_Declarators::set_of_declarators (void) const
02311 {
02312 return this->set_of_declarators_;
02313 }
02314
02315
02316 int
02317 TAO_PSDL_Declarators::accept (TAO_PSDL_Node_Visitor *visitor)
02318 {
02319 return visitor->visit_declarators (this);
02320 }
02321
02322
02323 TAO_PSDL_Declarator::TAO_PSDL_Declarator (TAO_PSDL_Node *type_of_declarator)
02324 : type_of_declarator_ (type_of_declarator)
02325 {
02326 }
02327
02328 TAO_PSDL_Declarator::~TAO_PSDL_Declarator (void)
02329 {
02330 delete this->type_of_declarator_;
02331 }
02332
02333
02334 TAO_PSDL_Node *
02335 TAO_PSDL_Declarator::type_of_declarator (void) const
02336 {
02337 return this->type_of_declarator_;
02338 }
02339
02340
02341 int
02342 TAO_PSDL_Declarator::accept (TAO_PSDL_Node_Visitor *visitor)
02343 {
02344 return visitor->visit_declarator (this);
02345 }
02346
02347
02348
02349 TAO_PSDL_Simple_Declarator::TAO_PSDL_Simple_Declarator (
02350 TAO_PSDL_Node *identifier)
02351 : identifier_ (identifier),
02352 simple_declarator_ (0)
02353 {
02354 }
02355
02356 TAO_PSDL_Simple_Declarator::TAO_PSDL_Simple_Declarator (
02357 TAO_PSDL_Node *identifier,
02358 TAO_PSDL_Node *simple_declarator)
02359 : identifier_ (identifier),
02360 simple_declarator_ (simple_declarator)
02361 {
02362 }
02363
02364 TAO_PSDL_Simple_Declarator::~TAO_PSDL_Simple_Declarator (void)
02365 {
02366 delete this->identifier_;
02367
02368 if (this->simple_declarator_ != 0)
02369 delete this->simple_declarator_;
02370 }
02371
02372
02373 TAO_PSDL_Node *
02374 TAO_PSDL_Simple_Declarator::identifier (void) const
02375 {
02376 return this->identifier_;
02377 }
02378
02379 TAO_PSDL_Node *
02380 TAO_PSDL_Simple_Declarator::simple_declarator (void) const
02381 {
02382 return this->simple_declarator_;
02383 }
02384
02385
02386 int
02387 TAO_PSDL_Simple_Declarator::accept (TAO_PSDL_Node_Visitor *visitor)
02388 {
02389 return visitor->visit_simple_declarator (this);
02390 }
02391
02392
02393
02394 TAO_PSDL_Simple_Declarator_List::TAO_PSDL_Simple_Declarator_List (
02395 TAO_PSDL_Node *simple_declarator)
02396 : simple_declarator_list_ (0),
02397 simple_declarator_ (simple_declarator)
02398 {
02399 }
02400
02401 TAO_PSDL_Simple_Declarator_List::TAO_PSDL_Simple_Declarator_List (
02402 TAO_PSDL_Node *simple_declarator_list,
02403 TAO_PSDL_Node *simple_declarator)
02404 : simple_declarator_list_ (simple_declarator_list),
02405 simple_declarator_ (simple_declarator)
02406 {
02407 }
02408
02409 TAO_PSDL_Simple_Declarator_List::~TAO_PSDL_Simple_Declarator_List (void)
02410 {
02411 if (this->simple_declarator_list_ != 0)
02412 delete this->simple_declarator_list_;
02413
02414 if (this->simple_declarator_ != 0)
02415 delete this->simple_declarator_;
02416 }
02417
02418
02419 TAO_PSDL_Node *
02420 TAO_PSDL_Simple_Declarator_List::simple_declarator_list (void) const
02421 {
02422 return this->simple_declarator_list_;
02423 }
02424
02425 TAO_PSDL_Node *
02426 TAO_PSDL_Simple_Declarator_List::simple_declarator (void) const
02427 {
02428 return this->simple_declarator_;
02429 }
02430
02431
02432 int
02433 TAO_PSDL_Simple_Declarator_List::accept (TAO_PSDL_Node_Visitor *visitor)
02434 {
02435 return visitor->visit_simple_declarator_list (this);
02436 }
02437
02438
02439
02440 TAO_PSDL_Complex_Declarator::TAO_PSDL_Complex_Declarator (TAO_PSDL_Node *array_declarator)
02441 : array_declarator_ (array_declarator)
02442 {
02443 }
02444
02445 TAO_PSDL_Complex_Declarator::~TAO_PSDL_Complex_Declarator (void)
02446 {
02447 delete this->array_declarator_;
02448 }
02449
02450
02451 TAO_PSDL_Node *
02452 TAO_PSDL_Complex_Declarator::array_declarator (void) const
02453 {
02454 return this->array_declarator_;
02455 }
02456
02457
02458 int
02459 TAO_PSDL_Complex_Declarator::accept (TAO_PSDL_Node_Visitor *visitor)
02460 {
02461 return visitor->visit_complex_declarator (this);
02462 }
02463
02464
02465
02466 TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type (int type_one)
02467 : type_one_ (type_one),
02468 type_two_ (0),
02469 type_three_ (0),
02470 type_of_variable_one_ (0),
02471 type_of_variable_two_ (0),
02472 type_of_variable_three_ (0)
02473 {
02474 }
02475
02476 TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type (int type_one,
02477 int type_two)
02478 : type_one_ (type_one),
02479 type_two_ (type_two),
02480 type_three_ (0),
02481 type_of_variable_one_ (0),
02482 type_of_variable_two_ (0),
02483 type_of_variable_three_ (0)
02484 {
02485 }
02486
02487 TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type (int type_one,
02488 int type_two,
02489 int type_three)
02490 : type_one_ (type_one),
02491 type_two_ (type_two),
02492 type_three_ (type_three),
02493 type_of_variable_one_ (0),
02494 type_of_variable_two_ (0),
02495 type_of_variable_three_ (0)
02496 {
02497 }
02498
02499 TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type (int type_one,
02500 TAO_PSDL_Node *type_of_variable_one)
02501 : type_one_ (type_one),
02502 type_two_ (0),
02503 type_three_ (0),
02504 type_of_variable_one_ (type_of_variable_one),
02505 type_of_variable_two_ (0),
02506 type_of_variable_three_ (0)
02507 {
02508 }
02509
02510 TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type (TAO_PSDL_Node *type_of_variable_one)
02511 : type_one_ (0),
02512 type_two_ (0),
02513 type_three_ (0),
02514 type_of_variable_one_ (type_of_variable_one),
02515 type_of_variable_two_ (0),
02516 type_of_variable_three_ (0)
02517 {
02518 }
02519
02520 TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type (TAO_PSDL_Node *type_of_variable_one,
02521 TAO_PSDL_Node *type_of_variable_two)
02522 : type_one_ (0),
02523 type_two_ (0),
02524 type_three_ (0),
02525 type_of_variable_one_ (type_of_variable_one),
02526 type_of_variable_two_ (type_of_variable_two),
02527 type_of_variable_three_ (0)
02528 {
02529 this->psdl_scope_visitor ()->visit_predefined_type (this);
02530
02531
02532
02533
02534 }
02535
02536 TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type (int type_one,
02537 TAO_PSDL_Node *type_of_variable_one,
02538 TAO_PSDL_Node *type_of_variable_two)
02539 : type_one_ (type_one),
02540 type_two_ (0),
02541 type_three_ (0),
02542 type_of_variable_one_ (type_of_variable_one),
02543 type_of_variable_two_ (type_of_variable_two),
02544 type_of_variable_three_ (0)
02545 {
02546
02547
02548
02549
02550
02551
02552
02553
02554
02555
02556
02557
02558 }
02559
02560 TAO_PSDL_Predefined_Type::TAO_PSDL_Predefined_Type (
02561 TAO_PSDL_Node *type_of_variable_one,
02562 TAO_PSDL_Node *type_of_variable_two,
02563 TAO_PSDL_Node *type_of_variable_three)
02564 : type_one_ (0),
02565 type_two_ (0),
02566 type_three_ (0),
02567 type_of_variable_one_ (type_of_variable_one),
02568 type_of_variable_two_ (type_of_variable_two),
02569 type_of_variable_three_ (type_of_variable_three)
02570 {
02571 }
02572
02573 TAO_PSDL_Predefined_Type::~TAO_PSDL_Predefined_Type (void)
02574 {
02575 if (this->type_of_variable_one_ != 0)
02576 delete this->type_of_variable_one_;
02577 if (this->type_of_variable_two_ != 0)
02578 delete this->type_of_variable_two_;
02579 if (this->type_of_variable_three_ != 0)
02580 delete this->type_of_variable_three_;
02581 }
02582
02583
02584 int
02585 TAO_PSDL_Predefined_Type::type_one (void) const
02586 {
02587 return this->type_one_;
02588 }
02589
02590 int
02591 TAO_PSDL_Predefined_Type::type_two (void) const
02592 {
02593 return this->type_two_;
02594 }
02595
02596 int
02597 TAO_PSDL_Predefined_Type::type_three (void) const
02598 {
02599 return this->type_three_;
02600 }
02601
02602 TAO_PSDL_Node *
02603 TAO_PSDL_Predefined_Type::type_of_variable_one (void) const
02604 {
02605 return this->type_of_variable_one_;
02606 }
02607
02608 TAO_PSDL_Node *
02609 TAO_PSDL_Predefined_Type::type_of_variable_two (void) const
02610 {
02611 return this->type_of_variable_two_;
02612 }
02613
02614 TAO_PSDL_Node *
02615 TAO_PSDL_Predefined_Type::type_of_variable_three (void) const
02616 {
02617 return this->type_of_variable_three_;
02618 }
02619
02620
02621 int
02622 TAO_PSDL_Predefined_Type::accept (TAO_PSDL_Node_Visitor *visitor)
02623 {
02624 return visitor->visit_predefined_type (this);
02625 }
02626
02627
02628
02629 TAO_PSDL_Member_List::TAO_PSDL_Member_List (TAO_PSDL_Node *member)
02630 : member_ (member),
02631 member_list_ (0)
02632 {
02633 }
02634
02635 TAO_PSDL_Member_List::TAO_PSDL_Member_List (TAO_PSDL_Node *member,
02636 TAO_PSDL_Node *member_list)
02637 : member_ (member),
02638 member_list_ (member_list)
02639 {
02640 }
02641
02642 TAO_PSDL_Member_List::~TAO_PSDL_Member_List (void)
02643 {
02644 delete this->member_;
02645
02646 if (this->member_list_ != 0)
02647 delete this->member_list_;
02648 }
02649
02650
02651 TAO_PSDL_Node *
02652 TAO_PSDL_Member_List::member (void) const
02653 {
02654 return this->member_;
02655 }
02656
02657 TAO_PSDL_Node *
02658 TAO_PSDL_Member_List::member_list (void) const
02659 {
02660 return this->member_list_;
02661 }
02662
02663
02664 int
02665 TAO_PSDL_Member_List::accept (TAO_PSDL_Node_Visitor *visitor)
02666 {
02667 return visitor->visit_member_list (this);
02668 }
02669
02670
02671
02672 TAO_PSDL_Member::TAO_PSDL_Member (TAO_PSDL_Node *type_spec,
02673 TAO_PSDL_Node *declarators)
02674 : type_spec_ (type_spec),
02675 declarators_ (declarators)
02676 {
02677 this->psdl_scope_visitor ()->visit_member (this);
02678
02679 if (this->predefined_type_)
02680 {
02681
02682
02683 this->predefined_type_ = 0;
02684 }
02685 else
02686 {
02687
02688
02689 this->psdl_scope ()->check_name_in_scope (this->identifiers_[0],
02690 this->psdl_scope ());
02691 }
02692
02693 this->psdl_scope ()->add_member_decl (this->identifiers_[1],
02694 this->identifiers_[0]);
02695
02696
02697
02698 this->count_ = 0;
02699 }
02700
02701 TAO_PSDL_Member::~TAO_PSDL_Member (void)
02702 {
02703 delete this->type_spec_;
02704 delete this->declarators_;
02705 }
02706
02707
02708 TAO_PSDL_Node *
02709 TAO_PSDL_Member::type_spec (void) const
02710 {
02711 return this->type_spec_;
02712 }
02713
02714 TAO_PSDL_Node *
02715 TAO_PSDL_Member::declarators (void) const
02716 {
02717 return this->declarators_;
02718 }
02719
02720
02721 int
02722 TAO_PSDL_Member::accept (TAO_PSDL_Node_Visitor *visitor)
02723 {
02724 return visitor->visit_member (this);
02725 }
02726
02727
02728
02729 TAO_PSDL_Union_Type::TAO_PSDL_Union_Type (TAO_PSDL_Node *identifier,
02730 TAO_PSDL_Node *switch_type_spec,
02731 TAO_PSDL_Node *switch_body)
02732 : identifier_ (identifier),
02733 switch_type_spec_ (switch_type_spec),
02734 switch_body_ (switch_body)
02735 {
02736 }
02737
02738 TAO_PSDL_Union_Type::~TAO_PSDL_Union_Type (void)
02739 {
02740 delete this->identifier_;
02741 delete this->switch_type_spec_;
02742 delete this->switch_body_;
02743 }
02744
02745
02746 TAO_PSDL_Node *
02747 TAO_PSDL_Union_Type::identifier (void) const
02748 {
02749 return this->identifier_;
02750 }
02751
02752 TAO_PSDL_Node *
02753 TAO_PSDL_Union_Type::switch_type_spec (void) const
02754 {
02755 return this->switch_type_spec_;
02756 }
02757
02758 TAO_PSDL_Node *
02759 TAO_PSDL_Union_Type::switch_body (void) const
02760 {
02761 return this->switch_body_;
02762 }
02763
02764
02765 int
02766 TAO_PSDL_Union_Type::accept (TAO_PSDL_Node_Visitor *visitor)
02767 {
02768 return visitor->visit_union_type (this);
02769 }
02770
02771
02772
02773 TAO_PSDL_Switch_Type_Spec::TAO_PSDL_Switch_Type_Spec (TAO_PSDL_Node *type)
02774 : type_ (type)
02775 {
02776 }
02777
02778 TAO_PSDL_Switch_Type_Spec::~TAO_PSDL_Switch_Type_Spec (void)
02779 {
02780 delete this->type_;
02781 }
02782
02783
02784 TAO_PSDL_Node *
02785 TAO_PSDL_Switch_Type_Spec::type (void) const
02786 {
02787 return this->type_;
02788 }
02789
02790
02791 int
02792 TAO_PSDL_Switch_Type_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
02793 {
02794 return visitor->visit_switch_type_spec (this);
02795 }
02796
02797
02798
02799 TAO_PSDL_Switch_Body::TAO_PSDL_Switch_Body (TAO_PSDL_Node *switch_case)
02800 : switch_case_ (switch_case),
02801 switch_body_ (0)
02802 {
02803 }
02804
02805 TAO_PSDL_Switch_Body::TAO_PSDL_Switch_Body (TAO_PSDL_Node *switch_case,
02806 TAO_PSDL_Node *switch_body)
02807 : switch_case_ (switch_case),
02808 switch_body_ (switch_body)
02809 {
02810 }
02811
02812 TAO_PSDL_Switch_Body::~TAO_PSDL_Switch_Body (void)
02813 {
02814 delete this->switch_case_;
02815 delete this->switch_body_;
02816 }
02817
02818
02819 TAO_PSDL_Node *
02820 TAO_PSDL_Switch_Body::switch_case (void) const
02821 {
02822 return this->switch_case_;
02823 }
02824
02825 TAO_PSDL_Node *
02826 TAO_PSDL_Switch_Body::switch_body (void) const
02827 {
02828 return this->switch_body_;
02829 }
02830
02831
02832 int
02833 TAO_PSDL_Switch_Body::accept (TAO_PSDL_Node_Visitor *visitor)
02834 {
02835 return visitor->visit_switch_body (this);
02836 }
02837
02838
02839
02840 TAO_PSDL_Case::TAO_PSDL_Case (TAO_PSDL_Node *case_label,
02841 TAO_PSDL_Node *element_spec)
02842 : case_label_ (case_label),
02843 element_spec_ (element_spec)
02844 {
02845 }
02846
02847 TAO_PSDL_Case::~TAO_PSDL_Case (void)
02848 {
02849 delete this->case_label_;
02850 delete this->element_spec_;
02851 }
02852
02853
02854 TAO_PSDL_Node *
02855 TAO_PSDL_Case::case_label (void) const
02856 {
02857 return this->case_label_;
02858 }
02859
02860 TAO_PSDL_Node *
02861 TAO_PSDL_Case::element_spec (void) const
02862 {
02863 return this->element_spec_;
02864 }
02865
02866
02867 int
02868 TAO_PSDL_Case::accept (TAO_PSDL_Node_Visitor *visitor)
02869 {
02870 return visitor->visit_case_case (this);
02871 }
02872
02873
02874
02875 TAO_PSDL_Case_Label::TAO_PSDL_Case_Label (TAO_PSDL_Node * type)
02876 : type_ (type),
02877 const_exp_ (0),
02878 case_label_ (0)
02879 {
02880 }
02881
02882 TAO_PSDL_Case_Label::TAO_PSDL_Case_Label (TAO_PSDL_Node * type,
02883 TAO_PSDL_Node *const_exp)
02884 : type_ (type),
02885 const_exp_ (const_exp),
02886 case_label_ (0)
02887 {
02888 }
02889
02890 TAO_PSDL_Case_Label::TAO_PSDL_Case_Label (TAO_PSDL_Node * type,
02891 TAO_PSDL_Node *const_exp,
02892 TAO_PSDL_Node *case_label)
02893 : type_ (type),
02894 const_exp_ (const_exp),
02895 case_label_ (case_label)
02896 {
02897 }
02898
02899 TAO_PSDL_Case_Label::~TAO_PSDL_Case_Label (void)
02900 {
02901 if (this->const_exp_ != 0)
02902 delete this->const_exp_;
02903
02904 if (this->case_label_ != 0)
02905 delete this->case_label_;
02906 }
02907
02908
02909 TAO_PSDL_Node *
02910 TAO_PSDL_Case_Label::type (void) const
02911 {
02912 return this->type_;
02913 }
02914
02915 TAO_PSDL_Node *
02916 TAO_PSDL_Case_Label::const_exp (void) const
02917 {
02918 return this->const_exp_;
02919 }
02920
02921 TAO_PSDL_Node *
02922 TAO_PSDL_Case_Label::case_label (void) const
02923 {
02924 return this->case_label_;
02925 }
02926
02927 int
02928 TAO_PSDL_Case_Label::accept (TAO_PSDL_Node_Visitor *visitor)
02929 {
02930 return visitor->visit_case_label (this);
02931 }
02932
02933
02934
02935 TAO_PSDL_Element_Spec::TAO_PSDL_Element_Spec (TAO_PSDL_Node *type_spec,
02936 TAO_PSDL_Node *declarator)
02937 : type_spec_ (type_spec),
02938 declarator_ (declarator)
02939 {
02940 }
02941
02942 TAO_PSDL_Element_Spec::~TAO_PSDL_Element_Spec (void)
02943 {
02944 delete this->type_spec_;
02945 delete this->declarator_;
02946 }
02947
02948
02949 TAO_PSDL_Node *
02950 TAO_PSDL_Element_Spec::type_spec (void) const
02951 {
02952 return this->type_spec_;
02953 }
02954
02955 TAO_PSDL_Node *
02956 TAO_PSDL_Element_Spec::declarator (void) const
02957 {
02958 return this->declarator_;
02959 }
02960
02961
02962 int
02963 TAO_PSDL_Element_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
02964 {
02965 return visitor->visit_element_spec (this);
02966 }
02967
02968
02969
02970 TAO_PSDL_Const_Dcl::TAO_PSDL_Const_Dcl (TAO_PSDL_Node *const_type,
02971 TAO_PSDL_Node *identifier,
02972 TAO_PSDL_Node *const_exp)
02973 : const_type_ (const_type),
02974 identifier_ (identifier),
02975 const_exp_ (const_exp)
02976 {
02977 this->psdl_scope_visitor ()->visit_const_dcl (this);
02978
02979 this->psdl_scope ()->add_const_decl (this->identifiers_[1],
02980 this->identifiers_[0]);
02981
02982
02983
02984 this->count_ = 0;
02985
02986 }
02987
02988 TAO_PSDL_Const_Dcl::~TAO_PSDL_Const_Dcl (void)
02989 {
02990 delete this->const_type_;
02991 delete this->identifier_;
02992 delete this->const_exp_;
02993 }
02994
02995
02996 TAO_PSDL_Node *
02997 TAO_PSDL_Const_Dcl::const_type (void) const
02998 {
02999 return this->const_type_;
03000 }
03001
03002 TAO_PSDL_Node *
03003 TAO_PSDL_Const_Dcl::identifier (void) const
03004 {
03005 return this->identifier_;
03006 }
03007
03008 TAO_PSDL_Node *
03009 TAO_PSDL_Const_Dcl::const_exp (void) const
03010 {
03011 return this->const_exp_;
03012 }
03013
03014
03015 int
03016 TAO_PSDL_Const_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
03017 {
03018 return visitor->visit_const_dcl (this);
03019 }
03020
03021
03022
03023 TAO_PSDL_Const_Type::TAO_PSDL_Const_Type (TAO_PSDL_Node *type)
03024 : type_ (type)
03025 {
03026 }
03027
03028 TAO_PSDL_Const_Type::~TAO_PSDL_Const_Type (void)
03029 {
03030 delete this->type_;
03031 }
03032
03033
03034 TAO_PSDL_Node *
03035 TAO_PSDL_Const_Type::type (void) const
03036 {
03037 return this->type_;
03038 }
03039
03040
03041 int
03042 TAO_PSDL_Const_Type::accept (TAO_PSDL_Node_Visitor *visitor)
03043 {
03044 return visitor->visit_const_type (this);
03045 }
03046
03047
03048
03049 TAO_PSDL_Const_Exp::TAO_PSDL_Const_Exp (TAO_PSDL_Node *expr)
03050 : expr_ (expr)
03051 {
03052 }
03053
03054 TAO_PSDL_Const_Exp::~TAO_PSDL_Const_Exp (void)
03055 {
03056 delete this->expr_;
03057 }
03058
03059
03060 TAO_PSDL_Node *
03061 TAO_PSDL_Const_Exp::expr (void) const
03062 {
03063 return this->expr_;
03064 }
03065
03066
03067 int
03068 TAO_PSDL_Const_Exp::accept (TAO_PSDL_Node_Visitor *visitor)
03069 {
03070 return visitor->visit_const_exp (this);
03071 }
03072
03073
03074
03075 TAO_PSDL_Or_Expr::TAO_PSDL_Or_Expr (TAO_PSDL_Node *xor_expr)
03076 : or_expr_ (0),
03077 xor_expr_ (xor_expr)
03078 {
03079 }
03080
03081 TAO_PSDL_Or_Expr::TAO_PSDL_Or_Expr (TAO_PSDL_Node *or_expr,
03082 TAO_PSDL_Node *xor_expr)
03083 : or_expr_ (or_expr),
03084 xor_expr_ (xor_expr)
03085 {
03086 }
03087
03088 TAO_PSDL_Or_Expr::~TAO_PSDL_Or_Expr (void)
03089 {
03090 if (this->or_expr_ != 0)
03091 delete this->or_expr_;
03092
03093 delete this->xor_expr_;
03094 }
03095
03096
03097 TAO_PSDL_Node *
03098 TAO_PSDL_Or_Expr::or_expr (void) const
03099 {
03100 return this->or_expr_;
03101 }
03102
03103 TAO_PSDL_Node *
03104 TAO_PSDL_Or_Expr::xor_expr (void) const
03105 {
03106 return this->xor_expr_;
03107 }
03108
03109
03110 int
03111 TAO_PSDL_Or_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03112 {
03113 return visitor->visit_or_expr (this);
03114 }
03115
03116
03117
03118 TAO_PSDL_Xor_Expr::TAO_PSDL_Xor_Expr (TAO_PSDL_Node *and_expr)
03119 : xor_expr_ (0),
03120 and_expr_ (and_expr)
03121 {
03122 }
03123
03124 TAO_PSDL_Xor_Expr::TAO_PSDL_Xor_Expr (TAO_PSDL_Node *xor_expr,
03125 TAO_PSDL_Node *and_expr)
03126 : xor_expr_ (xor_expr),
03127 and_expr_ (and_expr)
03128 {
03129 }
03130
03131 TAO_PSDL_Xor_Expr::~TAO_PSDL_Xor_Expr (void)
03132 {
03133 if (this->xor_expr_ != 0)
03134 delete this->xor_expr_;
03135
03136 delete this->and_expr_;
03137 }
03138
03139
03140 TAO_PSDL_Node *
03141 TAO_PSDL_Xor_Expr::xor_expr (void) const
03142 {
03143 return this->xor_expr_;
03144 }
03145
03146 TAO_PSDL_Node *
03147 TAO_PSDL_Xor_Expr::and_expr (void) const
03148 {
03149 return this->and_expr_;
03150 }
03151
03152
03153 int
03154 TAO_PSDL_Xor_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03155 {
03156 return visitor->visit_xor_expr (this);
03157 }
03158
03159
03160
03161 TAO_PSDL_And_Expr::TAO_PSDL_And_Expr (TAO_PSDL_Node *shift_expr)
03162 : and_expr_ (0),
03163 shift_expr_ (shift_expr)
03164 {
03165 }
03166
03167 TAO_PSDL_And_Expr::TAO_PSDL_And_Expr (TAO_PSDL_Node *and_expr,
03168 TAO_PSDL_Node *shift_expr)
03169 : and_expr_ (and_expr),
03170 shift_expr_ (shift_expr)
03171 {
03172 }
03173
03174 TAO_PSDL_And_Expr::~TAO_PSDL_And_Expr (void)
03175 {
03176 if (this->shift_expr_ != 0)
03177 delete this->shift_expr_;
03178
03179 delete this->and_expr_;
03180 }
03181
03182
03183 TAO_PSDL_Node *
03184 TAO_PSDL_And_Expr::and_expr (void) const
03185 {
03186 return this->and_expr_;
03187 }
03188
03189 TAO_PSDL_Node *
03190 TAO_PSDL_And_Expr::shift_expr (void) const
03191 {
03192 return this->shift_expr_;
03193 }
03194
03195
03196 int
03197 TAO_PSDL_And_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03198 {
03199 return visitor->visit_and_expr (this);
03200 }
03201
03202
03203 TAO_PSDL_Shift_Expr::TAO_PSDL_Shift_Expr (TAO_PSDL_Node *add_expr)
03204 : shift_expr_ (0),
03205 type_ (0),
03206 add_expr_ (add_expr)
03207 {
03208 }
03209
03210 TAO_PSDL_Shift_Expr::TAO_PSDL_Shift_Expr (TAO_PSDL_Node *shift_expr,
03211 TAO_PSDL_Node * type,
03212 TAO_PSDL_Node *add_expr)
03213 : shift_expr_ (shift_expr),
03214 type_ (type),
03215 add_expr_ (add_expr)
03216 {
03217 }
03218
03219 TAO_PSDL_Shift_Expr::~TAO_PSDL_Shift_Expr (void)
03220 {
03221 if (this->shift_expr_ != 0)
03222 delete this->shift_expr_;
03223
03224 delete this->add_expr_;
03225 }
03226
03227
03228 TAO_PSDL_Node *
03229 TAO_PSDL_Shift_Expr::type (void) const
03230 {
03231 return this->type_;
03232 }
03233
03234 TAO_PSDL_Node *
03235 TAO_PSDL_Shift_Expr::add_expr (void) const
03236 {
03237 return this->add_expr_;
03238 }
03239
03240 TAO_PSDL_Node *
03241 TAO_PSDL_Shift_Expr::shift_expr (void) const
03242 {
03243 return this->shift_expr_;
03244 }
03245
03246
03247 int
03248 TAO_PSDL_Shift_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03249 {
03250 return visitor->visit_shift_expr (this);
03251 }
03252
03253
03254
03255 TAO_PSDL_Add_Expr::TAO_PSDL_Add_Expr (TAO_PSDL_Node *mult_expr)
03256 : add_expr_ (0),
03257 type_ (0),
03258 mult_expr_ (mult_expr)
03259 {
03260 }
03261
03262 TAO_PSDL_Add_Expr::TAO_PSDL_Add_Expr (TAO_PSDL_Node *add_expr,
03263 TAO_PSDL_Node * type,
03264 TAO_PSDL_Node *mult_expr)
03265 : add_expr_ (add_expr),
03266 type_ (type),
03267 mult_expr_ (mult_expr)
03268 {
03269 }
03270
03271 TAO_PSDL_Add_Expr::~TAO_PSDL_Add_Expr (void)
03272 {
03273 if (this->add_expr_ != 0)
03274 delete this->add_expr_;
03275
03276 delete this->mult_expr_;
03277 }
03278
03279
03280 TAO_PSDL_Node *
03281 TAO_PSDL_Add_Expr::type (void) const
03282 {
03283 return this->type_;
03284 }
03285
03286 TAO_PSDL_Node *
03287 TAO_PSDL_Add_Expr::add_expr (void) const
03288 {
03289 return this->add_expr_;
03290 }
03291
03292 TAO_PSDL_Node *
03293 TAO_PSDL_Add_Expr::mult_expr (void) const
03294 {
03295 return this->mult_expr_;
03296 }
03297
03298
03299 int
03300 TAO_PSDL_Add_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03301 {
03302 return visitor->visit_add_expr (this);
03303 }
03304
03305
03306
03307 TAO_PSDL_Mult_Expr::TAO_PSDL_Mult_Expr (TAO_PSDL_Node *unary_expr)
03308 : mult_expr_ (0),
03309 type_ (0),
03310 unary_expr_ (unary_expr)
03311 {
03312 }
03313
03314 TAO_PSDL_Mult_Expr::TAO_PSDL_Mult_Expr (TAO_PSDL_Node *mult_expr,
03315 TAO_PSDL_Node *unary_expr)
03316 : mult_expr_ (mult_expr),
03317 type_ (0),
03318 unary_expr_ (unary_expr)
03319 {
03320 }
03321
03322 TAO_PSDL_Mult_Expr::TAO_PSDL_Mult_Expr (TAO_PSDL_Node *mult_expr,
03323 TAO_PSDL_Node * type,
03324 TAO_PSDL_Node *unary_expr)
03325 : mult_expr_ (mult_expr),
03326 type_ (type),
03327 unary_expr_ (unary_expr)
03328 {
03329 }
03330
03331 TAO_PSDL_Mult_Expr::~TAO_PSDL_Mult_Expr (void)
03332 {
03333 if (this->mult_expr_ != 0)
03334 delete this->mult_expr_;
03335
03336 if (this->type_ != 0)
03337 delete this->type_;
03338
03339 delete this->unary_expr_;
03340 }
03341
03342
03343 TAO_PSDL_Node *
03344 TAO_PSDL_Mult_Expr::type (void) const
03345 {
03346 return this->type_;
03347 }
03348
03349 TAO_PSDL_Node *
03350 TAO_PSDL_Mult_Expr::unary_expr (void) const
03351 {
03352 return this->unary_expr_;
03353 }
03354
03355 TAO_PSDL_Node *
03356 TAO_PSDL_Mult_Expr::mult_expr (void) const
03357 {
03358 return this->mult_expr_;
03359 }
03360
03361
03362 int
03363 TAO_PSDL_Mult_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03364 {
03365 return visitor->visit_mult_expr (this);
03366 }
03367
03368
03369
03370 TAO_PSDL_Unary_Expr::TAO_PSDL_Unary_Expr (TAO_PSDL_Node *unary_operator,
03371 TAO_PSDL_Node *primary_expr)
03372 : unary_operator_ (unary_operator),
03373 primary_expr_ (primary_expr)
03374 {
03375 }
03376
03377 TAO_PSDL_Unary_Expr::TAO_PSDL_Unary_Expr (TAO_PSDL_Node *primary_expr)
03378 : unary_operator_ (0),
03379 primary_expr_ (primary_expr)
03380 {
03381 }
03382
03383 TAO_PSDL_Unary_Expr::~TAO_PSDL_Unary_Expr (void)
03384 {
03385 if (this->unary_operator_ != 0)
03386 delete this->unary_operator_;
03387
03388 delete this->primary_expr_;
03389 }
03390
03391
03392 TAO_PSDL_Node *
03393 TAO_PSDL_Unary_Expr::unary_operator (void) const
03394 {
03395 return this->unary_operator_;
03396 }
03397
03398 TAO_PSDL_Node *
03399 TAO_PSDL_Unary_Expr::primary_expr (void) const
03400 {
03401 return this->primary_expr_;
03402 }
03403
03404
03405 int
03406 TAO_PSDL_Unary_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03407 {
03408 return visitor->visit_unary_expr (this);
03409 }
03410
03411
03412 TAO_PSDL_Primary_Expr::TAO_PSDL_Primary_Expr (TAO_PSDL_Node *type_of_primary_expr)
03413 : type_of_primary_expr_ (type_of_primary_expr)
03414 {
03415 }
03416
03417 TAO_PSDL_Primary_Expr::~TAO_PSDL_Primary_Expr (void)
03418 {
03419 delete this->type_of_primary_expr_;
03420 }
03421
03422
03423 TAO_PSDL_Node *
03424 TAO_PSDL_Primary_Expr::type_of_primary_expr (void) const
03425 {
03426 return this->type_of_primary_expr_;
03427 }
03428
03429
03430 int
03431 TAO_PSDL_Primary_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03432 {
03433 return visitor->visit_primary_expr (this);
03434 }
03435
03436
03437
03438 TAO_PSDL_Except_Dcl::TAO_PSDL_Except_Dcl (TAO_PSDL_Node *identifier)
03439 : identifier_ (identifier),
03440 member_list_ (0)
03441 {
03442 }
03443
03444 TAO_PSDL_Except_Dcl::TAO_PSDL_Except_Dcl (TAO_PSDL_Node *identifier,
03445 TAO_PSDL_Node *member_list)
03446 : identifier_ (identifier),
03447 member_list_ (member_list)
03448 {
03449 }
03450
03451 TAO_PSDL_Except_Dcl::~TAO_PSDL_Except_Dcl (void)
03452 {
03453 delete this->identifier_;
03454 if (this->member_list_ != 0)
03455 delete this->member_list_;
03456 }
03457
03458
03459 TAO_PSDL_Node *
03460 TAO_PSDL_Except_Dcl::identifier (void) const
03461 {
03462 return this->identifier_;
03463 }
03464
03465 TAO_PSDL_Node *
03466 TAO_PSDL_Except_Dcl::member_list (void) const
03467 {
03468 return this->member_list_;
03469 }
03470
03471
03472 int
03473 TAO_PSDL_Except_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
03474 {
03475 return visitor->visit_except_dcl (this);
03476 }
03477
03478
03479
03480 TAO_PSDL_Op_Dcl::TAO_PSDL_Op_Dcl (TAO_PSDL_Node *op_attribute,
03481 TAO_PSDL_Node *op_type_spec,
03482 TAO_PSDL_Node *identifier,
03483 TAO_PSDL_Node * parameter_dcls,
03484 TAO_PSDL_Node * raises_expr,
03485 TAO_PSDL_Node * context_expr)
03486 : op_attribute_ (op_attribute),
03487 op_type_spec_ (op_type_spec),
03488 identifier_ (identifier),
03489 parameter_dcls_ (parameter_dcls),
03490 raises_expr_ (raises_expr),
03491 context_expr_ (context_expr)
03492 {
03493 }
03494
03495 TAO_PSDL_Op_Dcl::TAO_PSDL_Op_Dcl (TAO_PSDL_Node *op_type_spec,
03496 TAO_PSDL_Node *identifier,
03497 TAO_PSDL_Node * parameter_dcls,
03498 TAO_PSDL_Node * raises_expr,
03499 TAO_PSDL_Node * context_expr)
03500 : op_attribute_ (0),
03501 op_type_spec_ (op_type_spec),
03502 identifier_ (identifier),
03503 parameter_dcls_ (parameter_dcls),
03504 raises_expr_ (raises_expr),
03505 context_expr_ (context_expr)
03506 {
03507 }
03508
03509 TAO_PSDL_Op_Dcl::TAO_PSDL_Op_Dcl (TAO_PSDL_Node *op_type_spec,
03510 TAO_PSDL_Node *identifier,
03511 TAO_PSDL_Node * parameter_dcls,
03512 TAO_PSDL_Node * raises_expr)
03513 : op_attribute_ (0),
03514 op_type_spec_ (op_type_spec),
03515 identifier_ (identifier),
03516 parameter_dcls_ (parameter_dcls),
03517 raises_expr_ (raises_expr),
03518 context_expr_ (0)
03519 {
03520 }
03521
03522 TAO_PSDL_Op_Dcl::TAO_PSDL_Op_Dcl (TAO_PSDL_Node *op_type_spec,
03523 TAO_PSDL_Node *identifier,
03524 TAO_PSDL_Node * parameter_dcls)
03525 : op_attribute_ (0),
03526 op_type_spec_ (op_type_spec),
03527 identifier_ (identifier),
03528 parameter_dcls_ (parameter_dcls),
03529 raises_expr_ (0),
03530 context_expr_ (0)
03531 {
03532 }
03533
03534 TAO_PSDL_Op_Dcl::~TAO_PSDL_Op_Dcl (void)
03535 {
03536 if (this->op_attribute_ != 0)
03537 delete this->op_attribute_;
03538
03539 delete this->op_type_spec_;
03540 delete this->identifier_;
03541 delete this->parameter_dcls_;
03542
03543 if (this->raises_expr_ != 0)
03544 delete this->raises_expr_;
03545
03546 if (this->context_expr_ != 0)
03547 delete this->context_expr_;
03548 }
03549
03550
03551 TAO_PSDL_Node *
03552 TAO_PSDL_Op_Dcl::op_attribute (void) const
03553 {
03554 return this->op_attribute_;
03555 }
03556
03557 TAO_PSDL_Node *
03558 TAO_PSDL_Op_Dcl::op_type_spec (void) const
03559 {
03560 return this->op_type_spec_;
03561 }
03562
03563 TAO_PSDL_Node *
03564 TAO_PSDL_Op_Dcl::identifier (void) const
03565 {
03566 return this->identifier_;
03567 }
03568
03569 TAO_PSDL_Node *
03570 TAO_PSDL_Op_Dcl::parameter_dcls (void) const
03571 {
03572 return this->parameter_dcls_;
03573 }
03574
03575 TAO_PSDL_Node *
03576 TAO_PSDL_Op_Dcl::raises_expr (void) const
03577 {
03578 return this->raises_expr_;
03579 }
03580
03581 TAO_PSDL_Node *
03582 TAO_PSDL_Op_Dcl::context_expr (void) const
03583 {
03584 return this->context_expr_;
03585 }
03586
03587
03588 int
03589 TAO_PSDL_Op_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
03590 {
03591 return visitor->visit_op_dcl (this);
03592 }
03593
03594
03595
03596 TAO_PSDL_Op_Type_Spec::TAO_PSDL_Op_Type_Spec (TAO_PSDL_Node *type_spec)
03597 : type_spec_ (type_spec),
03598 type_ (0)
03599 {
03600 }
03601
03602 TAO_PSDL_Op_Type_Spec::TAO_PSDL_Op_Type_Spec (int type)
03603 : type_spec_ (0),
03604 type_ (type)
03605 {
03606 }
03607
03608 TAO_PSDL_Op_Type_Spec::~TAO_PSDL_Op_Type_Spec (void)
03609 {
03610 if (this->type_spec_ != 0)
03611 delete this->type_spec_;
03612 }
03613
03614
03615 TAO_PSDL_Node *
03616 TAO_PSDL_Op_Type_Spec::type_spec (void) const
03617 {
03618 return this->type_spec_;
03619 }
03620
03621 int
03622 TAO_PSDL_Op_Type_Spec::type (void) const
03623 {
03624 return this->type_;
03625 }
03626
03627
03628 int
03629 TAO_PSDL_Op_Type_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
03630 {
03631 return visitor->visit_op_type_spec (this);
03632 }
03633
03634
03635
03636 TAO_PSDL_Parameter_Dcls::TAO_PSDL_Parameter_Dcls ()
03637 : param_dcl_ (0)
03638 {
03639 }
03640
03641 TAO_PSDL_Parameter_Dcls::TAO_PSDL_Parameter_Dcls (TAO_PSDL_Node *param_dcl)
03642 : param_dcl_ (param_dcl)
03643 {
03644 }
03645
03646 TAO_PSDL_Parameter_Dcls::~TAO_PSDL_Parameter_Dcls (void)
03647 {
03648 delete this->param_dcl_;
03649 }
03650
03651
03652 TAO_PSDL_Node *
03653 TAO_PSDL_Parameter_Dcls::param_dcl (void) const
03654 {
03655 return this->param_dcl_;
03656 }
03657
03658
03659 int
03660 TAO_PSDL_Parameter_Dcls::accept (TAO_PSDL_Node_Visitor *visitor)
03661 {
03662 return visitor->visit_parameter_dcls (this);
03663 }
03664
03665
03666
03667 TAO_PSDL_Param_Dcl::TAO_PSDL_Param_Dcl (TAO_PSDL_Node *param_attribute,
03668 TAO_PSDL_Node *param_type_spec,
03669 TAO_PSDL_Node *simple_declarator)
03670 : param_attribute_ (param_attribute),
03671 param_type_spec_ (param_type_spec),
03672 simple_declarator_ (simple_declarator),
03673 param_dcl_ (0)
03674 {
03675 }
03676
03677 TAO_PSDL_Param_Dcl::TAO_PSDL_Param_Dcl (TAO_PSDL_Node *param_attribute,
03678 TAO_PSDL_Node *param_type_spec,
03679 TAO_PSDL_Node *simple_declarator,
03680 TAO_PSDL_Node *param_dcl)
03681 : param_attribute_ (param_attribute),
03682 param_type_spec_ (param_type_spec),
03683 simple_declarator_ (simple_declarator),
03684 param_dcl_ (param_dcl)
03685 {
03686 }
03687
03688 TAO_PSDL_Param_Dcl::~TAO_PSDL_Param_Dcl (void)
03689 {
03690 delete this->param_attribute_;
03691 delete this->param_type_spec_;
03692 delete this->simple_declarator_;
03693
03694 if (this->param_dcl_ != 0)
03695 delete this->param_dcl_;
03696 }
03697
03698
03699 TAO_PSDL_Node *
03700 TAO_PSDL_Param_Dcl::param_attribute (void) const
03701 {
03702 return this->param_attribute_;
03703 }
03704
03705 TAO_PSDL_Node *
03706 TAO_PSDL_Param_Dcl::param_type_spec (void) const
03707 {
03708 return this->param_type_spec_;
03709 }
03710
03711 TAO_PSDL_Node *
03712 TAO_PSDL_Param_Dcl::simple_declarator (void) const
03713 {
03714 return this->simple_declarator_;
03715 }
03716
03717 TAO_PSDL_Node *
03718 TAO_PSDL_Param_Dcl::param_dcl (void) const
03719 {
03720 return this->param_dcl_;
03721 }
03722
03723
03724 int
03725 TAO_PSDL_Param_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
03726 {
03727 return visitor->visit_param_dcl (this);
03728 }
03729
03730
03731
03732 TAO_PSDL_Raises_Expr::TAO_PSDL_Raises_Expr (TAO_PSDL_Node *first_scoped_name)
03733 : first_scoped_name_ (first_scoped_name),
03734 second_scoped_name_ (0)
03735 {
03736 this->psdl_scope_visitor ()->visit_raises_expr (this);
03737
03738 this->set_identifier ("raises_exception");
03739 }
03740
03741 TAO_PSDL_Raises_Expr::TAO_PSDL_Raises_Expr (TAO_PSDL_Node *first_scoped_name,
03742 TAO_PSDL_Node *second_scoped_name)
03743 : first_scoped_name_ (first_scoped_name),
03744 second_scoped_name_ (second_scoped_name)
03745 {
03746 this->set_identifier ("raises_exception");
03747
03748 this->psdl_scope_visitor ()->visit_raises_expr (this);
03749 }
03750
03751 TAO_PSDL_Raises_Expr::~TAO_PSDL_Raises_Expr (void)
03752 {
03753 delete this->first_scoped_name_;
03754
03755 if (this->second_scoped_name_ != 0)
03756 delete this->second_scoped_name_;
03757 }
03758
03759
03760 TAO_PSDL_Node *
03761 TAO_PSDL_Raises_Expr::first_scoped_name (void) const
03762 {
03763 return this->first_scoped_name_;
03764 }
03765
03766 TAO_PSDL_Node *
03767 TAO_PSDL_Raises_Expr::second_scoped_name (void) const
03768 {
03769 return this->second_scoped_name_;
03770 }
03771
03772
03773 int
03774 TAO_PSDL_Raises_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03775 {
03776 return visitor->visit_raises_expr (this);
03777 }
03778
03779
03780 TAO_PSDL_Context_Expr::TAO_PSDL_Context_Expr (TAO_PSDL_Node *string_literal)
03781 : string_literal_ (string_literal)
03782 {
03783 }
03784
03785 TAO_PSDL_Context_Expr::~TAO_PSDL_Context_Expr (void)
03786 {
03787 delete this->string_literal_;
03788 }
03789
03790
03791 TAO_PSDL_Node *
03792 TAO_PSDL_Context_Expr::string_literal (void) const
03793 {
03794 return this->string_literal_;
03795 }
03796
03797
03798 int
03799 TAO_PSDL_Context_Expr::accept (TAO_PSDL_Node_Visitor *visitor)
03800 {
03801 return visitor->visit_context_expr (this);
03802 }
03803
03804
03805 TAO_PSDL_Param_Type_Spec::TAO_PSDL_Param_Type_Spec (
03806 TAO_PSDL_Node *type_of_param)
03807 : type_of_param_ (type_of_param)
03808 {
03809 }
03810
03811 TAO_PSDL_Param_Type_Spec::~TAO_PSDL_Param_Type_Spec (void)
03812 {
03813 delete this->type_of_param_;
03814 }
03815
03816
03817 TAO_PSDL_Node *
03818 TAO_PSDL_Param_Type_Spec::type_of_param (void) const
03819 {
03820 return this->type_of_param_;
03821 }
03822
03823
03824 int
03825 TAO_PSDL_Param_Type_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
03826 {
03827 return visitor->visit_param_type_spec (this);
03828 }
03829
03830
03831
03832 TAO_PSDL_Fixed_Pt_Type::TAO_PSDL_Fixed_Pt_Type (
03833 TAO_PSDL_Node *positive_int_const_one,
03834 TAO_PSDL_Node *positive_int_const_two)
03835 : positive_int_const_one_ (positive_int_const_one),
03836 positive_int_const_two_ (positive_int_const_two)
03837 {
03838 }
03839
03840 TAO_PSDL_Fixed_Pt_Type::~TAO_PSDL_Fixed_Pt_Type (void)
03841 {
03842 delete this->positive_int_const_one_;
03843 delete this->positive_int_const_two_;
03844 }
03845
03846
03847 TAO_PSDL_Node *
03848 TAO_PSDL_Fixed_Pt_Type::positive_int_const_one (void) const
03849 {
03850 return this->positive_int_const_one_;
03851 }
03852
03853 TAO_PSDL_Node *
03854 TAO_PSDL_Fixed_Pt_Type::positive_int_const_two (void) const
03855 {
03856 return this->positive_int_const_two_;
03857 }
03858
03859 int
03860 TAO_PSDL_Fixed_Pt_Type::accept (TAO_PSDL_Node_Visitor *visitor)
03861 {
03862 return visitor->visit_fixed_pt_type (this);
03863 }
03864
03865
03866
03867 TAO_PSDL_Constr_Forward_Decl::TAO_PSDL_Constr_Forward_Decl (TAO_PSDL_Node * type,
03868 TAO_PSDL_Node *identifier)
03869 : type_ (type),
03870 identifier_ (identifier)
03871 {
03872 }
03873
03874 TAO_PSDL_Constr_Forward_Decl::~TAO_PSDL_Constr_Forward_Decl (void)
03875 {
03876 delete this->identifier_;
03877 }
03878
03879
03880 TAO_PSDL_Node *
03881 TAO_PSDL_Constr_Forward_Decl::type (void) const
03882 {
03883 return this->type_;
03884 }
03885
03886 TAO_PSDL_Node *
03887 TAO_PSDL_Constr_Forward_Decl::identifier (void) const
03888 {
03889 return this->identifier_;
03890 }
03891
03892 int
03893 TAO_PSDL_Constr_Forward_Decl::accept (TAO_PSDL_Node_Visitor *visitor)
03894 {
03895 return visitor->visit_constr_forward_decl (this);
03896 }
03897
03898
03899
03900 TAO_PSDL_Interface::TAO_PSDL_Interface (TAO_PSDL_Node *type_of_dcl)
03901 : type_of_dcl_ (type_of_dcl)
03902 {
03903 }
03904
03905 TAO_PSDL_Interface::~TAO_PSDL_Interface (void)
03906 {
03907 delete this->type_of_dcl_;
03908 }
03909
03910
03911 TAO_PSDL_Node *
03912 TAO_PSDL_Interface::type_of_dcl (void) const
03913 {
03914 return this->type_of_dcl_;
03915 }
03916
03917
03918 int
03919 TAO_PSDL_Interface::accept (TAO_PSDL_Node_Visitor *visitor)
03920 {
03921 return visitor->visit_interface (this);
03922 }
03923
03924
03925
03926 TAO_PSDL_Interface_Body::TAO_PSDL_Interface_Body (TAO_PSDL_Node *export_variable)
03927 : export_variable_ (export_variable),
03928 interface_body_ (0)
03929 {
03930 }
03931
03932 TAO_PSDL_Interface_Body::TAO_PSDL_Interface_Body (
03933 TAO_PSDL_Node *export_variable,
03934 TAO_PSDL_Node *interface_body)
03935 : export_variable_ (export_variable),
03936 interface_body_ (interface_body)
03937 {
03938 }
03939
03940 TAO_PSDL_Interface_Body::~TAO_PSDL_Interface_Body (void)
03941 {
03942 delete this->export_variable_;
03943
03944 if (this->interface_body_ != 0)
03945 delete this->interface_body_;
03946 }
03947
03948
03949 TAO_PSDL_Node *
03950 TAO_PSDL_Interface_Body::export_variable (void) const
03951 {
03952 return this->export_variable_;
03953 }
03954
03955 TAO_PSDL_Node *
03956 TAO_PSDL_Interface_Body::interface_body (void) const
03957 {
03958 return this->interface_body_;
03959 }
03960
03961
03962
03963 int
03964 TAO_PSDL_Interface_Body::accept (TAO_PSDL_Node_Visitor *visitor)
03965 {
03966 return visitor->visit_interface_body (this);
03967 }
03968
03969
03970
03971 TAO_PSDL_Interface_Dcl::TAO_PSDL_Interface_Dcl (
03972 TAO_PSDL_Node *interface_header)
03973 : interface_header_ (interface_header),
03974 interface_body_ (0)
03975 {
03976 }
03977
03978 TAO_PSDL_Interface_Dcl::TAO_PSDL_Interface_Dcl (
03979 TAO_PSDL_Node *interface_header,
03980 TAO_PSDL_Node *interface_body)
03981 : interface_header_ (interface_header),
03982 interface_body_ (interface_body)
03983 {
03984 }
03985
03986
03987 TAO_PSDL_Interface_Dcl::~TAO_PSDL_Interface_Dcl (void)
03988 {
03989 delete this->interface_header_;
03990
03991 if (this->interface_body_ != 0)
03992 delete this->interface_body_;
03993 }
03994
03995
03996 TAO_PSDL_Node *
03997 TAO_PSDL_Interface_Dcl::interface_header (void) const
03998 {
03999 return this->interface_header_;
04000 }
04001
04002 TAO_PSDL_Node *
04003 TAO_PSDL_Interface_Dcl::interface_body (void) const
04004 {
04005 return this->interface_body_;
04006 }
04007
04008
04009 int
04010 TAO_PSDL_Interface_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
04011 {
04012 return visitor->visit_interface_dcl (this);
04013 }
04014
04015
04016
04017 TAO_PSDL_Forward_Dcl::TAO_PSDL_Forward_Dcl (TAO_PSDL_Node *identifier)
04018 : type_ (0),
04019 identifier_ (identifier)
04020 {
04021 this->psdl_scope_visitor ()->visit_forward_dcl (this);
04022
04023 TAO_PSDL_Scope::instance ()->add_interface_dcl_to_scope (this->identifiers_[0],
04024
04025 this->psdl_scope ());
04026 }
04027
04028 TAO_PSDL_Forward_Dcl::TAO_PSDL_Forward_Dcl (int type,
04029 TAO_PSDL_Node *identifier)
04030 : type_ (type),
04031 identifier_ (identifier)
04032 {
04033 this->psdl_scope_visitor ()->visit_forward_dcl (this);
04034
04035 TAO_PSDL_Scope::instance ()->add_interface_dcl_to_scope (this->identifiers_[0],
04036
04037 this->psdl_scope ());
04038
04039 }
04040
04041 TAO_PSDL_Forward_Dcl::~TAO_PSDL_Forward_Dcl (void)
04042 {
04043 delete this->identifier_;
04044 }
04045
04046
04047 int
04048 TAO_PSDL_Forward_Dcl::type (void) const
04049 {
04050 return this->type_;
04051 }
04052
04053 TAO_PSDL_Node *
04054 TAO_PSDL_Forward_Dcl::identifier (void) const
04055 {
04056 return this->identifier_;
04057 }
04058
04059
04060 int
04061 TAO_PSDL_Forward_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
04062 {
04063 return visitor->visit_forward_dcl (this);
04064 }
04065
04066
04067
04068 TAO_PSDL_Interface_Header::TAO_PSDL_Interface_Header (TAO_PSDL_Node *identifier)
04069 : type_ (0),
04070 identifier_ (identifier),
04071 interface_inheritance_spec_ (0)
04072 {
04073 }
04074
04075 TAO_PSDL_Interface_Header::TAO_PSDL_Interface_Header (TAO_PSDL_Node *type,
04076 TAO_PSDL_Node *identifier)
04077 : type_ (type),
04078 identifier_ (identifier),
04079 interface_inheritance_spec_ (0)
04080 {
04081 }
04082
04083 TAO_PSDL_Interface_Header::TAO_PSDL_Interface_Header (TAO_PSDL_Node * type,
04084 TAO_PSDL_Node *identifier,
04085 TAO_PSDL_Node *interface_inheritance_spec)
04086 : type_ (type),
04087 identifier_ (identifier),
04088 interface_inheritance_spec_ (interface_inheritance_spec)
04089 {
04090 }
04091
04092 TAO_PSDL_Interface_Header::~TAO_PSDL_Interface_Header (void)
04093 {
04094 if (this->identifier_ != 0)
04095 delete this->identifier_;
04096
04097 if (this->interface_inheritance_spec_ != 0)
04098 delete this->interface_inheritance_spec_;
04099 }
04100
04101
04102 TAO_PSDL_Node *
04103 TAO_PSDL_Interface_Header::type (void) const
04104 {
04105 return this->type_;
04106 }
04107
04108 TAO_PSDL_Node *
04109 TAO_PSDL_Interface_Header::identifier (void) const
04110 {
04111 return this->identifier_;
04112 }
04113
04114 TAO_PSDL_Node *
04115 TAO_PSDL_Interface_Header::interface_inheritance_spec (void) const
04116 {
04117 return this->interface_inheritance_spec_;
04118 }
04119
04120
04121 int
04122 TAO_PSDL_Interface_Header::accept (TAO_PSDL_Node_Visitor *visitor)
04123 {
04124 return visitor->visit_interface_header (this);
04125 }
04126
04127
04128
04129 TAO_PSDL_Export_Dcl::TAO_PSDL_Export_Dcl (TAO_PSDL_Node *type_of_export_one)
04130 : type_of_export_one_ (type_of_export_one),
04131 type_of_export_two_ (0)
04132 {
04133 }
04134
04135 TAO_PSDL_Export_Dcl::TAO_PSDL_Export_Dcl (TAO_PSDL_Node *type_of_export_one,
04136 TAO_PSDL_Node *type_of_export_two)
04137 : type_of_export_one_ (type_of_export_one),
04138 type_of_export_two_ (type_of_export_two)
04139 {
04140 }
04141
04142 TAO_PSDL_Export_Dcl::~TAO_PSDL_Export_Dcl (void)
04143 {
04144 delete this->type_of_export_one_;
04145
04146 if (this->type_of_export_two_ != 0)
04147 delete this->type_of_export_two_;
04148 }
04149
04150
04151 TAO_PSDL_Node *
04152 TAO_PSDL_Export_Dcl::type_of_export_one (void) const
04153 {
04154 return this->type_of_export_one_;
04155 }
04156
04157 TAO_PSDL_Node *
04158 TAO_PSDL_Export_Dcl::type_of_export_two (void) const
04159 {
04160 return this->type_of_export_two_;
04161 }
04162
04163
04164 int
04165 TAO_PSDL_Export_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
04166 {
04167 return visitor->visit_export_dcl (this);
04168 }
04169
04170
04171
04172 TAO_PSDL_Interface_Inheritance_Spec::TAO_PSDL_Interface_Inheritance_Spec (
04173 TAO_PSDL_Node *interface_name)
04174 : interface_name_ (interface_name)
04175 {
04176 }
04177
04178 TAO_PSDL_Interface_Inheritance_Spec::~TAO_PSDL_Interface_Inheritance_Spec (void)
04179 {
04180 if (this->interface_name_ != 0)
04181 delete this->interface_name_;
04182 }
04183
04184
04185 TAO_PSDL_Node *
04186 TAO_PSDL_Interface_Inheritance_Spec::interface_name (void) const
04187 {
04188 return this->interface_name_;
04189 }
04190
04191
04192
04193 int
04194 TAO_PSDL_Interface_Inheritance_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
04195 {
04196 return visitor->visit_interface_inheritance_spec (this);
04197 }
04198
04199
04200
04201 TAO_PSDL_Interface_Name::TAO_PSDL_Interface_Name (
04202 TAO_PSDL_Node *scoped_name)
04203 : scoped_name_ (scoped_name),
04204 interface_name_ (0)
04205 {
04206 }
04207
04208 TAO_PSDL_Interface_Name::TAO_PSDL_Interface_Name (
04209 TAO_PSDL_Node *scoped_name,
04210 TAO_PSDL_Node *interface_name)
04211 : scoped_name_ (scoped_name),
04212 interface_name_ (interface_name)
04213 {
04214 }
04215
04216 TAO_PSDL_Interface_Name::~TAO_PSDL_Interface_Name (void)
04217 {
04218 delete this->scoped_name_;
04219
04220 if (this->interface_name_ != 0)
04221 delete this->interface_name_;
04222 }
04223
04224
04225 TAO_PSDL_Node *
04226 TAO_PSDL_Interface_Name::scoped_name (void) const
04227 {
04228 return this->scoped_name_;
04229 }
04230
04231 TAO_PSDL_Node *
04232 TAO_PSDL_Interface_Name::interface_name (void) const
04233 {
04234 return this->interface_name_;
04235 }
04236
04237
04238 int
04239 TAO_PSDL_Interface_Name::accept (TAO_PSDL_Node_Visitor *visitor)
04240 {
04241 return visitor->visit_interface_name (this);
04242 }
04243
04244
04245
04246 TAO_PSDL_Scoped_Name::TAO_PSDL_Scoped_Name (
04247 TAO_PSDL_Node *identifier)
04248 : identifier_ (identifier),
04249 scoped_name_ (0)
04250 {
04251 this->psdl_scope_visitor ()->visit_scoped_name (this);
04252 }
04253
04254 TAO_PSDL_Scoped_Name::TAO_PSDL_Scoped_Name (
04255 TAO_PSDL_Node *scoped_name,
04256 TAO_PSDL_Node *identifier)
04257 : identifier_ (identifier),
04258 scoped_name_ (scoped_name)
04259 {
04260 this->psdl_scope_visitor ()->visit_scoped_name (this);
04261 }
04262
04263 TAO_PSDL_Scoped_Name::~TAO_PSDL_Scoped_Name (void)
04264 {
04265 delete this->identifier_;
04266
04267 if (this->scoped_name_ != 0)
04268 delete this->scoped_name_;
04269 }
04270
04271
04272 TAO_PSDL_Node *
04273 TAO_PSDL_Scoped_Name::identifier (void) const
04274 {
04275 return this->identifier_;
04276 }
04277
04278 TAO_PSDL_Node *
04279 TAO_PSDL_Scoped_Name::scoped_name (void) const
04280 {
04281 return this->scoped_name_;
04282 }
04283
04284
04285 int
04286 TAO_PSDL_Scoped_Name::accept (TAO_PSDL_Node_Visitor *visitor)
04287 {
04288 return visitor->visit_scoped_name (this);
04289 }
04290
04291
04292
04293 TAO_PSDL_Value::TAO_PSDL_Value (TAO_PSDL_Node *type_of_value_dcl)
04294 : type_of_value_dcl_ (type_of_value_dcl)
04295 {
04296 }
04297
04298 TAO_PSDL_Value::~TAO_PSDL_Value (void)
04299 {
04300 delete this->type_of_value_dcl_;
04301 }
04302
04303
04304 TAO_PSDL_Node *
04305 TAO_PSDL_Value::type_of_value_dcl (void) const
04306 {
04307 return this->type_of_value_dcl_;
04308 }
04309
04310
04311 int
04312 TAO_PSDL_Value::accept (TAO_PSDL_Node_Visitor *visitor)
04313 {
04314 return visitor->visit_value (this);
04315 }
04316
04317
04318
04319 TAO_PSDL_Value_Common_Base::TAO_PSDL_Value_Common_Base (TAO_PSDL_Node *identifier)
04320 : identifier_ (identifier)
04321 {
04322 }
04323
04324 TAO_PSDL_Value_Common_Base::~TAO_PSDL_Value_Common_Base (void)
04325 {
04326 delete this->identifier_;
04327 }
04328
04329
04330 TAO_PSDL_Node *
04331 TAO_PSDL_Value_Common_Base::identifier (void) const
04332 {
04333 return this->identifier_;
04334 }
04335
04336
04337 int
04338 TAO_PSDL_Value_Common_Base::accept (TAO_PSDL_Node_Visitor *visitor)
04339 {
04340 return visitor->visit_value_common_base (this);
04341 }
04342
04343
04344
04345 TAO_PSDL_Value_Forward_Dcl::TAO_PSDL_Value_Forward_Dcl (
04346 TAO_PSDL_Node *value_common_base)
04347 : value_common_base_ (value_common_base),
04348 abstract_ (0)
04349 {
04350 }
04351
04352 TAO_PSDL_Value_Forward_Dcl::TAO_PSDL_Value_Forward_Dcl (
04353 TAO_PSDL_Node *abstract,
04354 TAO_PSDL_Node *value_common_base)
04355 : value_common_base_ (value_common_base),
04356 abstract_ (abstract)
04357 {
04358 }
04359
04360 TAO_PSDL_Value_Forward_Dcl::~TAO_PSDL_Value_Forward_Dcl (void)
04361 {
04362 delete this->value_common_base_;
04363
04364 if (this->abstract_ != 0)
04365 delete this->abstract_;
04366 }
04367
04368
04369 TAO_PSDL_Node *
04370 TAO_PSDL_Value_Forward_Dcl::value_common_base (void) const
04371 {
04372 return this->value_common_base_;
04373 }
04374
04375 TAO_PSDL_Node *
04376 TAO_PSDL_Value_Forward_Dcl::abstract (void) const
04377 {
04378 return this->abstract_;
04379 }
04380
04381
04382 int
04383 TAO_PSDL_Value_Forward_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
04384 {
04385 return visitor->visit_value_forward_dcl (this);
04386 }
04387
04388
04389
04390 TAO_PSDL_Value_Box_Dcl::TAO_PSDL_Value_Box_Dcl (
04391 TAO_PSDL_Node *value_common_base,
04392 TAO_PSDL_Node *type_spec)
04393 : value_common_base_ (value_common_base),
04394 type_spec_ (type_spec)
04395 {
04396 }
04397
04398 TAO_PSDL_Value_Box_Dcl::~TAO_PSDL_Value_Box_Dcl (void)
04399 {
04400 delete this->value_common_base_;
04401 delete this->type_spec_;
04402 }
04403
04404
04405 TAO_PSDL_Node *
04406 TAO_PSDL_Value_Box_Dcl::value_common_base (void) const
04407 {
04408 return this->value_common_base_;
04409 }
04410
04411 TAO_PSDL_Node *
04412 TAO_PSDL_Value_Box_Dcl::type_spec (void) const
04413 {
04414 return this->type_spec_;
04415 }
04416
04417
04418 int
04419 TAO_PSDL_Value_Box_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
04420 {
04421 return visitor->visit_value_box_dcl (this);
04422 }
04423
04424
04425
04426 TAO_PSDL_Value_Abs_Dcl::TAO_PSDL_Value_Abs_Dcl (
04427 TAO_PSDL_Node *value_common_base,
04428 TAO_PSDL_Node *export_variable)
04429 : value_common_base_ (value_common_base),
04430 value_inheritance_spec_ (0),
04431 export_variable_ (export_variable)
04432 {
04433 }
04434
04435 TAO_PSDL_Value_Abs_Dcl::TAO_PSDL_Value_Abs_Dcl (
04436 TAO_PSDL_Node *value_common_base,
04437 TAO_PSDL_Node *value_inheritance_spec,
04438 TAO_PSDL_Node *export_variable)
04439 : value_common_base_ (value_common_base),
04440 value_inheritance_spec_ (value_inheritance_spec),
04441 export_variable_ (export_variable)
04442 {
04443 }
04444
04445 TAO_PSDL_Value_Abs_Dcl::~TAO_PSDL_Value_Abs_Dcl (void)
04446 {
04447 delete this->value_common_base_;
04448 delete this->export_variable_;
04449
04450 if (this->value_inheritance_spec_ != 0)
04451 delete this->value_inheritance_spec_;
04452 }
04453
04454
04455 TAO_PSDL_Node *
04456 TAO_PSDL_Value_Abs_Dcl::value_common_base (void) const
04457 {
04458 return this->value_common_base_;
04459 }
04460
04461 TAO_PSDL_Node *
04462 TAO_PSDL_Value_Abs_Dcl::export_variable (void) const
04463 {
04464 return this->export_variable_;
04465 }
04466
04467 TAO_PSDL_Node *
04468 TAO_PSDL_Value_Abs_Dcl::value_inheritance_spec (void) const
04469 {
04470 return this->value_inheritance_spec_;
04471 }
04472
04473
04474 int
04475 TAO_PSDL_Value_Abs_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
04476 {
04477 return visitor->visit_value_abs_dcl (this);
04478 }
04479
04480
04481
04482 TAO_PSDL_Value_Dcl::TAO_PSDL_Value_Dcl (
04483 TAO_PSDL_Node *value_header,
04484 TAO_PSDL_Node *value_element)
04485 : value_header_ (value_header),
04486 value_element_ (value_element)
04487 {
04488 }
04489
04490 TAO_PSDL_Value_Dcl::~TAO_PSDL_Value_Dcl (void)
04491 {
04492 delete this->value_header_;
04493 delete this->value_element_;
04494 }
04495
04496
04497 TAO_PSDL_Node *
04498 TAO_PSDL_Value_Dcl::value_header (void) const
04499 {
04500 return this->value_header_;
04501 }
04502
04503 TAO_PSDL_Node *
04504 TAO_PSDL_Value_Dcl::value_element (void) const
04505 {
04506 return this->value_element_;
04507 }
04508
04509
04510 int
04511 TAO_PSDL_Value_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
04512 {
04513 return visitor->visit_value_dcl (this);
04514 }
04515
04516
04517
04518 TAO_PSDL_Value_Header::TAO_PSDL_Value_Header (
04519 TAO_PSDL_Node *value_common_base,
04520 TAO_PSDL_Node *value_inheritance_spec)
04521 : custom_ (0),
04522 value_common_base_ (value_common_base),
04523 value_inheritance_spec_ (value_inheritance_spec)
04524 {
04525 }
04526
04527 TAO_PSDL_Value_Header::TAO_PSDL_Value_Header (TAO_PSDL_Node *custom,
04528 TAO_PSDL_Node *value_common_base,
04529 TAO_PSDL_Node *value_inheritance_spec)
04530 : custom_ (custom),
04531 value_common_base_ (value_common_base),
04532 value_inheritance_spec_ (value_inheritance_spec)
04533 {
04534 }
04535
04536 TAO_PSDL_Value_Header::~TAO_PSDL_Value_Header (void)
04537 {
04538 delete this->value_common_base_;
04539
04540 if (this->custom_ != 0)
04541 delete this->custom_;
04542
04543 delete this->value_inheritance_spec_;
04544 }
04545
04546
04547 TAO_PSDL_Node *
04548 TAO_PSDL_Value_Header::custom (void) const
04549 {
04550 return this->custom_;
04551 }
04552
04553 TAO_PSDL_Node *
04554 TAO_PSDL_Value_Header::value_common_base (void) const
04555 {
04556 return this->value_common_base_;
04557 }
04558
04559 TAO_PSDL_Node *
04560 TAO_PSDL_Value_Header::value_inheritance_spec (void) const
04561 {
04562 return this->value_inheritance_spec_;
04563 }
04564
04565
04566 int
04567 TAO_PSDL_Value_Header::accept (TAO_PSDL_Node_Visitor *visitor)
04568 {
04569 return visitor->visit_value_header (this);
04570 }
04571
04572
04573
04574 TAO_PSDL_Value_Inheritance_Spec::TAO_PSDL_Value_Inheritance_Spec (
04575 TAO_PSDL_Node *interface_name)
04576 : truncatable_ (0),
04577 value_name_ (0),
04578 interface_name_ (interface_name)
04579 {
04580 }
04581
04582 TAO_PSDL_Value_Inheritance_Spec::TAO_PSDL_Value_Inheritance_Spec (
04583 TAO_PSDL_Node *value_name,
04584 TAO_PSDL_Node *interface_name)
04585 : truncatable_ (0),
04586 value_name_ (value_name),
04587 interface_name_ (interface_name)
04588 {
04589 }
04590
04591 TAO_PSDL_Value_Inheritance_Spec::TAO_PSDL_Value_Inheritance_Spec (
04592 TAO_PSDL_Node *truncatable,
04593 TAO_PSDL_Node *value_name,
04594 TAO_PSDL_Node *interface_name)
04595 : truncatable_ (truncatable),
04596 value_name_ (value_name),
04597 interface_name_ (interface_name)
04598 {
04599 }
04600
04601 TAO_PSDL_Value_Inheritance_Spec::~TAO_PSDL_Value_Inheritance_Spec (void)
04602 {
04603 if (this->truncatable_ != 0)
04604 delete this->truncatable_;
04605
04606 delete this->interface_name_;
04607
04608 if (this->value_name_ != 0)
04609 delete this->value_name_;
04610 }
04611
04612
04613 TAO_PSDL_Node *
04614 TAO_PSDL_Value_Inheritance_Spec::truncatable (void) const
04615 {
04616 return this->truncatable_;
04617 }
04618
04619 TAO_PSDL_Node *
04620 TAO_PSDL_Value_Inheritance_Spec::value_name (void) const
04621 {
04622 return this->value_name_;
04623 }
04624
04625 TAO_PSDL_Node *
04626 TAO_PSDL_Value_Inheritance_Spec::interface_name (void) const
04627 {
04628 return this->interface_name_;
04629 }
04630
04631
04632 int
04633 TAO_PSDL_Value_Inheritance_Spec::accept (TAO_PSDL_Node_Visitor *visitor)
04634 {
04635 return visitor->visit_value_inheritance_spec (this);
04636 }
04637
04638
04639
04640 TAO_PSDL_Value_Name::TAO_PSDL_Value_Name (TAO_PSDL_Node *scoped_name)
04641 : scoped_name_ (scoped_name),
04642 value_name_ (0)
04643 {
04644 }
04645
04646 TAO_PSDL_Value_Name::TAO_PSDL_Value_Name (TAO_PSDL_Node *scoped_name,
04647 TAO_PSDL_Node *value_name)
04648 : scoped_name_ (scoped_name),
04649 value_name_ (value_name)
04650 {
04651 }
04652
04653 TAO_PSDL_Value_Name::~TAO_PSDL_Value_Name (void)
04654 {
04655 if (this->scoped_name_ != 0)
04656 delete this->scoped_name_;
04657
04658 if (this->value_name_ != 0)
04659 delete this->value_name_;
04660 }
04661
04662
04663 TAO_PSDL_Node *
04664 TAO_PSDL_Value_Name::scoped_name (void) const
04665 {
04666 return this->scoped_name_;
04667 }
04668
04669 TAO_PSDL_Node *
04670 TAO_PSDL_Value_Name::value_name (void) const
04671 {
04672 return this->value_name_;
04673 }
04674
04675
04676 int
04677 TAO_PSDL_Value_Name::accept (TAO_PSDL_Node_Visitor *visitor)
04678 {
04679 return visitor->visit_value_name (this);
04680 }
04681
04682
04683
04684 TAO_PSDL_Value_Element::TAO_PSDL_Value_Element (
04685 TAO_PSDL_Node *type_of_element)
04686 : type_of_element_ (type_of_element)
04687 {
04688 }
04689
04690 TAO_PSDL_Value_Element::~TAO_PSDL_Value_Element (void)
04691 {
04692 delete this->type_of_element_;
04693 }
04694
04695
04696 TAO_PSDL_Node *
04697 TAO_PSDL_Value_Element::type_of_element (void) const
04698 {
04699 return this->type_of_element_;
04700 }
04701
04702
04703 int
04704 TAO_PSDL_Value_Element::accept (TAO_PSDL_Node_Visitor *visitor)
04705 {
04706 return visitor->visit_value_element (this);
04707 }
04708
04709
04710
04711 TAO_PSDL_Array_Declarator::TAO_PSDL_Array_Declarator (
04712 TAO_PSDL_Node *identifier,
04713 TAO_PSDL_Node *fixed_array_size)
04714 : identifier_ (identifier),
04715 fixed_array_size_ (fixed_array_size)
04716 {
04717 }
04718
04719 TAO_PSDL_Array_Declarator::~TAO_PSDL_Array_Declarator (void)
04720 {
04721 delete this->identifier_;
04722 delete this->fixed_array_size_;
04723 }
04724
04725
04726 TAO_PSDL_Node *
04727 TAO_PSDL_Array_Declarator::identifier (void) const
04728 {
04729 return this->identifier_;
04730 }
04731
04732 TAO_PSDL_Node *
04733 TAO_PSDL_Array_Declarator::fixed_array_size (void) const
04734 {
04735 return this->fixed_array_size_;
04736 }
04737
04738
04739 int
04740 TAO_PSDL_Array_Declarator::accept (TAO_PSDL_Node_Visitor *visitor)
04741 {
04742 return visitor->visit_array_declarator (this);
04743 }
04744
04745
04746
04747 TAO_PSDL_Fixed_Array_Size::TAO_PSDL_Fixed_Array_Size (
04748 TAO_PSDL_Node *positive_int_const)
04749 : positive_int_const_ (positive_int_const)
04750 {
04751 }
04752
04753 TAO_PSDL_Fixed_Array_Size::~TAO_PSDL_Fixed_Array_Size (void)
04754 {
04755 delete this->positive_int_const_;
04756 }
04757
04758
04759 TAO_PSDL_Node *
04760 TAO_PSDL_Fixed_Array_Size::positive_int_const (void) const
04761 {
04762 return this->positive_int_const_;
04763 }
04764
04765
04766 int
04767 TAO_PSDL_Fixed_Array_Size::accept (TAO_PSDL_Node_Visitor *visitor)
04768 {
04769 return visitor->visit_fixed_array_size (this);
04770 }
04771
04772
04773
04774 TAO_PSDL_Enumerator::TAO_PSDL_Enumerator (TAO_PSDL_Node *identifier)
04775 : identifier_ (identifier),
04776 enumerator_ (0)
04777 {
04778 }
04779
04780 TAO_PSDL_Enumerator::TAO_PSDL_Enumerator (TAO_PSDL_Node *identifier,
04781 TAO_PSDL_Node *enumerator)
04782 : identifier_ (identifier),
04783 enumerator_ (enumerator)
04784 {
04785 }
04786
04787 TAO_PSDL_Enumerator::~TAO_PSDL_Enumerator (void)
04788 {
04789 delete this->identifier_;
04790
04791 if (this->enumerator_ != 0)
04792 delete this->enumerator_;
04793 }
04794
04795
04796 TAO_PSDL_Node *
04797 TAO_PSDL_Enumerator::identifier (void) const
04798 {
04799 return this->identifier_;
04800 }
04801
04802 TAO_PSDL_Node *
04803 TAO_PSDL_Enumerator::enumerator (void) const
04804 {
04805 return this->enumerator_;
04806 }
04807
04808
04809 int
04810 TAO_PSDL_Enumerator::accept (TAO_PSDL_Node_Visitor *visitor)
04811 {
04812 return visitor->visit_enumerator (this);
04813 }
04814
04815
04816
04817 TAO_PSDL_Literal::TAO_PSDL_Literal (CORBA::Boolean boolean_value)
04818 : boolean_value_ (boolean_value),
04819 int_value_ (0),
04820 double_value_ (0),
04821 char_value_ (0)
04822 {
04823 }
04824
04825 TAO_PSDL_Literal::TAO_PSDL_Literal (int int_value)
04826 : boolean_value_ (0),
04827 int_value_ (int_value),
04828 double_value_ (0),
04829 char_value_ (0)
04830 {
04831 }
04832
04833 TAO_PSDL_Literal::TAO_PSDL_Literal (double double_value)
04834 : boolean_value_ (0),
04835 int_value_ (0),
04836 double_value_ (double_value),
04837 char_value_ (0)
04838 {
04839 }
04840
04841 TAO_PSDL_Literal::TAO_PSDL_Literal (const char *char_value)
04842 : boolean_value_ (0),
04843 int_value_ (0),
04844 double_value_ (0),
04845 char_value_ (char_value)
04846 {
04847 }
04848
04849 TAO_PSDL_Literal::~TAO_PSDL_Literal (void)
04850 {
04851
04852
04853
04854 }
04855
04856
04857 CORBA::Boolean
04858 TAO_PSDL_Literal::boolean_value (void) const
04859 {
04860 return this->boolean_value_;
04861 }
04862
04863 int
04864 TAO_PSDL_Literal::int_value (void) const
04865 {
04866 return this->int_value_;
04867 }
04868
04869 double
04870 TAO_PSDL_Literal::double_value (void) const
04871 {
04872 return this->double_value_;
04873 }
04874
04875 const char *
04876 TAO_PSDL_Literal::char_value (void) const
04877 {
04878 return this->char_value_;
04879 }
04880
04881
04882 int
04883 TAO_PSDL_Literal::accept (TAO_PSDL_Node_Visitor *visitor)
04884 {
04885 return visitor->visit_literal (this);
04886 }
04887
04888
04889
04890 TAO_PSDL_State_Member::TAO_PSDL_State_Member (TAO_PSDL_Node *public_or_private,
04891 TAO_PSDL_Node *type_spec,
04892 TAO_PSDL_Node *declarators)
04893 : public_or_private_ (public_or_private),
04894 type_spec_ (type_spec),
04895 declarators_ (declarators)
04896 {
04897 }
04898
04899 TAO_PSDL_State_Member::~TAO_PSDL_State_Member (void)
04900 {
04901 delete this->public_or_private_;
04902
04903 delete this->type_spec_;
04904
04905 delete this->declarators_;
04906 }
04907
04908
04909 TAO_PSDL_Node *
04910 TAO_PSDL_State_Member::public_or_private (void) const
04911 {
04912 return this->public_or_private_;
04913 }
04914
04915 TAO_PSDL_Node *
04916 TAO_PSDL_State_Member::type_spec (void) const
04917 {
04918 return this->type_spec_;
04919 }
04920
04921 TAO_PSDL_Node *
04922 TAO_PSDL_State_Member::declarators (void) const
04923 {
04924 return this->declarators_;
04925 }
04926
04927
04928 int
04929 TAO_PSDL_State_Member::accept (TAO_PSDL_Node_Visitor *visitor)
04930 {
04931 return visitor->visit_state_member (this);
04932 }
04933
04934
04935
04936 TAO_PSDL_Init_Dcl::TAO_PSDL_Init_Dcl (TAO_PSDL_Node *identifier)
04937 : identifier_ (identifier),
04938 init_param_decls_ (0)
04939 {
04940 }
04941
04942 TAO_PSDL_Init_Dcl::TAO_PSDL_Init_Dcl (TAO_PSDL_Node *identifier,
04943 TAO_PSDL_Node *init_param_decls)
04944 : identifier_ (identifier),
04945 init_param_decls_ (init_param_decls)
04946 {
04947 }
04948
04949 TAO_PSDL_Init_Dcl::~TAO_PSDL_Init_Dcl (void)
04950 {
04951 delete this->identifier_;
04952
04953 if (this->init_param_decls_ != 0)
04954 delete this->init_param_decls_;
04955 }
04956
04957
04958 TAO_PSDL_Node *
04959 TAO_PSDL_Init_Dcl::identifier (void) const
04960 {
04961 return this->identifier_;
04962 }
04963
04964 TAO_PSDL_Node *
04965 TAO_PSDL_Init_Dcl::init_param_decls (void) const
04966 {
04967 return this->init_param_decls_;
04968 }
04969
04970
04971 int
04972 TAO_PSDL_Init_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
04973 {
04974 return visitor->visit_init_dcl (this);
04975 }
04976
04977
04978
04979 TAO_PSDL_Init_Param_Decls::TAO_PSDL_Init_Param_Decls (TAO_PSDL_Node *init_param_decl)
04980 : init_param_decl_ (init_param_decl),
04981 init_param_decls_ (0)
04982 {
04983 }
04984
04985 TAO_PSDL_Init_Param_Decls::TAO_PSDL_Init_Param_Decls (TAO_PSDL_Node *init_param_decl,
04986 TAO_PSDL_Node *init_param_decls)
04987 : init_param_decl_ (init_param_decl),
04988 init_param_decls_ (init_param_decls)
04989 {
04990 }
04991
04992 TAO_PSDL_Init_Param_Decls::~TAO_PSDL_Init_Param_Decls (void)
04993 {
04994 delete this->init_param_decl_;
04995
04996 if (this->init_param_decls_ != 0)
04997 delete this->init_param_decls_;
04998 }
04999
05000
05001 TAO_PSDL_Node *
05002 TAO_PSDL_Init_Param_Decls::init_param_decl (void) const
05003 {
05004 return this->init_param_decl_;
05005 }
05006
05007 TAO_PSDL_Node *
05008 TAO_PSDL_Init_Param_Decls::init_param_decls (void) const
05009 {
05010 return this->init_param_decls_;
05011 }
05012
05013
05014 int
05015 TAO_PSDL_Init_Param_Decls::accept (TAO_PSDL_Node_Visitor *visitor)
05016 {
05017 return visitor->visit_init_param_decls (this);
05018 }
05019
05020
05021
05022 TAO_PSDL_Init_Param_Decl::TAO_PSDL_Init_Param_Decl (TAO_PSDL_Node *init_param_attribute,
05023 TAO_PSDL_Node *param_type_spec,
05024 TAO_PSDL_Node *simple_declarator)
05025 : init_param_attribute_ (init_param_attribute),
05026 param_type_spec_ (param_type_spec),
05027 simple_declarator_ (simple_declarator)
05028 {
05029 }
05030
05031 TAO_PSDL_Init_Param_Decl::~TAO_PSDL_Init_Param_Decl (void)
05032 {
05033 delete this->init_param_attribute_;
05034
05035 delete this->param_type_spec_;
05036
05037 delete this->simple_declarator_;
05038 }
05039
05040
05041 TAO_PSDL_Node *
05042 TAO_PSDL_Init_Param_Decl::init_param_attribute (void) const
05043 {
05044 return this->init_param_attribute_;
05045 }
05046
05047 TAO_PSDL_Node *
05048 TAO_PSDL_Init_Param_Decl::param_type_spec (void) const
05049 {
05050 return this->param_type_spec_;
05051 }
05052
05053 TAO_PSDL_Node *
05054 TAO_PSDL_Init_Param_Decl::simple_declarator (void) const
05055 {
05056 return this->simple_declarator_;
05057 }
05058
05059
05060 int
05061 TAO_PSDL_Init_Param_Decl::accept (TAO_PSDL_Node_Visitor *visitor)
05062 {
05063 return visitor->visit_init_param_decl (this);
05064 }
05065
05066
05067
05068 TAO_PSDL_Factory_Parameters::TAO_PSDL_Factory_Parameters ()
05069 : simple_declarator_ (0)
05070 {
05071 }
05072
05073 TAO_PSDL_Factory_Parameters::TAO_PSDL_Factory_Parameters (TAO_PSDL_Node *simple_declarator)
05074 : simple_declarator_ (simple_declarator)
05075 {
05076 }
05077
05078 TAO_PSDL_Factory_Parameters::~TAO_PSDL_Factory_Parameters (void)
05079 {
05080 if (this->simple_declarator_ != 0)
05081 delete this->simple_declarator_;
05082 }
05083
05084
05085 TAO_PSDL_Node *
05086 TAO_PSDL_Factory_Parameters::simple_declarator (void) const
05087 {
05088 return this->simple_declarator_;
05089 }
05090
05091
05092 int
05093 TAO_PSDL_Factory_Parameters::accept (TAO_PSDL_Node_Visitor *visitor)
05094 {
05095 return visitor->visit_factory_parameters (this);
05096 }
05097
05098
05099
05100 TAO_PSDL_Attr_Dcl::TAO_PSDL_Attr_Dcl (int readonly,
05101 TAO_PSDL_Node *param_type_spec,
05102 TAO_PSDL_Node *simple_declarator)
05103 : readonly_ (readonly),
05104 param_type_spec_ (param_type_spec),
05105 simple_declarator_ (simple_declarator)
05106 {
05107 }
05108
05109 TAO_PSDL_Attr_Dcl::TAO_PSDL_Attr_Dcl (TAO_PSDL_Node *param_type_spec,
05110 TAO_PSDL_Node *simple_declarator)
05111 : readonly_ (0),
05112 param_type_spec_ (param_type_spec),
05113 simple_declarator_ (simple_declarator)
05114 {
05115 }
05116
05117 TAO_PSDL_Attr_Dcl::~TAO_PSDL_Attr_Dcl (void)
05118 {
05119 delete this->param_type_spec_;
05120
05121 delete this->simple_declarator_;
05122 }
05123
05124
05125 int
05126 TAO_PSDL_Attr_Dcl::readonly (void) const
05127 {
05128 return this->readonly_;
05129 }
05130
05131 TAO_PSDL_Node *
05132 TAO_PSDL_Attr_Dcl::param_type_spec (void) const
05133 {
05134 return this->param_type_spec_;
05135 }
05136
05137 TAO_PSDL_Node *
05138 TAO_PSDL_Attr_Dcl::simple_declarator (void) const
05139 {
05140 return this->simple_declarator_;
05141 }
05142
05143
05144 int
05145 TAO_PSDL_Attr_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
05146 {
05147 return visitor->visit_attr_dcl (this);
05148 }
05149
05150
05151
05152 TAO_PSDL_Positive_Int_Const::TAO_PSDL_Positive_Int_Const (TAO_PSDL_Node *const_exp)
05153 : const_exp_ (const_exp)
05154 {
05155 }
05156
05157 TAO_PSDL_Positive_Int_Const::~TAO_PSDL_Positive_Int_Const (void)
05158 {
05159 delete this->const_exp_;
05160 }
05161
05162
05163 TAO_PSDL_Node *
05164 TAO_PSDL_Positive_Int_Const::const_exp (void) const
05165 {
05166 return this->const_exp_;
05167 }
05168
05169
05170 int
05171 TAO_PSDL_Positive_Int_Const::accept (TAO_PSDL_Node_Visitor *visitor)
05172 {
05173 return visitor->visit_positive_int_const (this);
05174 }
05175
05176
05177
05178 TAO_PSDL_Factory_Dcl::TAO_PSDL_Factory_Dcl (TAO_PSDL_Node *identifier,
05179 TAO_PSDL_Node *factory_parameters)
05180 : identifier_ (identifier),
05181 factory_parameters_ (factory_parameters)
05182 {
05183 }
05184
05185 TAO_PSDL_Factory_Dcl::~TAO_PSDL_Factory_Dcl (void)
05186 {
05187 delete this->identifier_;
05188
05189 if (this->factory_parameters_ != 0)
05190 delete this->factory_parameters_;
05191 }
05192
05193
05194 TAO_PSDL_Node *
05195 TAO_PSDL_Factory_Dcl::identifier (void) const
05196 {
05197 return this->identifier_;
05198 }
05199
05200 TAO_PSDL_Node *
05201 TAO_PSDL_Factory_Dcl::factory_parameters (void) const
05202 {
05203 return this->factory_parameters_;
05204 }
05205
05206
05207 int
05208 TAO_PSDL_Factory_Dcl::accept (TAO_PSDL_Node_Visitor *visitor)
05209 {
05210 return visitor->visit_factory_dcl (this);
05211 }