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

//=============================================================================
/**
 *  @file     OBV_Constants.h
 *
 *  $Id$
 *
 *  Constants related to valuetypes, but also used by type codes.
 *
 *  @author Jeff Parsons
 */
//=============================================================================

#ifndef TAO_OBV_CONSTANTS_H
#define TAO_OBV_CONSTANTS_H

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

#include "tao/Basic_Types.h"

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

namespace CORBA
{
  typedef Short Visibility;
  typedef Short_out Visibility_out;

  const Visibility PRIVATE_MEMBER = 0;
  const Visibility PUBLIC_MEMBER  = 1;

  typedef Short ValueModifier;
  typedef Short_out ValueModifier_out;

  const ValueModifier VM_NONE        = 0;
  const ValueModifier VM_CUSTOM      = 1;
  const ValueModifier VM_ABSTRACT    = 2;
  const ValueModifier VM_TRUNCATABLE = 3;
}

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

#endif  /* TAO_OBV_CONSTANTS_H */