Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / org / omg / IOP / Codec.h
blobf25bacb6dcd24fb86b92ba84826eb506dc252290
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __org_omg_IOP_Codec__
5 #define __org_omg_IOP_Codec__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace org
16 namespace omg
18 namespace CORBA
20 class Any;
21 class Context;
22 class ContextList;
23 class DomainManager;
24 class ExceptionList;
25 class NVList;
26 class NamedValue;
27 class Object;
28 class Policy;
29 class Request;
30 class SetOverrideType;
31 class TypeCode;
33 namespace IOP
35 class Codec;
41 class org::omg::IOP::Codec : public ::java::lang::Object
44 public:
45 virtual JArray< jbyte > * encode(::org::omg::CORBA::Any *) = 0;
46 virtual ::org::omg::CORBA::Any * decode(JArray< jbyte > *) = 0;
47 virtual JArray< jbyte > * encode_value(::org::omg::CORBA::Any *) = 0;
48 virtual ::org::omg::CORBA::Any * decode_value(JArray< jbyte > *, ::org::omg::CORBA::TypeCode *) = 0;
49 virtual ::org::omg::CORBA::Request * _create_request(::org::omg::CORBA::Context *, ::java::lang::String *, ::org::omg::CORBA::NVList *, ::org::omg::CORBA::NamedValue *) = 0;
50 virtual ::org::omg::CORBA::Request * _create_request(::org::omg::CORBA::Context *, ::java::lang::String *, ::org::omg::CORBA::NVList *, ::org::omg::CORBA::NamedValue *, ::org::omg::CORBA::ExceptionList *, ::org::omg::CORBA::ContextList *) = 0;
51 virtual ::org::omg::CORBA::Object * _duplicate() = 0;
52 virtual JArray< ::org::omg::CORBA::DomainManager * > * _get_domain_managers() = 0;
53 virtual ::org::omg::CORBA::Object * _get_interface_def() = 0;
54 virtual ::org::omg::CORBA::Policy * _get_policy(jint) = 0;
55 virtual jint _hash(jint) = 0;
56 virtual jboolean _is_a(::java::lang::String *) = 0;
57 virtual jboolean _is_equivalent(::org::omg::CORBA::Object *) = 0;
58 virtual jboolean _non_existent() = 0;
59 virtual void _release() = 0;
60 virtual ::org::omg::CORBA::Request * _request(::java::lang::String *) = 0;
61 virtual ::org::omg::CORBA::Object * _set_policy_override(JArray< ::org::omg::CORBA::Policy * > *, ::org::omg::CORBA::SetOverrideType *) = 0;
62 static ::java::lang::Class class$;
63 } __attribute__ ((java_interface));
65 #endif // __org_omg_IOP_Codec__