1 //=============================================================================
3 * @file be_visitor_arg_traits.h
5 * This visitor generates template specializations for argument traits classes.
7 * @author Jeff Parsons <j.parsons@vanderbilt.edu>
9 //=============================================================================
11 #ifndef TAO_BE_VISITOR_ARG_TRAITS_H
12 #define TAO_BE_VISITOR_ARG_TRAITS_H
14 #include "be_visitor_scope.h"
17 * @class be_visitor_arg_traits
19 * @brief Generates specialized template argument traits declarations.
21 class be_visitor_arg_traits
: public be_visitor_scope
24 be_visitor_arg_traits (const char *S
,
25 be_visitor_context
*ctx
);
27 virtual ~be_visitor_arg_traits (void);
29 virtual int visit_root (be_root
*node
);
30 virtual int visit_module (be_module
*node
);
31 virtual int visit_array (be_array
*node
);
32 virtual int visit_enum (be_enum
*node
);
33 virtual int visit_interface (be_interface
*node
);
34 virtual int visit_interface_fwd (be_interface_fwd
*node
);
35 virtual int visit_valuetype (be_valuetype
*node
);
36 virtual int visit_valuetype_fwd (be_valuetype_fwd
*node
);
37 virtual int visit_eventtype (be_eventtype
*node
);
38 virtual int visit_eventtype_fwd (be_eventtype_fwd
*node
);
39 virtual int visit_operation (be_operation
*node
);
40 virtual int visit_attribute (be_attribute
*node
);
41 virtual int visit_argument (be_argument
*node
);
42 virtual int visit_sequence (be_sequence
*node
);
43 virtual int visit_string (be_string
*node
);
44 virtual int visit_structure (be_structure
*node
);
45 virtual int visit_field (be_field
*node
);
46 virtual int visit_union (be_union
*node
);
47 virtual int visit_union_branch (be_union_branch
*node
);
48 virtual int visit_typedef (be_typedef
*node
);
49 virtual int visit_component (be_component
*node
);
50 virtual int visit_component_fwd (be_component_fwd
*node
);
51 virtual int visit_connector (be_connector
*node
);
52 virtual int visit_home (be_home
*node
);
53 virtual int visit_valuebox (be_valuebox
*node
);
57 bool generated (be_decl
*node
) const;
58 void generated (be_decl
*node
,
61 const char *insert_policy (void);
68 #endif // TAO_BE_VISITOR_ARG_TRAITS_H