aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/CORBA/CdrEncapsCodecImpl.h
blob: 8bdc15b9cf4dba5270aa826bca1ae3117f971ce3 (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

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_CORBA_CdrEncapsCodecImpl__
#define __gnu_CORBA_CdrEncapsCodecImpl__

#pragma interface

#include <org/omg/CORBA/LocalObject.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace CORBA
    {
      namespace CDR
      {
          class BufferedCdrOutput;
          class BufferredCdrInput;
      }
        class CdrEncapsCodecImpl;
        class Version;
    }
  }
  namespace org
  {
    namespace omg
    {
      namespace CORBA
      {
          class Any;
          class ORB;
          class TypeCode;
      }
    }
  }
}

class gnu::CORBA::CdrEncapsCodecImpl : public ::org::omg::CORBA::LocalObject
{

public:
  CdrEncapsCodecImpl(::org::omg::CORBA::ORB *, ::gnu::CORBA::Version *);
  virtual JArray< ::java::lang::String * > * _ids();
  virtual ::org::omg::CORBA::Any * decode(JArray< jbyte > *);
private:
  ::gnu::CORBA::CDR::BufferredCdrInput * createEncapsulation(JArray< jbyte > *, ::gnu::CORBA::CDR::BufferredCdrInput *);
public:
  virtual JArray< jbyte > * encode(::org::omg::CORBA::Any *);
  virtual ::org::omg::CORBA::Any * decode_value(JArray< jbyte > *, ::org::omg::CORBA::TypeCode *);
private:
  ::org::omg::CORBA::Any * readAny(::org::omg::CORBA::TypeCode *, ::gnu::CORBA::CDR::BufferredCdrInput *);
public:
  virtual JArray< jbyte > * encode_value(::org::omg::CORBA::Any *);
private:
  ::gnu::CORBA::CDR::BufferedCdrOutput * createOutput(::org::omg::CORBA::Any *);
  void checkTypePossibility(::java::lang::String *, ::org::omg::CORBA::TypeCode *);
  ::gnu::CORBA::CDR::BufferredCdrInput * createInput(JArray< jbyte > *);
public:
  virtual jboolean hasLengthIndicator();
  virtual void setUseLengthIndicator(jboolean);
private:
  static const jlong serialVersionUID = 1LL;
  jboolean __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject)))) noWide;
  ::gnu::CORBA::Version * version;
public: // actually protected
  ::org::omg::CORBA::ORB * orb;
private:
  jboolean lengthIndicator;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_CORBA_CdrEncapsCodecImpl__