summaryrefslogtreecommitdiff
path: root/TAO/tao/ParameterMode.h
blob: a2648df1595255d3651c5e50a69ee331df007ade (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
// -*- C++ -*-

//=============================================================================
/**
 *  @file     ParameterMode.h
 *
 *  $Id$
 *
 *  This enum is used only in the IDL structs Dynamic::Parameter and
 *  CORBA::ParameterDescription.
 *
 *  @author  Jeff Parsons
 */
//=============================================================================

#ifndef CORBA_PARAMETERMODE_H
#define CORBA_PARAMETERMODE_H

#include /**/ "ace/pre.h"

#include "tao/TAO_Export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "tao/Basic_Types.h"

class TAO_OutputCDR;
class TAO_InputCDR;

namespace CORBA
{
  enum ParameterMode
    {
      PARAM_IN,
      PARAM_OUT,
      PARAM_INOUT
    };
}

TAO_Export CORBA::Boolean
operator<< (TAO_OutputCDR &, const CORBA::ParameterMode &);

TAO_Export CORBA::Boolean
operator>> (TAO_InputCDR &, CORBA::ParameterMode &);

#include /**/ "ace/post.h"

#endif  /* CORBA_PARAMETERMODE_H */