summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/ast_native.h
blob: af32b97df5af3be8451bba75ad9036d7340e5006 (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
// 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.

class TAO_IDL_FE_Export 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 the 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);

  // Visiting.
  virtual int accept (ast_visitor *visitor);
};

#endif /* AST_NATIVE_H */