Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TAO_PSDL_Struct_Scope Class Reference

#include <PSDL_Struct_Scope.h>

Inheritance diagram for TAO_PSDL_Struct_Scope:

Inheritance graph
[legend]
Collaboration diagram for TAO_PSDL_Struct_Scope:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_PSDL_Struct_Scope (TAO_PSDL_Scope *parent_scope)
int add_module (ACE_CString identifier)
int add_struct (ACE_CString identifier)
int add_typedef (ACE_CString identifier, ACE_CString identifier_type)
int add_const_decl (ACE_CString identifier, ACE_CString identifier_type)
int add_except_decl (ACE_CString identifier, ACE_CString identifier_type)
void dump (CORBA::ULong depth)
 Function to help indent the output of the parse tree.

int find (const ACE_CString &identifier_name, ACE_CString &identifier_type)
 Function to find the TAO_PSDL_Scope for the given identifier_name.

int find (const ACE_CString &identifier_name)
TAO_PSDL_Scope * parent_scope (void)
 Return the pointer to the parent scope.

Scope_Map * scope_map (void)
 Return the pointer to Scope_Map of the instance.

ACE_CString identifier_type (void)
ACE_CString module_name (void)
ACE_CString interface_name (void)

Private Attributes

Scope_Map struct_scope_
TAO_PSDL_Scope * parent_scope_
ACE_CString identifier_type_
ACE_CString module_name_
ACE_CString interface_name_

Constructor & Destructor Documentation

TAO_PSDL_Struct_Scope::TAO_PSDL_Struct_Scope (  TAO_PSDL_Scope *    parent_scope ) 
 


Member Function Documentation

int TAO_PSDL_Struct_Scope::add_const_decl (  ACE_CString    identifier,
ACE_CString    identifier_type
)  [virtual]
 

Reimplemented from TAO_PSDL_Scope.

int TAO_PSDL_Struct_Scope::add_except_decl (  ACE_CString    identifier,
ACE_CString    identifier_type
)  [virtual]
 

Reimplemented from TAO_PSDL_Scope.

int TAO_PSDL_Struct_Scope::add_module (  ACE_CString    identifier )  [virtual]
 

The add functions are overridden by the derived classes to add the respective types in their scopes. The return value is a '0' if successful and '-1' if it ends up as a failure.

Reimplemented from TAO_PSDL_Scope.

int TAO_PSDL_Struct_Scope::add_struct (  ACE_CString    identifier )  [virtual]
 

Reimplemented from TAO_PSDL_Scope.

int TAO_PSDL_Struct_Scope::add_typedef (  ACE_CString    identifier,
ACE_CString    identifier_type
)  [virtual]
 

Reimplemented from TAO_PSDL_Scope.

void TAO_PSDL_Struct_Scope::dump (  CORBA::ULong    depth )  [virtual]
 

Function to help indent the output of the parse tree.

Reimplemented from TAO_PSDL_Scope.

int TAO_PSDL_Struct_Scope::find (  const ACE_CString &    identifier_name )  [virtual]
 

Function to check if a particular identifier_name exists in the scope.

Reimplemented from TAO_PSDL_Scope.

int TAO_PSDL_Struct_Scope::find (  const ACE_CString &    identifier_name,
ACE_CString &    identifier_type
)  [virtual]
 

Function to find the TAO_PSDL_Scope for the given identifier_name.

Reimplemented from TAO_PSDL_Scope.

ACE_CString TAO_PSDL_Struct_Scope::identifier_type (  void    )  [virtual]
 

Each identifier will have an instance of a derived type of TAO_PSDL_Scope *.. the following method is an accessor to the type of the identifier name

Reimplemented from TAO_PSDL_Scope.

ACE_CString TAO_PSDL_Struct_Scope::interface_name (  void    )  [virtual]
 

Reimplemented from TAO_PSDL_Scope.

ACE_CString TAO_PSDL_Struct_Scope::module_name (  void    )  [virtual]
 

Reimplemented from TAO_PSDL_Scope.

TAO_PSDL_Scope * TAO_PSDL_Struct_Scope::parent_scope (  void    )  [virtual]
 

Return the pointer to the parent scope.

Reimplemented from TAO_PSDL_Scope.

Scope_Map * TAO_PSDL_Struct_Scope::scope_map (  void    )  [virtual]
 

Return the pointer to Scope_Map of the instance.

Reimplemented from TAO_PSDL_Scope.


Member Data Documentation

ACE_CString TAO_PSDL_Struct_Scope::identifier_type_ [private]
 

ACE_CString TAO_PSDL_Struct_Scope::interface_name_ [private]
 

Reimplemented from TAO_PSDL_Scope.

ACE_CString TAO_PSDL_Struct_Scope::module_name_ [private]
 

TAO_PSDL_Scope* TAO_PSDL_Struct_Scope::parent_scope_ [private]
 

Scope_Map TAO_PSDL_Struct_Scope::struct_scope_ [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Apr 2 19:37:33 2004 for TAO_PSS by doxygen1.2.18