diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_structure_fwd.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_structure_fwd.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/be_include/be_structure_fwd.h b/TAO/TAO_IDL/be_include/be_structure_fwd.h new file mode 100644 index 00000000000..f1fd43c0e99 --- /dev/null +++ b/TAO/TAO_IDL/be_include/be_structure_fwd.h @@ -0,0 +1,60 @@ +/* -*- c++ -*- */ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO IDL +// +// = FILENAME +// be_structure_fwd.h +// +// = DESCRIPTION +// Extension of class AST_StructureFwd that provides additional +// means for C++ mapping of a struct. +// +// = AUTHOR +// Jeff Parsons +// +// ============================================================================ + +#ifndef BE_STRUCTURE_FWD_H +#define BE_STRUCTURE_FWD_H + +#include "be_type.h" +#include "ast_structure_fwd.h" + +class be_visitor; +class be_structure; + +class be_structure_fwd : public virtual AST_StructureFwd, + public virtual be_type +{ + // =TITLE + // be_structure_fwd + // + // =DESCRIPTION + // Extensions to the AST_StructureFwd class +public: + be_structure_fwd (void); + // Default constructor. + + be_structure_fwd (AST_Structure *dummy, + UTL_ScopedName *n); + // Constructor. + + virtual ~be_structure_fwd (void); + // Destructor. + + virtual void destroy (void); + // Cleanup function. + + // Visiting. + virtual int accept (be_visitor* visitor); + + // Narrowing. + DEF_NARROW_METHODS2 (be_structure_fwd, AST_StructureFwd, be_type); + DEF_NARROW_FROM_DECL (be_structure_fwd); +}; + +#endif // if !defined |