hep.io.root.interfaces
Interface TLeaf

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

public interface TLeaf
extends RootObject, TNamed


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.interfaces.TNamed
getName, getTitle
 
Methods inherited from interface hep.io.root.interfaces.TObject
getBits, getUniqueID
 
Methods inherited from interface hep.io.root.RootObject
getRootClass
 

Field Detail

rootIOVersion

static final int rootIOVersion
See Also:
Constant Field Values

rootCheckSum

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

getArrayDim

int getArrayDim()

setBranch

void setBranch(TBranch branch)

getIsRange

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


getIsUnsigned

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


getLeafCount

TLeaf getLeafCount()
Pointer to Leaf count if variable length


getLen

int getLen()
Number of fixed length elements


getLenType

int getLenType()
Number of bytes for this data type


getMaxIndex

int[] getMaxIndex()

getOffset

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


getWrappedValue

Object getWrappedValue(long index)
                       throws IOException
Throws:
IOException

generateReadCode

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


Copyright © 2000-2013 FreeHEP. All Rights Reserved.