diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_module.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_module.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_module.h b/TAO/TAO_IDL/be_include/be_module.h new file mode 100644 index 00000000000..1c6801addef --- /dev/null +++ b/TAO/TAO_IDL/be_include/be_module.h @@ -0,0 +1,55 @@ +/* -*- c++ -*- */ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// be_module.h +// +// = DESCRIPTION +// Extension of class AST_Module that provides additional means for C++ +// mapping. +// +// = AUTHOR +// Copyright 1994-1995 by Sun Microsystems, Inc. +// and +// Aniruddha Gokhale +// +// ============================================================================ + +#ifndef _BE_MODULE_H +#define _BE_MODULE_H + +#include "be_scope.h" +#include "be_decl.h" +#include "ast_module.h" + +class be_visitor; + +class be_module : public virtual AST_Module, + public virtual be_scope, + public virtual be_decl +{ +public: + be_module (void); + // Default constructor. + + be_module (UTL_ScopedName *n); + // Constructor. + + virtual void destroy (void); + // Cleanup method. + + // Visiting + virtual int accept (be_visitor *visitor); + + // Narrowing. + DEF_NARROW_METHODS3 (be_module, AST_Module, be_scope, be_decl); + DEF_NARROW_FROM_DECL (be_module); + DEF_NARROW_FROM_SCOPE (be_module); +}; + +#endif |