TAO_IFR  2.0.8
Public Member Functions | Private Member Functions | Private Attributes
ifr_adding_visitor_union Class Reference

ifr_adding_visitor_exception. More...

#include <ifr_adding_visitor_union.h>

Inheritance diagram for ifr_adding_visitor_union:
Inheritance graph
[legend]
Collaboration diagram for ifr_adding_visitor_union:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ifr_adding_visitor_union (AST_Decl *scope)
virtual ~ifr_adding_visitor_union (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_Union *node, CORBA::UnionDef_ptr union_def)

Private Attributes

CORBA::UnionMemberSeq members_
CORBA::TypeCode_var disc_tc_

Detailed Description

ifr_adding_visitor_exception.

This visitor overrides a few of the visit methods for the case when a union node is seen in the AST.


Constructor & Destructor Documentation

ifr_adding_visitor_union::ifr_adding_visitor_union ( AST_Decl *  scope)
ifr_adding_visitor_union::~ifr_adding_visitor_union ( void  ) [virtual]

Member Function Documentation

int ifr_adding_visitor_union::add_members ( AST_Union *  node,
CORBA::UnionDef_ptr  union_def 
) [private]

Common code called whether we are creating a new union or filling out a forward declaration.

CORBA::IDLType_ptr ifr_adding_visitor_union::ir_current ( void  ) const [virtual]

Lets the visitor one level above acess this value.

int ifr_adding_visitor_union::visit_enum ( AST_Enum *  node) [virtual]

Reimplemented from ifr_adding_visitor.

int ifr_adding_visitor_union::visit_scope ( UTL_Scope *  node) [virtual]

Reimplemented from ifr_adding_visitor.

int ifr_adding_visitor_union::visit_structure ( AST_Structure *  node) [virtual]

Reimplemented from ifr_adding_visitor.

int ifr_adding_visitor_union::visit_union ( AST_Union *  node) [virtual]

Reimplemented from ifr_adding_visitor.


Member Data Documentation

Holds the typecode of the discriminator (used only if the discriminator is an enum type, so we can insert the label values into Anys for UnionMemberSeq[i].label).

CORBA::UnionMemberSeq ifr_adding_visitor_union::members_ [private]

Holder for the member list passed to create_struct() or create_exception().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines