blob: 0631f7d88d58b985f10a812a57f0e9da02ee5a96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/* -*- c++ -*- */
//=============================================================================
/**
* @file be_enum.h
*
* Extension of class AST_Enum that provides additional means for C++
* mapping.
*
* @author Copyright 1994-1995 by Sun Microsystems
* @author 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 be_visitor;
class be_enum : public virtual AST_Enum,
public virtual be_scope,
public virtual be_type
{
public:
be_enum (UTL_ScopedName *n,
bool local,
bool abstract);
/// Overridden from class be_type.
virtual void gen_ostream_operator (TAO_OutStream *os,
bool use_underscore);
/// Cleanup method.
virtual void destroy (void);
// Visiting.
virtual int accept (be_visitor *visitor);
};
#endif
|