blob: ed3b71c48862c358db0a6379a9fadf32754b92fe (
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
45
46
47
48
49
50
51
52
53
|
// $Id$
#ifndef FE_OBV_HEADER_H
#define FE_OBV_HEADER_H
#include "fe_interface_header.h"
class AST_ValueType;
// FE_OBVHeader
// Internal class for FE to describe valuetype headers.
//
class TAO_IDL_FE_Export FE_OBVHeader : public FE_InterfaceHeader
{
public:
FE_OBVHeader (UTL_ScopedName *n,
UTL_NameList *inherits,
UTL_NameList *supports,
bool truncatable,
bool is_eventtype = false);
virtual ~FE_OBVHeader (void);
// Data Accessors.
AST_Type **supports (void) const;
long n_supports (void) const;
AST_Type *inherits_concrete (void) const;
AST_Type *supports_concrete (void) const;
bool truncatable (void) const;
virtual void destroy (void);
// Destroy anything allocated for this class.
protected:
// Supported interfaces.
AST_Type **supports_;
long n_supports_;
AST_Type *inherits_concrete_;
AST_Type *supports_concrete_;
// Currently ignored.
bool truncatable_;
protected:
void compile_inheritance (UTL_NameList *vtypes,
bool is_eventtype);
void compile_supports (UTL_NameList *supports);
bool check_concrete_supported_inheritance (AST_Interface *d);
};
#endif /* FE_OBV_HEADER_H */
|