#include <PSDL_Op_Dcl_Scope.h>
Inheritance diagram for TAO_PSDL_Op_Dcl_Scope:
Public Member Functions | |
TAO_PSDL_Op_Dcl_Scope (TAO_PSDL_Scope *parent_scope) | |
int | add_const_decl (ACE_CString identifier, ACE_CString identifier_type) |
int | add_member_decl (ACE_CString identifier, ACE_CString identifier_type) |
void | dump (CORBA::ULong depth) |
Function to help indent the output of the parse tree. | |
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. | |
Protected Attributes | |
Scope_Map | scope_map_ |
TAO_PSDL_Scope * | parent_scope_ |
|
Definition at line 9 of file PSDL_Op_Dcl_Scope.cpp.
00010 : scope_map_ (), 00011 parent_scope_ (parent_scope) 00012 { 00013 } |
|
Reimplemented from TAO_PSDL_Scope. Definition at line 16 of file PSDL_Op_Dcl_Scope.cpp. References TAO_PSDL_Scope::add_const_decl_to_scope(), and TAO_PSDL_Scope::instance().
00018 { 00019 return TAO_PSDL_Scope::instance ()->add_const_decl_to_scope (identifier, 00020 identifier_type, 00021 this); 00022 } |
|
Reimplemented from TAO_PSDL_Scope. Definition at line 25 of file PSDL_Op_Dcl_Scope.cpp. References TAO_PSDL_Scope::add_member_decl_to_scope(), and TAO_PSDL_Scope::instance().
00027 { 00028 return TAO_PSDL_Scope::instance ()->add_member_decl_to_scope (identifier, 00029 identifier_type, 00030 this); 00031 } |
|
Function to help indent the output of the parse tree.
Reimplemented from TAO_PSDL_Scope. Definition at line 34 of file PSDL_Op_Dcl_Scope.cpp. References ACE_DEBUG, ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::begin(), ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK >::end(), LM_DEBUG, TAO_PSDL_Scope::print_depth(), and Scope_Map_Iterator.
00035 { 00036 depth = depth + 5; 00037 00038 for (Scope_Map_Iterator i = this->scope_map_.begin (); 00039 i != this->scope_map_.end (); 00040 ++i) 00041 { 00042 this->print_depth (depth); 00043 ACE_DEBUG ((LM_DEBUG, 00044 "%s (%s)\n", 00045 (*i).ext_id_.c_str (), (*i).int_id_)); 00046 } 00047 } |
|
Return the pointer to the parent scope.
Reimplemented from TAO_PSDL_Scope. Definition at line 50 of file PSDL_Op_Dcl_Scope.cpp.
00051 { 00052 return this->parent_scope_; 00053 } |
|
Return the pointer to Scope_Map of the instance.
Reimplemented from TAO_PSDL_Scope. Definition at line 56 of file PSDL_Op_Dcl_Scope.cpp.
00057 { 00058 return &this->scope_map_; 00059 } |
|
Definition at line 49 of file PSDL_Op_Dcl_Scope.h. |
|
Definition at line 48 of file PSDL_Op_Dcl_Scope.h. |