Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / TAO_IDL / be / be_visitor.cpp
blobba10e58eb0b578633a0b5498afa78cc8bec779c4
1 /* -*- c++ -*- */
2 //=============================================================================
3 /**
4 * @file be_visitor.cpp
6 * Abstract class for back end visitors.
8 * = NOTES
9 * This is not a pure abstract class
11 * @author Aniruddha Gokhale and Carlos O'Ryan
13 //=============================================================================
15 #include "be_visitor.h"
17 #include "be_fixed.h"
18 #include "be_extern.h"
19 #include "global_extern.h"
20 #include "utl_err.h"
22 #include "ace/config-all.h"
24 be_visitor::be_visitor ()
28 be_visitor::~be_visitor ()
32 // All the visit methods. Concrete visitors will selectively
33 // override each one.
34 int be_visitor::visit_decl (be_decl *)
36 return 0;
39 int
40 be_visitor::visit_scope (be_scope *)
42 return 0;
45 int
46 be_visitor::visit_type (be_type *)
48 return 0;
51 int
52 be_visitor::visit_predefined_type (be_predefined_type *)
54 return 0;
57 int
58 be_visitor::visit_module (be_module *)
60 return 0;
63 int be_visitor::visit_interface (be_interface *)
65 return 0;
68 int
69 be_visitor::visit_interface_fwd (be_interface_fwd *)
71 return 0;
74 int
75 be_visitor::visit_valuebox (be_valuebox *)
77 return 0;
80 int
81 be_visitor::visit_valuetype (be_valuetype *)
83 return 0;
86 int
87 be_visitor::visit_valuetype_fwd (be_valuetype_fwd *)
89 return 0;
92 int
93 be_visitor::visit_eventtype (be_eventtype *)
95 return 0;
98 int
99 be_visitor::visit_eventtype_fwd (be_eventtype_fwd *)
101 return 0;
105 be_visitor::visit_component (be_component *)
107 return 0;
111 be_visitor::visit_component_fwd (be_component_fwd *)
113 return 0;
117 be_visitor::visit_template_module (be_template_module *)
119 return 0;
123 be_visitor::visit_template_module_inst (be_template_module_inst *)
125 return 0;
129 be_visitor::visit_template_module_ref (be_template_module_ref *)
131 return 0;
135 be_visitor::visit_param_holder (be_param_holder *)
137 return 0;
141 be_visitor::visit_porttype (be_porttype *)
143 return 0;
147 be_visitor::visit_provides (be_provides *)
149 return 0;
153 be_visitor::visit_uses (be_uses *)
155 return 0;
159 be_visitor::visit_publishes (be_publishes *)
161 return 0;
165 be_visitor::visit_emits (be_emits *)
167 return 0;
171 be_visitor::visit_consumes (be_consumes *)
173 return 0;
177 be_visitor::visit_extended_port (be_extended_port *)
179 return 0;
183 be_visitor::visit_mirror_port (be_mirror_port *)
185 return 0;
189 be_visitor::visit_connector (be_connector *)
191 return 0;
195 be_visitor::visit_home (be_home *)
197 return 0;
201 be_visitor::visit_factory (be_factory *)
203 return 0;
207 be_visitor::visit_finder (be_finder *)
209 return 0;
213 be_visitor::visit_structure (be_structure *)
215 return 0;
219 be_visitor::visit_structure_fwd (be_structure_fwd *)
221 return 0;
225 be_visitor::visit_exception (be_exception *)
227 return 0;
231 be_visitor::visit_expression (be_expression *)
233 return 0;
237 be_visitor::visit_enum (be_enum *)
239 return 0;
243 be_visitor::visit_operation (be_operation *)
245 return 0;
249 be_visitor::visit_field (be_field *)
251 return 0;
255 be_visitor::visit_argument (be_argument *)
257 return 0;
261 be_visitor::visit_attribute (be_attribute *)
263 return 0;
267 be_visitor::visit_union (be_union *)
269 return 0;
273 be_visitor::visit_union_fwd (be_union_fwd *)
275 return 0;
279 be_visitor::visit_union_branch (be_union_branch *)
281 return 0;
285 be_visitor::visit_union_label (be_union_label *)
287 return 0;
291 be_visitor::visit_constant (be_constant *)
293 return 0;
297 be_visitor::visit_enum_val (be_enum_val *)
299 return 0;
303 be_visitor::visit_array (be_array *)
305 return 0;
309 be_visitor::visit_map (be_map *)
311 return 0;
315 be_visitor::visit_sequence (be_sequence *)
317 return 0;
321 be_visitor::visit_string (be_string *)
323 return 0;
327 be_visitor::visit_typedef (be_typedef *)
329 return 0;
333 be_visitor::visit_root (be_root *)
335 return 0;
339 be_visitor::visit_native (be_native *)
341 return 0;
345 be_visitor::visit_fixed (be_fixed *node)
347 if (!be_global->no_fixed_err ())
348 idl_global->err ()->fixed_unsupported (node);
349 return 1;