Package | Description |
---|---|
org.jlab.coda.jevio |
Modifier and Type | Class and Description |
---|---|
class |
EvioBank
This holds a CODA Bank structure.
|
class |
EvioEvent
An event is really just the outer, primary bank.
|
class |
EvioSegment
This holds a CODA Segment structure.
|
class |
EvioTagSegment
This holds a CODA TagSegment structure.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<BaseStructure> |
BaseStructure.children
Holds the children of this structure.
|
Modifier and Type | Method and Description |
---|---|
BaseStructure |
BaseStructure.getParent()
Get the parent of this structure.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<BaseStructure> |
BaseStructure.getChildren()
Deprecated.
child structures are no longer keep in a Vector
|
java.util.List<BaseStructure> |
BaseStructure.getChildrenList()
Get the children of this structure.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingBanks(BaseStructure structure,
int tag,
int number)
Collect all the banks in an event that match a provided tag and number in their header.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingChild(BaseStructure structure,
java.lang.String childName,
INameProvider dictionary)
Collect all structures in an event who has a child with the given dictionary name.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingNonBanks(BaseStructure structure,
int tag)
Collect all the non-banks (i.e., Segments and TagSegments) in an event that match
a provided tag in their header.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingParent(BaseStructure structure,
java.lang.String parentName,
INameProvider dictionary)
Collect all structures in an event whose parent has the given dictionary name.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingStructures(BaseStructure structure,
IEvioFilter filter)
Collect all the structures in an event that pass a filter.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingStructures(BaseStructure structure,
int tag)
Collect all the structures in an event that match a provided tag in their header.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingStructures(BaseStructure structure,
java.lang.String name,
INameProvider dictionary)
Collect all structures in an event that match the given dictionary name.
|
java.util.List<BaseStructure> |
BaseStructure.getMatchingStructures(IEvioFilter filter)
Visit all the descendant structures, and collect those that pass a filter.
|
Modifier and Type | Method and Description |
---|---|
void |
EventBuilder.addChild(BaseStructure parent,
BaseStructure child)
Add a child to a parent structure.
|
void |
EventBuilder.appendByteData(BaseStructure structure,
byte[] data)
Appends byte data to the structure.
|
void |
EventBuilder.appendDoubleData(BaseStructure structure,
double[] data)
Appends double data to the structure.
|
void |
EventBuilder.appendFloatData(BaseStructure structure,
float[] data)
Appends float data to the structure.
|
void |
EventBuilder.appendIntData(BaseStructure structure,
int[] data)
Appends int data to the structure.
|
void |
EventBuilder.appendLongData(BaseStructure structure,
long[] data)
Appends long data to the structure.
|
void |
EventBuilder.appendShortData(BaseStructure structure,
short[] data)
Appends short data to the structure.
|
void |
EventBuilder.appendStringData(BaseStructure structure,
java.lang.String data)
Appends string data to the structure.
|
void |
EventBuilder.clearData(BaseStructure structure)
This clears all the data fields in a structure, but not the parent or the children.
|
void |
IEvioListener.endEventParse(BaseStructure structure)
Done parsing a new event structure.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingBanks(BaseStructure structure,
int tag,
int number)
Collect all the banks in an event that match a provided tag and number in their header.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingChild(BaseStructure structure,
java.lang.String childName,
INameProvider dictionary)
Collect all structures in an event who has a child with the given dictionary name.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingNonBanks(BaseStructure structure,
int tag)
Collect all the non-banks (i.e., Segments and TagSegments) in an event that match
a provided tag in their header.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingParent(BaseStructure structure,
java.lang.String parentName,
INameProvider dictionary)
Collect all structures in an event whose parent has the given dictionary name.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingStructures(BaseStructure structure,
IEvioFilter filter)
Collect all the structures in an event that pass a filter.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingStructures(BaseStructure structure,
int tag)
Collect all the structures in an event that match a provided tag in their header.
|
static java.util.List<BaseStructure> |
StructureFinder.getMatchingStructures(BaseStructure structure,
java.lang.String name,
INameProvider dictionary)
Collect all structures in an event that match the given dictionary name.
|
java.lang.String |
EvioXMLDictionary.getName(BaseStructure structure)
Returns the name of a given evio structure.
|
java.lang.String |
INameProvider.getName(BaseStructure structure)
Returns the pretty name of some evio structure.
|
static java.lang.String |
NameProvider.getName(BaseStructure structure)
Returns the pretty name of some evio structure.
|
void |
IEvioListener.gotStructure(BaseStructure topStructure,
IEvioStructure structure)
Called after a structure is read in while parsing or searching an event
and any filter has accepted it.
|
void |
EvioEvent.insert(BaseStructure child,
BaseStructure parent)
Inserts a child structure into the event's JTree.
|
void |
EventBuilder.remove(BaseStructure child)
This removes a structure (and all its descendants) from the tree.
|
void |
EventBuilder.setByteData(BaseStructure structure,
byte[] data)
Set byte data to the structure.
|
void |
EventBuilder.setDoubleData(BaseStructure structure,
double[] data)
Set double data to the structure.
|
void |
EventBuilder.setFloatData(BaseStructure structure,
float[] data)
Set float data to the structure.
|
void |
EventBuilder.setIntData(BaseStructure structure,
int[] data)
Set int data to the structure.
|
void |
EventBuilder.setLongData(BaseStructure structure,
long[] data)
Set long data to the structure.
|
void |
EventBuilder.setShortData(BaseStructure structure,
short[] data)
Set short data to the structure.
|
void |
EventBuilder.setStringData(BaseStructure structure,
java.lang.String[] data)
Set string data to the structure.
|
void |
IEvioListener.startEventParse(BaseStructure structure)
Starting to parse a new event structure.
|
(package private) void |
CompositeData.toXML(javax.xml.stream.XMLStreamWriter xmlWriter,
BaseStructure bs,
boolean hex)
This method writes an xml string representation of this CompositeData object
into the xmlWriter given.
|
void |
BaseStructure.transform(BaseStructure structure)
This method does a partial copy and is designed to help convert
between banks, segments,and tagsegments in the
StructureTransformer
class (hence the name "transform"). |