PSDL_Struct_Scope.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // PSDL_Struct_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_Struct_Scope
00011 //
00012 // = AUTHOR
00013 //    Priyanka Gontla <gontla_p@ociweb.com>
00014 //
00015 // ============================================================================
00016 
00017 #ifndef TAO_PSDL_STRUCT_SCOPE_H
00018 #define TAO_PSDL_STRUCT_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_Struct_Scope : public TAO_PSDL_Scope
00029 {
00030  public:
00031 
00032   TAO_PSDL_Struct_Scope (TAO_PSDL_Scope *parent_scope);
00033 
00034   int add_module (ACE_CString identifier);
00035 
00036   int add_struct (ACE_CString identifier);
00037 
00038   int add_typedef (ACE_CString identifier,
00039                    ACE_CString identifier_type);
00040 
00041   int add_const_decl (ACE_CString identifier,
00042                       ACE_CString identifier_type);
00043 
00044   int add_except_decl (ACE_CString identifier,
00045                        ACE_CString identifier_type);
00046 
00047   void dump (CORBA::ULong depth);
00048 
00049   int find (const ACE_CString &identifier_name,
00050             ACE_CString &identifier_type);
00051 
00052   int find (const ACE_CString &identifier_name);
00053 
00054   TAO_PSDL_Scope *parent_scope (void);
00055 
00056   Scope_Map *scope_map (void);
00057 
00058   ACE_CString identifier_type (void);
00059   ACE_CString module_name (void);
00060   ACE_CString interface_name (void);
00061 
00062 private:
00063 
00064   Scope_Map struct_scope_;
00065   TAO_PSDL_Scope *parent_scope_;
00066   ACE_CString identifier_type_;
00067   ACE_CString module_name_;
00068   ACE_CString interface_name_;
00069 };
00070 
00071 #include /**/ "ace/post.h"
00072 
00073 #endif /* TAO_PSDL_STRUCT_SCOPE_H */

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