summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_enum.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be_include/be_enum.h')
-rw-r--r--TAO/TAO_IDL/be_include/be_enum.h73
1 files changed, 0 insertions, 73 deletions
diff --git a/TAO/TAO_IDL/be_include/be_enum.h b/TAO/TAO_IDL/be_include/be_enum.h
deleted file mode 100644
index 200a08f2978..00000000000
--- a/TAO/TAO_IDL/be_include/be_enum.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* -*- c++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO IDL
-//
-// = FILENAME
-// be_enum.h
-//
-// = DESCRIPTION
-// Extension of class AST_Enum that provides additional means for C++
-// mapping.
-//
-// = AUTHOR
-// Copyright 1994-1995 by Sun Microsystems, Inc.
-// and
-// Aniruddha Gokhale
-//
-// ============================================================================
-
-#ifndef BE_ENUM_H
-#define BE_ENUM_H
-
-#include "be_scope.h"
-#include "be_type.h"
-#include "ast_enum.h"
-
-class UTL_StrList;
-class be_visitor;
-
-/*
- * BE_Enum
- */
-class be_enum : public virtual AST_Enum,
- public virtual be_scope,
- public virtual be_type
-{
-public:
- // Operations
-
- be_enum (void);
- // default constructor
-
- be_enum (UTL_ScopedName *n, UTL_StrList *p);
- // constructor
-
- virtual int member_count (void);
- // return the count of members
-
- // Convert a numeric value to the enum's string name for it.
- virtual UTL_ScopedName *value_to_name (const unsigned long v);
-
- // Visiting
- virtual int accept (be_visitor *visitor);
-
- // Narrowing
- DEF_NARROW_METHODS3 (be_enum, AST_Enum, be_scope, be_type);
- DEF_NARROW_FROM_DECL (be_enum);
- DEF_NARROW_FROM_SCOPE (be_enum);
-
-private:
- //=helper
-
- int compute_member_count (void);
- // count the number of members
-
- int member_count_;
- // number of members
-};
-
-#endif