Public Member Functions | Private Attributes

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_

Detailed Description

Definition at line 100 of file PSDL_Node.h.


Constructor & Destructor Documentation

TAO_PSDL_Specification::TAO_PSDL_Specification ( TAO_PSDL_Node definition  ) 

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

Definition at line 87 of file PSDL_Node.cpp.

  : definition_ (definition),
    specification_ (0)
{
}

TAO_PSDL_Specification::TAO_PSDL_Specification ( TAO_PSDL_Node definition,
TAO_PSDL_Node specification 
)

Definition at line 93 of file PSDL_Node.cpp.

  : definition_ (definition),
    specification_ (specification)
{
}

TAO_PSDL_Specification::~TAO_PSDL_Specification ( void   )  [virtual]

Definition at line 100 of file PSDL_Node.cpp.

{
  delete this->definition_;
  delete this->specification_;
}


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.

{
  int result = visitor->visit_specification (this);

  // The control goes back to psdl_tao now. So, put in the end stuff
  // to the header file.

  // Get a pointer to PSDL_Stream of the stub header.
  TAO_PSDL_Stream *ps_sh = TAO_PSDL_Scope::instance ()->get_sh ();

  *ps_sh << "#if defined (__ACE_INLINE__)"; ps_sh->nl ();
  *ps_sh << "#include \""
         << TAO_PSDL_Scope::instance ()->get_stub_prefix ()
         << "C.i\""; ps_sh->nl ();
  *ps_sh << "#endif /* defined INLINE */"; ps_sh->nl ();

  ps_sh->nl ();

  *ps_sh << "#if defined(_MSC_VER)"; ps_sh->nl ();
  *ps_sh << "#pragma warning(pop)"; ps_sh->nl ();
  *ps_sh << "#endif /* _MSC_VER */"; ps_sh->nl ();

  ps_sh->nl ();

  *ps_sh << "#endif /* ifndef */"; ps_sh->nl ();

  return result;
}

TAO_PSDL_Node * TAO_PSDL_Specification::definition ( void   )  const

Get the values.

Definition at line 107 of file PSDL_Node.cpp.

{
  return this->definition_;
}

TAO_PSDL_Node * TAO_PSDL_Specification::specification ( void   )  const

Definition at line 113 of file PSDL_Node.cpp.

{
  return this->specification_;
}


Member Data Documentation

The values.

Definition at line 119 of file PSDL_Node.h.

Definition at line 120 of file PSDL_Node.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines