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