summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/ast_native.h
blob: 4b3f40fa6b9defd4784d847675f1eeef0cf9f9f9 (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
// This may look like C, but it's really -*- C++ -*-
// $Id$

#ifndef _AST_NATIVE_H_
#define _AST_NATIVE_H_

// Representation of "native" IDL type added by the POA spec
//
/*
** DEPENDENCIES: ast_decl.h
**
** USE: Included from ast.h
*/

class AST_Native : public virtual AST_Type
{
public:
  // =Operations

  // Constructor(s)
  AST_Native (void);
  // default constructor

  AST_Native(UTL_ScopedName *n, UTL_StrList *p);
  // constructor that initializes its scoped name

  virtual ~AST_Native (void) {}
  // destructor

  // Narrowing
  DEF_NARROW_METHODS1(AST_Native, AST_Type);
  DEF_NARROW_FROM_DECL(AST_Native);

  // AST Dumping
  virtual void          dump(ostream &o);
};

#endif /* AST_NATIVE_H */