PSDL_Exception_Visitor.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // PSDL_Exception_Visitor.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_Visitor.h
00011 //
00012 // = DESCRIPTION
00013 //    Visitor class for the generated code for exceptions.
00014 //
00015 // = AUTHOR
00016 //    Priyanka Gontla <gontla_p@ociweb.com>
00017 //
00018 // ============================================================================
00019 
00020 #ifndef TAO_PSDL_EXCEPTION_VISITOR_H
00021 #define TAO_PSDL_EXCEPTION_VISITOR_H
00022 
00023 #include /**/ "ace/pre.h"
00024 
00025 #include "PSDL_Node_Visitor.h"
00026 
00027 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00028 # pragma once
00029 #endif /* ACE_LACKS_PRAGMA_ONCE */
00030 
00031 class TAO_PSDL_Exception_Visitor : public TAO_PSDL_Node_Visitor
00032 {
00033  public:
00034 
00035   TAO_PSDL_Exception_Visitor ();
00036 
00037   ~TAO_PSDL_Exception_Visitor ();
00038 
00039   // Override the necessary methods for the exceptions.
00040   int visit_identifier (TAO_PSDL_Identifier *identifier);
00041 
00042   int visit_except_dcl (TAO_PSDL_Except_Dcl *except_dcl);
00043 
00044   int visit_member_list (TAO_PSDL_Member_List *member_list);
00045 
00046   int visit_predefined_type (TAO_PSDL_Predefined_Type *predefined_type);
00047 
00048  private:
00049 
00050   void print_class_for_exception (void);
00051   ACE_CString exception_name_;
00052 };
00053 
00054 #include /**/ "ace/post.h"
00055 
00056 #endif /* TAO_PSDL_EXCEPTION_VISITOR_H */

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