|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream java.io.FilterInputStream java.io.DataInputStream hep.io.root.core.RootDaemonInputStream
Field Summary |
Fields inherited from class java.io.FilterInputStream |
in |
Constructor Summary | |
RootDaemonInputStream(DaemonInputStream source,
RootFileReader reader)
|
Method Summary | |
void |
checkLength(AbstractRootObject obj)
|
void |
clearMap()
|
void |
dump()
For debugging |
RootClassFactory |
getFactory()
|
long |
getPosition()
|
int |
getRootVersion()
Returns the Root version which wrote this file |
RootInput |
getTop()
Returns the RootInput at the top of top of the heirarchy of slices |
int |
readArray(byte[] data)
|
int |
readArray(double[] data)
|
int |
readArray(float[] data)
|
int |
readArray(int[] data)
|
int |
readArray(short[] data)
|
void |
readFixedArray(byte[] data)
|
void |
readFixedArray(double[] data)
|
void |
readFixedArray(float[] data)
|
void |
readFixedArray(int[] data)
|
void |
readFixedArray(long[] data)
|
void |
readFixedArray(short[] data)
|
void |
readMultiArray(Object[] array)
|
String |
readNullTerminatedString(int maxLength)
|
RootObject |
readObject(String type)
|
RootObject |
readObjectRef()
|
String |
readString()
|
double |
readTwistedDouble()
Reads a double in strange byte order? |
int |
readVersion()
|
int |
readVersion(AbstractRootObject obj)
|
void |
setMap(int keylen)
|
void |
setPosition(long pos)
|
void |
skipObject()
For skipping uninterpretable objects |
RootInput |
slice(int size)
Returns a new RootInput stream which represents a slice of this RootInput stream. |
RootInput |
slice(int inSize,
int outSize)
Slice and decompress |
Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hep.io.root.core.RootInput |
close |
Methods inherited from interface java.io.DataInput |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
Constructor Detail |
public RootDaemonInputStream(DaemonInputStream source, RootFileReader reader) throws IOException
Method Detail |
public RootClassFactory getFactory()
getFactory
in interface RootInput
public void setMap(int keylen) throws IOException
setMap
in interface RootInput
IOException
public void setPosition(long pos) throws IOException
setPosition
in interface RootInput
IOException
public long getPosition() throws IOException
getPosition
in interface RootInput
IOException
public int getRootVersion()
RootInput
getRootVersion
in interface RootInput
public RootInput getTop()
RootInput
getTop
in interface RootInput
public void checkLength(AbstractRootObject obj) throws IOException
checkLength
in interface RootInput
IOException
public void clearMap()
clearMap
in interface RootInput
public int readArray(int[] data) throws IOException
readArray
in interface RootInput
IOException
public int readArray(byte[] data) throws IOException
readArray
in interface RootInput
IOException
public int readArray(short[] data) throws IOException
readArray
in interface RootInput
IOException
public int readArray(float[] data) throws IOException
readArray
in interface RootInput
IOException
public int readArray(double[] data) throws IOException
readArray
in interface RootInput
IOException
public void readFixedArray(int[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(long[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(byte[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(short[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(float[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readFixedArray(double[] data) throws IOException
readFixedArray
in interface RootInput
IOException
public void readMultiArray(Object[] array) throws IOException
readMultiArray
in interface RootInput
IOException
public String readNullTerminatedString(int maxLength) throws IOException
readNullTerminatedString
in interface RootInput
IOException
public RootObject readObject(String type) throws IOException
readObject
in interface RootInput
IOException
public RootObject readObjectRef() throws IOException
readObjectRef
in interface RootInput
IOException
public String readString() throws IOException
readString
in interface RootInput
IOException
public int readVersion() throws IOException
readVersion
in interface RootInput
IOException
public int readVersion(AbstractRootObject obj) throws IOException
readVersion
in interface RootInput
IOException
public RootInput slice(int size) throws IOException
RootInput
slice
in interface RootInput
size
- The size of the slice.
IOException
public RootInput slice(int inSize, int outSize) throws IOException
RootInput
slice
in interface RootInput
IOException
public double readTwistedDouble() throws IOException
RootInput
readTwistedDouble
in interface RootInput
IOException
public void dump() throws IOException
RootInput
dump
in interface RootInput
IOException
public void skipObject() throws IOException
RootInput
skipObject
in interface RootInput
IOException
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |