summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQDataStream.java
blob: dd675fb667faf5fc19a0c1614b3e18944f17678d (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQDataStream implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQDataStream(Class dummy){}

	public static final int BigEndian = 0;
	public static final int LittleEndian = 1;

	public TQDataStream() {
		newTQDataStream();
	}
	private native void newTQDataStream();
	public TQDataStream(TQIODeviceInterface arg1) {
		newTQDataStream(arg1);
	}
	private native void newTQDataStream(TQIODeviceInterface arg1);
	public TQDataStream(byte[] arg1, int mode) {
		newTQDataStream(arg1,mode);
	}
	private native void newTQDataStream(byte[] arg1, int mode);
	public native TQIODeviceInterface device();
	public native void setDevice(TQIODeviceInterface arg1);
	public native void unsetDevice();
	public native boolean atEnd();
	public native boolean eof();
	public native int byteOrder();
	public native void setByteOrder(int arg1);
	public native boolean isPrintableData();
	public native void setPrintableData(boolean arg1);
	public native int version();
	public native void setVersion(int arg1);
	public native TQDataStream op_read(char i);
	public native TQDataStream op_read(short i);
	public native TQDataStream op_read(int i);
	// TQDataStream& op_read(TQ_INT64& arg1); >>>> NOT CONVERTED
	// TQDataStream& op_read(TQ_UINT64& arg1); >>>> NOT CONVERTED
	public native TQDataStream op_read(long i);
	public native TQDataStream op_read(float f);
	public native TQDataStream op_read(double f);
	public native TQDataStream op_read(String str);
	public native TQDataStream op_write(char i);
	public native TQDataStream op_write(short i);
	public native TQDataStream op_write(int i);
	public native TQDataStream op_write(long i);
	public native TQDataStream op_write(float f);
	public native TQDataStream op_write(double f);
	public native TQDataStream op_write(String str);
	public native TQDataStream readBytes(String arg1, int len);
	public native TQDataStream readRawBytes(String arg1, int len);
	public native TQDataStream writeBytes(String arg1, int len);
	public native TQDataStream writeRawBytes(String arg1, int len);
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}