Modifier and Type | Field and Description |
---|---|
(package private) EvioNode |
EvioNode.eventNode
Node of event containing this node.
|
(package private) EvioNode |
EvioNode.parentNode
Node containing this node.
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayList<EvioNode> |
EvioNode.allNodes
List of all nodes in the event including the top-level object
ordered according to placement in buffer.
|
(package private) java.util.ArrayList<EvioNode> |
EvioNode.childNodes
List of child nodes ordered according to placement in buffer.
|
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 |
---|---|
(package private) void |
EvioNode.addChild(EvioNode node)
Add a child node to the end of the child list and
to the list of all nodes contained in event.
|
void |
CompactEventBuilder.addEvioNode(EvioNode node)
Adds the evio structure represented by the EvioNode object
into the buffer.
|
(package private) void |
EvioNode.copyParentForScan(EvioNode parent)
Copy parameters from a parent node when scanning evio data and
placing into EvioNode obtained from an EvioNodeSource.
|
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.
|
(package private) void |
EvioNode.removeChild(EvioNode node)
Remove a node from this child list and, along with its descendants,
from the list of all nodes contained in event.
|
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.
|
(package private) void |
EvioNode.setData(BufferNode bufferNode,
BlockNode blockNode,
EvioNode eventNode,
java.util.ArrayList<EvioNode> allNodes,
boolean obsolete) |
(package private) void |
EvioNode.setData(BufferNode bufferNode,
BlockNode blockNode,
EvioNode eventNode,
EvioNode parentNode,
java.util.ArrayList<EvioNode> allNodes,
int len,
int tag,
int num,
int pad,
int pos,
int type,
int dataLen,
int dataPos,
int dataType) |
(package private) void |
EvioNode.setData(EvioNode parentNode,
int len,
int tag,
int num,
int pad,
int pos,
int type,
int dataLen,
int dataPos,
int dataType) |
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.
|
(package private) static void |
ByteDataTransformer.swapBankHeader(EvioNode node,
java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos)
This method reads and swaps an evio bank header.
|
(package private) static void |
ByteDataTransformer.swapSegmentHeader(EvioNode node,
java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos)
This method reads and swaps an evio segment header.
|
(package private) static void |
ByteDataTransformer.swapStructure(EvioNode node,
java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos,
boolean inPlace,
boolean swapData,
java.util.List<EvioNode> nodeList)
Swap an evio structure.
|
(package private) static void |
ByteDataTransformer.swapTagSegmentHeader(EvioNode node,
java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos)
This method reads and swaps an evio tagsegment header.
|
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.
|
(package private) void |
EvioNode.setData(BufferNode bufferNode,
BlockNode blockNode,
EvioNode eventNode,
java.util.ArrayList<EvioNode> allNodes,
boolean obsolete) |
(package private) void |
EvioNode.setData(BufferNode bufferNode,
BlockNode blockNode,
EvioNode eventNode,
EvioNode parentNode,
java.util.ArrayList<EvioNode> allNodes,
int len,
int tag,
int num,
int pad,
int pos,
int type,
int dataLen,
int dataPos,
int dataType) |
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.
|
(package private) static void |
ByteDataTransformer.swapStructure(EvioNode node,
java.nio.ByteBuffer srcBuffer,
java.nio.ByteBuffer destBuffer,
int srcPos,
int destPos,
boolean inPlace,
boolean swapData,
java.util.List<EvioNode> nodeList)
Swap an evio structure.
|
Constructor and Description |
---|
EvioCompactStructureHandler(EvioNode node)
Constructor for reading an EvioNode object.
|
EvioNode(EvioNode firstNode)
Constructor used when swapping data.
|