summaryrefslogtreecommitdiff
path: root/TAO/tao/Object_KeyC.h
blob: df8e28a944a61c5660cab0a6d272af0ac2334074 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// -*- c++ -*-
// $Id$
//
// Hand-modified by Chris Cleeland.
//
// ******  Code generated by the The ACE ORB (TAO) IDL Compiler *******
// TAO ORB and the TAO IDL Compiler have been developed by Washington
// University Computer Science's Distributed Object Computing Group.
//
// Information on TAO is available at
//                 http://www.cs.wustl.edu/~schmidt/TAO.html

#ifndef TAO_IDL_OBJECT_KEYC_H
#define TAO_IDL_OBJECT_KEYC_H

#if !defined (_TAO__TAO_SEQ_OCTET_CH_)
#define _TAO__TAO_SEQ_OCTET_CH_

// *************************************************************
// TAO_tao_seq_Octet
// *************************************************************

typedef TAO_Unbounded_Sequence<CORBA::Octet > TAO_tao_seq_Octet;
typedef TAO_tao_seq_Octet* TAO_tao_seq_Octet_ptr;

#endif // end #if !defined

#if !defined (_TAO__TAO_SEQ_OCTET___VAR_CH_)
#define _TAO__TAO_SEQ_OCTET___VAR_CH_

// *************************************************************
// class TAO_tao_seq_Octet_var
// *************************************************************

class TAO_tao_seq_Octet_var
{
public:
  TAO_tao_seq_Octet_var (void); // default constructor
  TAO_tao_seq_Octet_var (TAO_tao_seq_Octet *);
  TAO_tao_seq_Octet_var (const TAO_tao_seq_Octet_var &); // copy constructor
  ~TAO_tao_seq_Octet_var (void); // destructor

  TAO_tao_seq_Octet_var &operator= (TAO_tao_seq_Octet *);
  TAO_tao_seq_Octet_var &operator= (const TAO_tao_seq_Octet_var &);
  TAO_tao_seq_Octet *operator-> (void);
  const TAO_tao_seq_Octet *operator-> (void) const;

  operator const TAO_tao_seq_Octet &() const;
  operator TAO_tao_seq_Octet &();
  operator TAO_tao_seq_Octet &() const;
  CORBA::Octet &operator[] (CORBA::ULong index);
  // in, inout, out, _retn
  const TAO_tao_seq_Octet &in (void) const;
  TAO_tao_seq_Octet &inout (void);
  TAO_tao_seq_Octet *&out (void);
  TAO_tao_seq_Octet *_retn (void);
  TAO_tao_seq_Octet *ptr (void) const;

private:
  TAO_tao_seq_Octet *ptr_;
};

#endif // end #if !defined

#if !defined (_TAO__TAO_SEQ_OCTET___OUT_CH_)
#define _TAO__TAO_SEQ_OCTET___OUT_CH_

class TAO_tao_seq_Octet_out
{
public:
  TAO_tao_seq_Octet_out (TAO_tao_seq_Octet *&);
  TAO_tao_seq_Octet_out (TAO_tao_seq_Octet_var &);
  TAO_tao_seq_Octet_out (TAO_tao_seq_Octet_out &);
  TAO_tao_seq_Octet_out &operator= (TAO_tao_seq_Octet_out &);
  TAO_tao_seq_Octet_out &operator= (TAO_tao_seq_Octet *);
  operator TAO_tao_seq_Octet *&();
  TAO_tao_seq_Octet *&ptr (void);
  TAO_tao_seq_Octet *operator-> (void);
  CORBA::Octet &operator[] (CORBA::ULong index);

private:
  TAO_tao_seq_Octet *&ptr_;
  // assignment from T_var not allowed
  void operator= (const TAO_tao_seq_Octet_var &);
};

#endif // end #if !defined

typedef TAO_tao_seq_Octet TAO_ObjectKey;
typedef TAO_tao_seq_Octet_var TAO_ObjectKey_var;
typedef TAO_tao_seq_Octet_out TAO_ObjectKey_out;

#if defined (__ACE_INLINE__)
#include "Object_KeyC.i"
#endif // defined INLINE

#endif /* TAO_IDL_OBJECT_KEYC_H */