#include <PSDL_Node.h>
Inheritance diagram for TAO_PSDL_Specification:
Public Member Functions | |
TAO_PSDL_Specification (TAO_PSDL_Node *definition) | |
**************************************************************** | |
TAO_PSDL_Specification (TAO_PSDL_Node *definition, TAO_PSDL_Node *specification) | |
virtual | ~TAO_PSDL_Specification (void) |
TAO_PSDL_Node * | definition (void) const |
Get the values. | |
TAO_PSDL_Node * | specification (void) const |
int | accept (TAO_PSDL_Node_Visitor *visitor) |
= The Node methods. | |
Private Attributes | |
TAO_PSDL_Node * | definition_ |
The values. | |
TAO_PSDL_Node * | specification_ |
|
****************************************************************
Definition at line 87 of file PSDL_Node.cpp.
00088 : definition_ (definition), 00089 specification_ (0) 00090 { 00091 } |
|
Definition at line 93 of file PSDL_Node.cpp.
00095 : definition_ (definition), 00096 specification_ (specification) 00097 { 00098 } |
|
Definition at line 100 of file PSDL_Node.cpp. References definition_, and specification_.
00101 { 00102 delete this->definition_; 00103 delete this->specification_; 00104 } |
|
= The Node methods.
Implements TAO_PSDL_Node. Definition at line 119 of file PSDL_Node.cpp. References TAO_PSDL_Scope::get_sh(), TAO_PSDL_Scope::get_stub_prefix(), TAO_PSDL_Scope::instance(), TAO_PSDL_Stream::nl(), and TAO_PSDL_Node_Visitor::visit_specification().
00120 { 00121 int result = visitor->visit_specification (this); 00122 00123 // The control goes back to psdl_tao now. So, put in the end stuff 00124 // to the header file. 00125 00126 // Get a pointer to PSDL_Stream of the stub header. 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 } |
|
Get the values.
Definition at line 107 of file PSDL_Node.cpp. References definition_. Referenced by TAO_PSDL_Scope_Visitor::visit_specification(), TAO_PSDL_Node_Visitor::visit_specification(), and Dump_Visitor::visit_specification().
00108 { 00109 return this->definition_; 00110 } |
|
Definition at line 113 of file PSDL_Node.cpp. References specification_. Referenced by TAO_PSDL_Scope_Visitor::visit_specification(), TAO_PSDL_Node_Visitor::visit_specification(), and Dump_Visitor::visit_specification().
00114 { 00115 return this->specification_; 00116 } |
|
The values.
Definition at line 119 of file PSDL_Node.h. Referenced by definition(), and ~TAO_PSDL_Specification(). |
|
Definition at line 120 of file PSDL_Node.h. Referenced by specification(), and ~TAO_PSDL_Specification(). |