Modifier and Type | Method and Description |
---|---|
EvioNode |
EvioNode.getChildAt(int index)
Get the child node at the given index (starts at 0).
|
EvioNode |
EvioCompactReaderUnsync.getEvent(int eventNumber)
Get the EvioNode object associated with a particular event number.
|
EvioNode |
EvioCompactReader.getEvent(int eventNumber)
Get the EvioNode object associated with a particular event number.
|
EvioNode |
EvioNodePool.getNode()
Get a single EvioNode object.
|
EvioNode |
EvioNodeSource.getNode()
Get a single EvioNode object.
|
EvioNode |
EvioCompactReaderUnsync.getScannedEvent(int eventNumber)
Get the EvioNode object associated with a particular event number
which has been scanned so all substructures are contained in the
node.allNodes list.
|
EvioNode |
EvioCompactReader.getScannedEvent(int eventNumber)
Get the EvioNode object associated with a particular event number
which has been scanned so all substructures are contained in the
node.allNodes list.
|
EvioNode |
EvioCompactReaderUnsync.getScannedEvent(int eventNumber,
EvioNodeSource nodeSource)
Get the EvioNode object associated with a particular event number
which has been scanned so all substructures are contained in the
node.allNodes list.
|
EvioNode |
EvioCompactStructureHandler.getScannedStructure()
Get the EvioNode object associated with a particular event number
which has been scanned so all substructures are contained in the
node.allNodes list.
|
EvioNode |
EvioCompactStructureHandler.getStructure()
Get the EvioNode object associated with the structure.
|
EvioNode |
CompactEventBuilder.openBank(int tag,
int num,
DataType dataType)
This method adds an evio bank to the buffer.
|
EvioNode |
CompactEventBuilder.openSegment(int tag,
DataType dataType)
This method adds an evio segment structure to the buffer.
|
EvioNode |
CompactEventBuilder.openTagSegment(int tag,
DataType dataType)
This method adds an evio tagsegment structure to the buffer.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<EvioNode> |
EvioNode.getAllNodes()
Get the list of all nodes that this node contains,
always including itself.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.getChildNodes()
This method returns an unmodifiable list of all
evio structures in buffer as EvioNode objects.
|
java.util.ArrayList<EvioNode> |
EvioNode.getChildNodes()
Get the list of all child nodes that this node contains.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.getNodes()
This method returns an unmodifiable list of all
evio structures in buffer as EvioNode objects.
|
java.util.List<EvioNode> |
EvioCompactReaderUnsync.searchEvent(int eventNumber,
int tag,
int num)
This method searches the specified event in a file/buffer and
returns a list of objects each of which contain information
about a single evio structure which matches the given tag and num.
|
java.util.List<EvioNode> |
EvioCompactReader.searchEvent(int eventNumber,
int tag,
int num)
This method searches the specified event in a file/buffer and
returns a list of objects each of which contain information
about a single evio structure which matches the given tag and num.
|
java.util.List<EvioNode> |
EvioCompactReaderUnsync.searchEvent(int eventNumber,
java.lang.String dictName,
EvioXMLDictionary dictionary)
This method searches the specified event in a file/buffer and
returns a list of objects each of which contain information
about a single evio structure which matches the given dictionary
entry name.
|
java.util.List<EvioNode> |
EvioCompactReader.searchEvent(int eventNumber,
java.lang.String dictName,
EvioXMLDictionary dictionary)
This method searches the specified event in a file/buffer and
returns a list of objects each of which contain information
about a single evio structure which matches the given dictionary
entry name.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.searchStructure(int tag,
int num)
This method searches the event and
returns a list of objects each of which contain information
about a single evio structure which matches the given tag and num.
|
java.util.List<EvioNode> |
EvioCompactStructureHandler.searchStructure(java.lang.String dictName,
EvioXMLDictionary dictionary)
This method searches the event and
returns a list of objects each of which contain information
about a single evio structure which matches the given dictionary
entry name.
|
Modifier and Type | Method and Description |
---|---|
void |
CompactEventBuilder.addEvioNode(EvioNode node)
Adds the evio structure represented by the EvioNode object
into the buffer.
|
java.nio.ByteBuffer |
EvioCompactReaderUnsync.getData(EvioNode node)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.getData(EvioNode node)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getData(EvioNode node)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReaderUnsync.getData(EvioNode node,
boolean copy)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.getData(EvioNode node,
boolean copy)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getData(EvioNode node,
boolean copy)
Get the data associated with an evio structure in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReaderUnsync.getStructureBuffer(EvioNode node)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.getStructureBuffer(EvioNode node)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getStructureBuffer(EvioNode node)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReaderUnsync.getStructureBuffer(EvioNode node,
boolean copy)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.getStructureBuffer(EvioNode node,
boolean copy)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
java.nio.ByteBuffer |
EvioCompactReader.getStructureBuffer(EvioNode node,
boolean copy)
Get an evio structure (bank, seg, or tagseg) in ByteBuffer form.
|
static EvioEvent |
Utilities.nodeToEvent(EvioNode node)
This method takes an EvioNode object and converts it to an EvioEvent object.
|
java.nio.ByteBuffer |
EvioCompactReaderUnsync.removeStructure(EvioNode removeNode)
This method removes the data, represented by the given node, from the buffer.
|
java.nio.ByteBuffer |
EvioCompactStructureHandler.removeStructure(EvioNode removeNode)
This method removes the data, represented by the given node, from the buffer.
|
java.nio.ByteBuffer |
EvioCompactReader.removeStructure(EvioNode removeNode)
This method removes the data, represented by the given node, from the buffer.
|
void |
EventWriterUnsync.setFirstEvent(EvioNode node)
Set an event which will be written to the file/buffer as
well as to all split files.
|
void |
EventWriter.setFirstEvent(EvioNode node)
Set an event which will be written to the file/buffer as
well as to all split files.
|
static java.lang.String |
Utilities.toXML(EvioNode node,
boolean hex)
This method takes an EvioNode object and converts it to a readable, XML String.
|
void |
EventWriterUnsync.writeEvent(EvioNode node,
boolean force)
Write an event (bank) to the buffer in evio version 4 format.
|
void |
EventWriter.writeEvent(EvioNode node,
boolean force)
Write an event (bank) to the buffer in evio version 4 format.
|
void |
EventWriterUnsync.writeEvent(EvioNode node,
boolean force,
boolean duplicate)
Write an event (bank) to the buffer in evio version 4 format.
|
void |
EventWriter.writeEvent(EvioNode node,
boolean force,
boolean duplicate)
Write an event (bank) to the buffer in evio version 4 format.
|
boolean |
EventWriterUnsync.writeEventToFile(EvioNode node,
boolean force,
boolean duplicate)
Write an event (bank) into a record and eventually to a file in evio
version 4 format.
|
boolean |
EventWriter.writeEventToFile(EvioNode node,
boolean force,
boolean duplicate)
Write an event (bank) into a record and eventually to a file in evio
version 4 format.
|
Modifier and Type | Method and Description |
---|---|
void |
EvioNode.getAllDescendants(java.util.List<EvioNode> descendants)
Get the list of all descendant nodes that this node contains -
not only the immediate children.
|
static void |
ByteDataTransformer.swapEvent(java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos,
boolean swapData,
java.util.List<EvioNode> nodeList)
This method swaps the byte order of an entire evio event or bank.
|
static void |
ByteDataTransformer.swapEvent(java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos,
java.util.List<EvioNode> nodeList)
This method swaps the byte order of an entire evio event or bank.
|
Constructor and Description |
---|
EvioCompactStructureHandler(EvioNode node)
Constructor for reading an EvioNode object.
|