summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_interface/interface_is.h
blob: a3cfcb0641c51c5d0241a225b33ab8f615759dd0 (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

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


#ifndef _BE_INTERFACE_INTERFACE_IS_H_
#define _BE_INTERFACE_INTERFACE_IS_H_

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

  /// destructor
  ~be_visitor_interface_is (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_IS_H_ */