|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.io.hbook.HbookObject hep.io.hbook.CompositeHbookObject
An HbookObject which can have children. This class can represent either a directory in a hbook file, in which case the children will be the directory entries, or a tuple, in which case the children will be tuple columns.
Method Summary | |
HbookObject |
getChild(int index)
Get child by index |
HbookObject |
getChild(String name)
Get an object by name. |
Enumeration |
getChildren()
Get an enumeration of the children. |
int |
getIndex(String name)
Get the index of a named object. |
int |
nChildren()
Get the number of children |
String |
toString()
|
Methods inherited from class hep.io.hbook.HbookObject |
getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public final HbookObject getChild(int index)
index
- The index of the object to retreive (0 to n-1)public final HbookObject getChild(String name)
public Enumeration getChildren()
public String toString()
public final int nChildren()
public final int getIndex(String name)
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |