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