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

#ifndef __org_omg_CORBA_portable_OutputStream__
#define __org_omg_CORBA_portable_OutputStream__

#pragma interface

#include <java/io/OutputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace math
    {
        class BigDecimal;
    }
  }
  namespace org
  {
    namespace omg
    {
      namespace CORBA
      {
          class Any;
          class Context;
          class ContextList;
          class ORB;
          class Object;
          class Principal;
          class TypeCode;
        namespace portable
        {
            class InputStream;
            class OutputStream;
        }
      }
    }
  }
}

class org::omg::CORBA::portable::OutputStream : public ::java::io::OutputStream
{

public:
  OutputStream();
  virtual ::org::omg::CORBA::portable::InputStream * create_input_stream() = 0;
  virtual ::org::omg::CORBA::ORB * orb();
  virtual void write(jint);
  virtual void write_Context(::org::omg::CORBA::Context *, ::org::omg::CORBA::ContextList *);
  virtual void write_Object(::org::omg::CORBA::Object *) = 0;
  virtual void write_Principal(::org::omg::CORBA::Principal *);
  virtual void write_TypeCode(::org::omg::CORBA::TypeCode *) = 0;
  virtual void write_any(::org::omg::CORBA::Any *) = 0;
  virtual void write_boolean(jboolean) = 0;
  virtual void write_boolean_array(JArray< jboolean > *, jint, jint) = 0;
  virtual void write_char(jchar) = 0;
  virtual void write_char_array(JArray< jchar > *, jint, jint) = 0;
  virtual void write_double(jdouble) = 0;
  virtual void write_double_array(JArray< jdouble > *, jint, jint) = 0;
  virtual void write_fixed(::java::math::BigDecimal *);
  virtual void write_float(jfloat) = 0;
  virtual void write_float_array(JArray< jfloat > *, jint, jint) = 0;
  virtual void write_long(jint) = 0;
  virtual void write_long_array(JArray< jint > *, jint, jint) = 0;
  virtual void write_longlong(jlong) = 0;
  virtual void write_longlong_array(JArray< jlong > *, jint, jint) = 0;
  virtual void write_octet(jbyte) = 0;
  virtual void write_octet_array(JArray< jbyte > *, jint, jint) = 0;
  virtual void write_short(jshort) = 0;
  virtual void write_short_array(JArray< jshort > *, jint, jint) = 0;
  virtual void write_string(::java::lang::String *) = 0;
  virtual void write_ulong(jint) = 0;
  virtual void write_ulong_array(JArray< jint > *, jint, jint) = 0;
  virtual void write_ulonglong(jlong) = 0;
  virtual void write_ulonglong_array(JArray< jlong > *, jint, jint) = 0;
  virtual void write_ushort(jshort) = 0;
  virtual void write_ushort_array(JArray< jshort > *, jint, jint) = 0;
  virtual void write_wchar(jchar) = 0;
  virtual void write_wchar_array(JArray< jchar > *, jint, jint) = 0;
  virtual void write_wstring(::java::lang::String *) = 0;
  static ::java::lang::Class class$;
};

#endif // __org_omg_CORBA_portable_OutputStream__
