TAO_PSDL_Specification Class Reference

#include <PSDL_Node.h>

Inheritance diagram for TAO_PSDL_Specification:

Inheritance graph
[legend]
Collaboration diagram for TAO_PSDL_Specification:

Collaboration graph
[legend]
List of all members.

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_Nodedefinition (void) const
 Get the values.

TAO_PSDL_Nodespecification (void) const
int accept (TAO_PSDL_Node_Visitor *visitor)
 = The Node methods.


Private Attributes

TAO_PSDL_Nodedefinition_
 The values.

TAO_PSDL_Nodespecification_

Constructor & Destructor Documentation

TAO_PSDL_Specification::TAO_PSDL_Specification TAO_PSDL_Node definition  ) 
 

****************************************************************

Definition at line 87 of file PSDL_Node.cpp.

00088   : definition_ (definition),
00089     specification_ (0)
00090 {
00091 }

TAO_PSDL_Specification::TAO_PSDL_Specification TAO_PSDL_Node definition,
TAO_PSDL_Node specification
 

Definition at line 93 of file PSDL_Node.cpp.

00095   : definition_ (definition),
00096     specification_ (specification)
00097 {
00098 }

TAO_PSDL_Specification::~TAO_PSDL_Specification void   )  [virtual]
 

Definition at line 100 of file PSDL_Node.cpp.

References definition_, and specification_.

00101 {
00102   delete this->definition_;
00103   delete this->specification_;
00104 }


Member Function Documentation

int TAO_PSDL_Specification::accept TAO_PSDL_Node_Visitor visitor  )  [virtual]
 

= 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 }

TAO_PSDL_Node * TAO_PSDL_Specification::definition void   )  const
 

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 }

TAO_PSDL_Node * TAO_PSDL_Specification::specification void   )  const
 

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 }


Member Data Documentation

TAO_PSDL_Node* TAO_PSDL_Specification::definition_ [private]
 

The values.

Definition at line 119 of file PSDL_Node.h.

Referenced by definition(), and ~TAO_PSDL_Specification().

TAO_PSDL_Node* TAO_PSDL_Specification::specification_ [private]
 

Definition at line 120 of file PSDL_Node.h.

Referenced by specification(), and ~TAO_PSDL_Specification().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 14:10:05 2006 for TAO_PSS by doxygen 1.3.6