OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [imageio/] [stream/] [FileCacheImageOutputStream.h] - Blame information for rev 759

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_imageio_stream_FileCacheImageOutputStream__
5
#define __javax_imageio_stream_FileCacheImageOutputStream__
6
 
7
#pragma interface
8
 
9
#include <javax/imageio/stream/ImageOutputStreamImpl.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace javax
15
  {
16
    namespace imageio
17
    {
18
      namespace stream
19
      {
20
          class FileCacheImageOutputStream;
21
      }
22
    }
23
  }
24
}
25
 
26
class javax::imageio::stream::FileCacheImageOutputStream : public ::javax::imageio::stream::ImageOutputStreamImpl
27
{
28
 
29
public:
30
  FileCacheImageOutputStream(::java::io::OutputStream *, ::java::io::File *);
31
  virtual void close();
32
  virtual jboolean isCached();
33
  virtual jboolean isCachedFile();
34
  virtual jboolean isCachedMemory();
35
  virtual jint read();
36
  virtual jint read(JArray< jbyte > *, jint, jint);
37
  virtual void write(JArray< jbyte > *, jint, jint);
38
  virtual void write(jint);
39
  virtual jlong length();
40
  virtual void seek(jlong);
41
  virtual void flushBefore(jlong);
42
private:
43
  ::java::io::OutputStream * __attribute__((aligned(__alignof__( ::javax::imageio::stream::ImageOutputStreamImpl)))) stream;
44
  ::java::io::File * cacheFile;
45
  ::java::io::RandomAccessFile * cache;
46
  jlong maxPos;
47
public:
48
  static ::java::lang::Class class$;
49
};
50
 
51
#endif // __javax_imageio_stream_FileCacheImageOutputStream__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.