PSDL_Exception_Scope.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // PSDL_Exception_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_Exception_Scope
00011 //
00012 // = DESCRIPTION
00013 //    Scope class for the Exception type helpful for building the AST.
00014 //
00015 // = AUTHOR
00016 //    Priyanka Gontla <gontla_p@ociweb.com>
00017 //
00018 // ============================================================================
00019 
00020 #ifndef TAO_PSDL_EXCEPTION_SCOPE_H
00021 #define TAO_PSDL_EXCEPTION_SCOPE_H
00022 
00023 #include /**/ "ace/pre.h"
00024 
00025 #include "PSDL_Scope.h"
00026 
00027 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00028 # pragma once
00029 #endif /* ACE_LACKS_PRAGMA_ONCE */
00030 
00031 class TAO_PSDL_Export TAO_PSDL_Exception_Scope : public TAO_PSDL_Scope
00032 {
00033  public:
00034 
00035   TAO_PSDL_Exception_Scope (TAO_PSDL_Scope *parent_scope);
00036 
00037   // Add member declaration to the exception's scope. Didnt override
00038   // any other add method since exceptions have only member
00039   // declarations with in them.
00040   int add_member_decl (ACE_CString identifier,
00041                        ACE_CString identifier_type);
00042 
00043   // See the PSDL_Scope.h for description.
00044   void dump (CORBA::ULong depth);
00045 
00046   int find (const ACE_CString &identifier_name,
00047             ACE_CString &identifier_type);
00048 
00049   int find (const ACE_CString &identifier_name);
00050 
00051   TAO_PSDL_Scope *parent_scope (void);
00052 
00053   Scope_Map *scope_map (void);
00054 
00055   ACE_CString identifier_type (void);
00056   ACE_CString module_name (void);
00057   ACE_CString interface_name (void);
00058 
00059 protected:
00060 
00061   Scope_Map scope_map_;
00062   TAO_PSDL_Scope *parent_scope_;
00063   ACE_CString identifier_type_;
00064   ACE_CString module_name_;
00065   ACE_CString interface_name_;
00066 
00067 };
00068 
00069 #include /**/ "ace/post.h"
00070 
00071 #endif /* TAO_PSDL_MODULE_SCOPE_H */

Generated on Thu Nov 9 14:07:02 2006 for TAO_PSS by doxygen 1.3.6