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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [io/] [ObjectInputStream.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_io_ObjectInputStream__
5
#define __java_io_ObjectInputStream__
6
 
7
#pragma interface
8
 
9
#include <java/io/InputStream.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::io::ObjectInputStream : public ::java::io::InputStream
14
{
15
 
16
public:
17
  ObjectInputStream(::java::io::InputStream *);
18
  virtual ::java::lang::Object * readObject();
19
  virtual ::java::lang::Object * readUnshared();
20
private:
21
  ::java::lang::Object * readObject(jboolean);
22
  ::java::lang::Object * parseContent(jbyte, jboolean);
23
  void checkTypeConsistency(::java::lang::String *, JArray< ::java::io::ObjectStreamField * > *, JArray< ::java::io::ObjectStreamField * > *);
24
public: // actually protected
25
  virtual ::java::io::ObjectStreamClass * readClassDescriptor();
26
public:
27
  virtual void defaultReadObject();
28
  virtual void registerValidation(::java::io::ObjectInputValidation *, jint);
29
public: // actually protected
30
  virtual ::java::lang::Class * resolveClass(::java::io::ObjectStreamClass *);
31
private:
32
  ::java::lang::ClassLoader * currentLoader();
33
  ::java::io::ObjectStreamClass * lookupClass(::java::lang::Class *);
34
  JArray< ::java::io::ObjectStreamClass * > * hierarchy(::java::lang::Class *);
35
public: // actually protected
36
  virtual ::java::lang::Object * resolveObject(::java::lang::Object *);
37
  virtual ::java::lang::Class * resolveProxyClass(JArray< ::java::lang::String * > *);
38
  virtual jboolean enableResolveObject(jboolean);
39
  virtual void readStreamHeader();
40
public:
41
  virtual jint read();
42
  virtual jint read(JArray< jbyte > *, jint, jint);
43
  virtual jint available();
44
  virtual void close();
45
  virtual jboolean readBoolean();
46
  virtual jbyte readByte();
47
  virtual jint readUnsignedByte();
48
  virtual jshort readShort();
49
  virtual jint readUnsignedShort();
50
  virtual jchar readChar();
51
  virtual jint readInt();
52
  virtual jlong readLong();
53
  virtual jfloat readFloat();
54
  virtual jdouble readDouble();
55
  virtual void readFully(JArray< jbyte > *);
56
  virtual void readFully(JArray< jbyte > *, jint, jint);
57
  virtual jint skipBytes(jint);
58
  virtual ::java::lang::String * readLine();
59
  virtual ::java::lang::String * readUTF();
60
  virtual ::java::io::ObjectInputStream$GetField * readFields();
61
public: // actually protected
62
  ObjectInputStream();
63
  virtual ::java::lang::Object * readObjectOverride();
64
private:
65
  jint assignNewHandle(::java::lang::Object *, jboolean);
66
  void rememberHandle(::java::lang::Object *, jboolean, jint);
67
  ::java::lang::Object * lookupHandle(jint);
68
  ::java::lang::Object * processResolution(::java::io::ObjectStreamClass *, ::java::lang::Object *, jint, jboolean);
69
  void clearHandles();
70
  void readNextBlock();
71
  void readNextBlock(jbyte);
72
  void readArrayElements(::java::lang::Object *, ::java::lang::Class *);
73
  void readFields(::java::lang::Object *, ::java::io::ObjectStreamClass *);
74
  jboolean setBlockDataMode(jboolean);
75
  ::java::lang::Object * newObject(::java::lang::Class *, ::java::lang::reflect::Constructor *);
76
  void invokeValidators();
77
  void callReadMethod(::java::lang::reflect::Method *, ::java::lang::Class *, ::java::lang::Object *);
78
  void dumpElement(::java::lang::String *);
79
  void dumpElementln(::java::lang::String *);
80
  void dumpElementln(::java::lang::String *, ::java::lang::Object *);
81
  static const jint BUFFER_SIZE = 1024;
82
  ::java::io::DataInputStream * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) realInputStream;
83
  ::java::io::DataInputStream * dataInputStream;
84
  ::java::io::DataInputStream * blockDataInput;
85
  jint blockDataPosition;
86
  jint blockDataBytes;
87
  JArray< jbyte > * blockData;
88
  jboolean useSubclassMethod;
89
  jint nextOID;
90
  jboolean resolveEnabled;
91
  ::java::util::Map * handles;
92
  ::java::lang::Object * currentObject;
93
  ::java::io::ObjectStreamClass * currentObjectStreamClass;
94
  ::java::util::TreeSet * currentObjectValidators;
95
  jboolean readDataFromBlock;
96
  jboolean fieldsAlreadyRead;
97
  ::java::util::Hashtable * classLookupTable;
98
  ::java::io::ObjectInputStream$GetField * prereadFields;
99
  static jboolean dump;
100
  jint depth;
101
  static const jboolean DEBUG = 0;
102
public:
103
  static ::java::lang::Class class$;
104
};
105
 
106
#endif // __java_io_ObjectInputStream__

powered by: WebSVN 2.1.0

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