summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_visitor_operation/operation_ih.h
blob: 1cc427098346b75c9b6cc7ad277d8e92cc47915d (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
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    operation_ih.h
//
// = DESCRIPTION
//    Visitor for generating code for IDL operations in implementation header
//
// = AUTHOR
//   Yamuna Krishnamurthy (yamuna@cs.wustl.edu)
//
// ============================================================================

#ifndef _BE_VISITOR_OPERATION_OPERATION_IH_H_
#define _BE_VISITOR_OPERATION_OPERATION_IH_H_

// ************************************************************
// Operation visitor for implementation header
// ************************************************************

class be_visitor_operation_ih : public be_visitor_operation
{
  //
  // = TITLE
  //   be_visitor_operation_ih
  //
  // = DESCRIPTION
  //   This is a concrete visitor to generate the implementation header for operation
  //
  //
public:
  be_visitor_operation_ih (be_visitor_context *ctx);
  // constructor

  ~be_visitor_operation_ih (void);
  // destructor

  virtual int visit_operation (be_operation *node);
  // visit operation. We provide code for this method in the derived class

  int gen_raise_exception (be_operation *node);

};

#endif /* _BE_VISITOR_OPERATION_OPERATION_IH_H_ */