TAO_IFR
2.0.8
|
ifr_adding_visitor_exception. More...
#include <ifr_adding_visitor_exception.h>
Public Member Functions | |
ifr_adding_visitor_exception (AST_Decl *scope, CORBA::Boolean in_reopened_) | |
Constructor. | |
virtual | ~ifr_adding_visitor_exception (void) |
Destructor. | |
virtual int | visit_scope (UTL_Scope *node) |
Visit a struct. | |
virtual int | visit_structure (AST_Structure *node) |
Visit a struct. | |
virtual int | visit_exception (AST_Exception *node) |
Visit a struct. | |
virtual int | visit_enum (AST_Enum *node) |
Visit an enum. | |
virtual int | visit_union (AST_Union *node) |
Visit union. | |
virtual CORBA::IDLType_ptr | ir_current (void) const |
Lets the visitor one level above acess this value. | |
Private Member Functions | |
int | add_members (AST_Exception *node, CORBA::ExceptionDef_ptr except_def) |
Private Attributes | |
CORBA::StructMemberSeq | members_ |
This visitor overrides a few of the visit methods for the case when an exception node is seen in the AST.
ifr_adding_visitor_exception::ifr_adding_visitor_exception | ( | AST_Decl * | scope, |
CORBA::Boolean | in_reopened_ | ||
) |
Constructor.
ifr_adding_visitor_exception::~ifr_adding_visitor_exception | ( | void | ) | [virtual] |
Destructor.
int ifr_adding_visitor_exception::add_members | ( | AST_Exception * | node, |
CORBA::ExceptionDef_ptr | except_def | ||
) | [private] |
Common code called whether we are creating a new exception or filling out a forward declaration.
CORBA::IDLType_ptr ifr_adding_visitor_exception::ir_current | ( | void | ) | const [virtual] |
Lets the visitor one level above acess this value.
int ifr_adding_visitor_exception::visit_enum | ( | AST_Enum * | node | ) | [virtual] |
Visit an enum.
Reimplemented from ifr_adding_visitor.
int ifr_adding_visitor_exception::visit_exception | ( | AST_Exception * | node | ) | [virtual] |
Visit a struct.
Reimplemented from ifr_adding_visitor.
int ifr_adding_visitor_exception::visit_scope | ( | UTL_Scope * | node | ) | [virtual] |
Visit a struct.
Reimplemented from ifr_adding_visitor.
int ifr_adding_visitor_exception::visit_structure | ( | AST_Structure * | node | ) | [virtual] |
Visit a struct.
Reimplemented from ifr_adding_visitor.
int ifr_adding_visitor_exception::visit_union | ( | AST_Union * | node | ) | [virtual] |
Visit union.
Reimplemented from ifr_adding_visitor.
CORBA::StructMemberSeq ifr_adding_visitor_exception::members_ [private] |
Holder for the member list passed to create_struct() or create_exception().