diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-12-31 17:34:56 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-12-31 17:34:56 +0000 |
commit | 941741da484ba50c4577fc53e9be6eea300fa2a5 (patch) | |
tree | 6ed27dc6a4b35eca1e746e6fc13ba844b6d390f6 /TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_init.h | |
parent | 0e20a37f9509ca5f382c0f7bc8306de6e3949fed (diff) | |
download | ATCD-941741da484ba50c4577fc53e9be6eea300fa2a5.tar.gz |
ChangeLogTag: Mon Dec 31 11:01:29 2001 Jeff Parsons <parsons@cs.wustl.edu>
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_init.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_init.h | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_init.h b/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_init.h new file mode 100644 index 00000000000..b507ccf5f2d --- /dev/null +++ b/TAO/TAO_IDL/be_include/be_visitor_valuetype/valuetype_init.h @@ -0,0 +1,82 @@ +// +// $Id$ +// +/* -*- c++ -*- */ +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// valuetype_init.h +// +// = DESCRIPTION +// Coomon visitor for the Valuetype node. +// This one provides code generation for valuetype factory construct. +// +// +// = AUTHOR +// Boris Kolpackov <bosk@ipmce.ru> +// +// +// ============================================================================ + +#ifndef _BE_VALUETYPE_VALUETYPE_INIT_H_ +#define _BE_VALUETYPE_VALUETYPE_INIT_H_ + + +class be_visitor_valuetype_init : public be_visitor_valuetype +{ + // + // = TITLE + // be_visitor_valuetype_init + // + // = DESCRIPTION + // This is a common visitor to generate valuetype factory constructs. + // + // + +public: + be_visitor_valuetype_init (be_visitor_context *ctx); + // constructor + + ~be_visitor_valuetype_init (void); + // destructor + +public: + + virtual int visit_attribute (be_attribute *node); + // visit attribute + + virtual int visit_constant (be_constant *node); + // visit a constant + + virtual int visit_enum (be_enum *node); + // visit an enum + + virtual int visit_operation (be_operation *node); + // visit operation + + virtual int visit_exception (be_exception *node); + // visit exception (not used) + + virtual int visit_structure (be_structure *node); + // visit a structure + + virtual int visit_union (be_union *node); + // visit a union + + virtual int visit_typedef (be_typedef *node); + // visit the typedef node + + virtual int visit_field (be_field *node); + // visit a field + + virtual int visit_factory (be_factory *node); + // visit a factory + + void begin_public (void); + void begin_private (void); +}; + +#endif /* _BE_VALUETYPE_VALUETYPE_INIT_H_ */ |