summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/ast_fixed.h
blob: afd9311e6df0b291dc67fc2b341b79096128c50d (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
// This may look like C, but it's really -*- C++ -*-
#ifndef AST_FIXED_H
#define AST_FIXED_H

#include "ast_concrete_type.h"

#include "fe_utils.h"

class AST_Expression;

class TAO_IDL_FE_Export AST_Fixed : public virtual AST_ConcreteType
{
public:
  AST_Fixed (UTL_ScopedName *name,
             AST_Expression *digits,
             AST_Expression *scale);

  virtual ~AST_Fixed ();

  virtual void dump (ACE_OSTREAM_TYPE &o);

  virtual void destroy ();

  virtual int ast_accept (ast_visitor *visitor);

  AST_Expression *digits ();
  AST_Expression *scale ();

private:
  AST_Expression *pd_digits;
  AST_Expression *pd_scale;
};

#endif  // AST_FIXED_H