00001 /* -*- C++ -*- */ 00002 // PSDL_Op_Dcl_Scope.h,v 1.2 2003/07/21 23:51:30 dhinton Exp 00003 // 00004 // ============================================================================ 00005 // 00006 // = LIBRARY 00007 // PSS 00008 // 00009 // = FILENAME 00010 // PSDL_Op_Dcl_Scope 00011 // 00012 // = AUTHOR 00013 // Priyanka Gontla <gontla_p@ociweb.com> 00014 // 00015 // ============================================================================ 00016 00017 #ifndef TAO_PSDL_OP_DCL_SCOPE_H 00018 #define TAO_PSDL_OP_DCL_SCOPE_H 00019 00020 #include /**/ "ace/pre.h" 00021 00022 #include "PSDL_Scope.h" 00023 00024 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00025 # pragma once 00026 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00027 00028 class TAO_PSDL_Export TAO_PSDL_Op_Dcl_Scope : public TAO_PSDL_Scope 00029 { 00030 public: 00031 00032 TAO_PSDL_Op_Dcl_Scope (TAO_PSDL_Scope *parent_scope); 00033 00034 int add_const_decl (ACE_CString identifier, 00035 ACE_CString identifier_type); 00036 00037 int add_member_decl (ACE_CString identifier, 00038 ACE_CString identifier_type); 00039 00040 void dump (CORBA::ULong depth); 00041 00042 TAO_PSDL_Scope *parent_scope (void); 00043 00044 Scope_Map *scope_map (void); 00045 00046 protected: 00047 00048 Scope_Map scope_map_; 00049 TAO_PSDL_Scope *parent_scope_; 00050 }; 00051 00052 #include /**/ "ace/post.h" 00053 00054 #endif /* TAO_PSDL_OP_DCL_SCOPE_H */