summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_interface/interface_ih.h
blob: d88faa13f2e2294a94e743d53d7279cab054be00 (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    interface_ih.h
 *
 *  Concrete visitor for the Interface node.
 *  This provides for code generation in the implementation header
 *
 *  @author Yamuna Krishnamurthy (yamuna@cs.wustl.edu)
 */
//=============================================================================


#ifndef _BE_INTERFACE_INTERFACE_IH_H_
#define _BE_INTERFACE_INTERFACE_IH_H_

/**
 * @class be_visitor_interface_ih
 *
 * @brief be_visitor_interface_ih
 *
 * This is a concrete visitor to generate the implementation header for interface
 */
class be_visitor_interface_ih : public be_visitor_interface
{
public:
  /// constructor
  be_visitor_interface_ih (be_visitor_context *ctx);

  /// destructor
  ~be_visitor_interface_ih (void);

  /// set the right context and make a visitor
  virtual int visit_interface (be_interface *node);

  static int method_helper (be_interface *derived,
                            be_interface *node,
                            TAO_OutStream *os);
};

#endif /* _BE_INTERFACE_INTERFACE_IH_H_ */