summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_constant/constant_cs.h
blob: db2fccf96ca8f8587b8d020f2c53595737ce8355 (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
54
/* -*- C++ -*- */
//
// $Id$
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    constant_cs.h
//
// = DESCRIPTION
//    Concrete visitor for the constant class generating code in the client stub.
//
// = AUTHOR
//    Aniruddha Gokhale
//
// ============================================================================

#ifndef _BE_VISITOR_CONSTANT_CONSTANT_CS_H_
#define _BE_VISITOR_CONSTANT_CONSTANT_CS_H_

class be_visitor_constant_cs : public be_visitor_decl
{
  //
  // = TITLE
  //   be_visitor_constant_cs
  //
  // = DESCRIPTION
  //   This is the visitor for constant for the impl file
  //
  //
public:
  be_visitor_constant_cs (be_visitor_context *ctx);
  // constructor

  ~be_visitor_constant_cs (void);
  // destructor

  virtual int visit_constant (be_constant *node);
  // visit constant

  // = special methods

  virtual int gen_nested_namespace_begin (be_module *node);
  // generate the nested namespace begins

  virtual int gen_nested_namespace_end (be_module *node);
  // generate the nested namespace ends
};

#endif /* _BE_VISITOR_CONSTANT_CONSTANT_CS_H_ */