summaryrefslogtreecommitdiff
path: root/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'orbsvcs/IFR_Service/ifr_adding_visitor_exception.h')
-rw-r--r--orbsvcs/IFR_Service/ifr_adding_visitor_exception.h69
1 files changed, 33 insertions, 36 deletions
diff --git a/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h b/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h
index 2e716f65d40..7abac7d0051 100644
--- a/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h
+++ b/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h
@@ -1,21 +1,18 @@
-// $Id$
/* -*- c++ -*- */
-// ============================================================================
-//
-// = LIBRARY
-// TAO_IFR_BE_DLL
-//
-// = FILENAME
-// ifr_adding_visitor_exception.h
-//
-// = DESCRIPTION
-// Header file for class ifr_adding_visitor_exception.
-//
-// = AUTHOR
-// Jeff Parsons <parsons@cs.wustl.edu>
-//
-// ============================================================================
+//=============================================================================
+/**
+ * @file ifr_adding_visitor_exception.h
+ *
+ * $Id$
+ *
+ * Header file for class ifr_adding_visitor_exception.
+ *
+ *
+ * @author Jeff Parsons <parsons@cs.wustl.edu>
+ */
+//=============================================================================
+
#ifndef TAO_IFR_ADDING_VISITOR_EXCEPTION_H
#define TAO_IFR_ADDING_VISITOR_EXCEPTION_H
@@ -26,51 +23,51 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+/**
+ * @class ifr_adding_visitor_exception
+ *
+ * @brief ifr_adding_visitor_exception.
+ *
+ * This visitor overrides a few of the visit methods
+ * for the case when an exception node is seen in the AST.
+ */
class ifr_adding_visitor_exception : public ifr_adding_visitor
{
- //
- // = TITLE
- // ifr_adding_visitor_exception.
- //
- // = DESCRIPTION
- // This visitor overrides a few of the visit methods
- // for the case when an exception node is seen in the AST.
- //
public:
+ /// Constructor.
ifr_adding_visitor_exception (AST_Decl *scope,
CORBA::Boolean in_reopened_);
- // Constructor.
+ /// Destructor.
virtual ~ifr_adding_visitor_exception (void);
- // Destructor.
+ /// Visit a struct.
virtual int visit_scope (UTL_Scope *node);
- // Visit a struct.
+ /// Visit a struct.
virtual int visit_structure (AST_Structure *node);
- // Visit a struct.
+ /// Visit a struct.
virtual int visit_exception (AST_Exception *node);
- // Visit a struct.
+ /// Visit an enum.
virtual int visit_enum (AST_Enum *node);
- // Visit an enum.
+ /// Visit union.
virtual int visit_union (AST_Union *node);
- // Visit union.
+ /// Lets the visitor one level above acess this value.
virtual CORBA::IDLType_ptr ir_current (void) const;
- // Lets the visitor one level above acess this value.
private:
+ /// Common code called whether we are creating a new exception
+ /// or filling out a forward declaration.
int add_members (AST_Exception *node, CORBA::ExceptionDef_ptr except_def);
- // Common code called whether we are creating a new exception
- // or filling out a forward declaration.
private:
+ /// Holder for the member list passed to create_struct() or
+ /// create_exception().
CORBA::StructMemberSeq members_;
- // Holder for the member list passed to create_struct() or
- // create_exception().
};