FreeHEP API
Version current

hep.io.root.interfaces
Interface TLeaf

All Superinterfaces:
RootObject, TNamed, TObject
All Known Subinterfaces:
TLeafB, TLeafC, TLeafD, TLeafElement, TLeafF, TLeafI, TLeafObject, TLeafS
All Known Implementing Classes:
CloneLeaf, TLeafBRep, TLeafCRep, TLeafDRep, TLeafElementRep, TLeafFRep, TLeafIRep, TLeafObjectRep, TLeafRep, TLeafSRep

public interface TLeaf
extends RootObject, TNamed

Source Code:
TLeaf.java

Field Summary
static int rootCheckSum
           
static int rootIOVersion
           
 
Method Summary
 void generateReadCode(org.apache.bcel.generic.InstructionList il, org.apache.bcel.generic.InstructionFactory factory, org.apache.bcel.generic.ConstantPoolGen cp, String className)
           
 int getArrayDim()
           
 boolean getIsRange()
          (=kTRUE if leaf has a range, kFALSE otherwise)
 boolean getIsUnsigned()
          (=kTRUE if unsigned, kFALSE otherwise)
 TLeaf getLeafCount()
          Pointer to Leaf count if variable length
 int getLen()
          Number of fixed length elements
 int getLenType()
          Number of bytes for this data type
 int[] getMaxIndex()
           
 int getOffset()
          Offset in ClonesArray object (if one)
 Object getWrappedValue(long index)
           
 void setBranch(TBranch branch)
           
 
Methods inherited from interface hep.io.root.RootObject
getRootClass
 
Methods inherited from interface hep.io.root.interfaces.TNamed
getName, getTitle
 
Methods inherited from interface hep.io.root.interfaces.TObject
getBits, getUniqueID
 

Field Detail

rootIOVersion

public static final int rootIOVersion
See Also:
Constant Field Values

rootCheckSum

public static final int rootCheckSum
See Also:
Constant Field Values
Method Detail

getArrayDim

public int getArrayDim()

setBranch

public void setBranch(TBranch branch)

getIsRange

public boolean getIsRange()
(=kTRUE if leaf has a range, kFALSE otherwise)


getIsUnsigned

public boolean getIsUnsigned()
(=kTRUE if unsigned, kFALSE otherwise)


getLeafCount

public TLeaf getLeafCount()
Pointer to Leaf count if variable length


getLen

public int getLen()
Number of fixed length elements


getLenType

public int getLenType()
Number of bytes for this data type


getMaxIndex

public int[] getMaxIndex()

getOffset

public int getOffset()
Offset in ClonesArray object (if one)


getWrappedValue

public Object getWrappedValue(long index)
                       throws IOException
Throws:
IOException

generateReadCode

public void generateReadCode(org.apache.bcel.generic.InstructionList il,
                             org.apache.bcel.generic.InstructionFactory factory,
                             org.apache.bcel.generic.ConstantPoolGen cp,
                             String className)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.