summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be_include/be_null_return_emitter.h
blob: 56fd4e89cffe0dd856e7afd178575912bcc9008f (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
/* -*- c++ -*- */

//=============================================================================
/**
 *  @file    be_null_return_emitter.h
 *
 *  Emits 'return x;' for all CORBA types and ACE-supported
 *  platforms.
 *
 *  @author Jeff Parsons
 */
//=============================================================================


#ifndef TAO_BE_NULL_RETURN_EMITTER_H
#define TAO_BE_NULL_RETURN_EMITTER_H

class be_visitor_context;
class be_type;
class TAO_OutStream;

class be_null_return_emitter
{
public:
  be_null_return_emitter (be_visitor_context *ctx);
  ~be_null_return_emitter ();

  int emit (be_type *node);

private:
  be_visitor_context *ctx_;
  TAO_OutStream &os_;
};


#endif // if !defined