diff options
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_structure.h')
-rw-r--r-- | TAO/TAO_IDL/be_include/be_structure.h | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/TAO/TAO_IDL/be_include/be_structure.h b/TAO/TAO_IDL/be_include/be_structure.h deleted file mode 100644 index a7f821a95a2..00000000000 --- a/TAO/TAO_IDL/be_include/be_structure.h +++ /dev/null @@ -1,85 +0,0 @@ -/* -*- c++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_structure.h -// -// = DESCRIPTION -// Extension of class AST_Structure that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#ifndef BE_STRUCTURE_H -#define BE_STRUCTURE_H - -/* - * BE_Structure - */ -class be_structure : public virtual AST_Structure, - public virtual be_scope, - public virtual be_type -{ -public: - // =Operations - - be_structure (void); - // default constructor - - be_structure (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_var_defn (char *local_name = 0); - // generate the _var class definition - - virtual int gen_var_impl (char *local_name = 0, - char *full_name = 0); - // generate the implementation for the _var class - - virtual int gen_out_defn (char *local_name = 0); - // generate the _out class definition - - virtual int gen_out_impl (char *local_name = 0, - char *full_name = 0); - // generate the _out implementation - - virtual int member_count (void); - // return the count of members - - virtual idl_bool in_recursion (be_type *node = 0); - // are we or the node represented by node involved in recursion - - // Visiting - virtual int accept (be_visitor *visitor); - - // Narrowing - DEF_NARROW_METHODS3 (be_structure, AST_Structure, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_structure); - DEF_NARROW_FROM_SCOPE (be_structure); - -protected: - virtual int compute_size_type (void); - // compute the size type if it is unknown - -private: - //=helper - - int compute_member_count (void); - // count the number of members - - int member_count_; - // number of members - -}; - -#endif |