| Package | Description | 
|---|---|
| org.jlab.coda.hipo | |
| org.jlab.coda.jevio | 
| Modifier and Type | Field and Description | 
|---|---|
| protected java.util.ArrayList<EvioNode> | Reader. eventNodesStores info of all the (top-level) events in a scanned buffer. | 
| Modifier and Type | Method and Description | 
|---|---|
| EvioNode | Reader. getEventNode(int index)Get an EvioNode representing the specified event from the buffer. | 
| EvioNode | Reader. getNextEventNode()Get an EvioNode representing the next event from the buffer while sequentially reading. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.ArrayList<EvioNode> | Reader. getEventNodes()Get the list of EvioNode objects contained in the buffer being read. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Writer. addEvent(EvioNode node)Add an EvioNode to the internal record. | 
| void | WriterMT. addEvent(EvioNode node)Add an EvioNode to the internal record. | 
| boolean | RecordOutputStream. addEvent(EvioNode node)Adds an event's ByteBuffer into the record. | 
| boolean | RecordOutputStream. addEvent(EvioNode node,
        int extraDataLen)Adds an event's ByteBuffer into the record. | 
| java.nio.ByteBuffer | Reader. removeStructure(EvioNode removeNode)This method removes the data, represented by the given node, from the buffer. | 
| Modifier and Type | Field and Description | 
|---|---|
| (package private) EvioNode | EvioNode. eventNodeNode of event containing this node. | 
| (package private) EvioNode | EvioNode. parentNodeNode containing this node. | 
| Modifier and Type | Field and Description | 
|---|---|
| (package private) java.util.ArrayList<EvioNode> | EvioNode. allNodesList of all nodes in the event including the top-level object
  ordered according to placement in buffer. | 
| (package private) java.util.ArrayList<EvioNode> | EvioNode. childNodesList of child nodes ordered according to placement in buffer. | 
| Modifier and Type | Method and Description | 
|---|---|
| static EvioNode | EvioNode. extractEventNode(java.nio.ByteBuffer buffer,
                EvioNodeSource pool,
                BlockNode blockNode,
                int position,
                int place)This method extracts an EvioNode object representing an
 evio event (top level evio bank) from a given buffer, a
 location in the buffer, and a few other things. | 
| static EvioNode | EvioNode. extractEventNode(java.nio.ByteBuffer buffer,
                EvioNodeSource pool,
                int recPosition,
                int position,
                int place)This method extracts an EvioNode object representing an
 evio event (top level evio bank) from a given buffer, a
 location in the buffer, and a few other things. | 
| static EvioNode | EvioNode. extractNode(EvioNode bankNode,
           int position)This method populates an EvioNode object that will represent an
 evio bank from that same node containing a reference to the
 backing buffer and given a position in that buffer. | 
| EvioNode | EvioNode. getChildAt(int index)Get the child node at the given index (starts at 0). | 
| EvioNode | IEvioCompactReader. getEvent(int eventNumber)Get the EvioNode object associated with a particular event number. | 
| EvioNode | EvioCompactReaderUnsyncV6. getEvent(int eventNumber)Get the EvioNode object associated with a particular event number. | 
| EvioNode | EvioCompactReaderUnsyncV4. getEvent(int eventNumber)Get the EvioNode object associated with a particular event number. | 
| EvioNode | EvioCompactReaderV4. getEvent(int eventNumber)Get the EvioNode object associated with a particular event number. | 
| EvioNode | EvioCompactReaderV6. 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 | EvioNode. getParentNode()Get this node's parent node. | 
| EvioNode | IEvioCompactReader. 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 | EvioCompactReaderUnsyncV6. 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 | EvioCompactReaderUnsyncV4. 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 | EvioCompactReaderV4. 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 | EvioCompactReaderV6. 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 | IEvioCompactReader. 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 | EvioCompactReaderUnsyncV6. 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 | EvioCompactReaderUnsyncV4. 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 | EvioCompactReaderV4. 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 | EvioCompactReaderV6. 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 | EvioCompactReader. 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. | 
| EvioNode | EvioNode. shift(int deltaPos)Shift the positions (pos, dataPos, and recordPos) of this node and its
 children by a fixed amount. | 
| 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> | IEvioCompactReader. 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> | EvioCompactReaderUnsyncV6. 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> | EvioCompactReaderUnsyncV4. 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> | EvioCompactReaderV4. 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> | EvioCompactReaderV6. 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> | IEvioCompactReader. 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> | EvioCompactReaderUnsyncV6. 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> | EvioCompactReaderUnsyncV4. 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> | EvioCompactReaderV4. 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> | EvioCompactReaderV6. 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. | 
| static EvioNode | EvioNode. extractNode(EvioNode bankNode,
           int position)This method populates an EvioNode object that will represent an
 evio bank from that same node containing a reference to the
 backing buffer and given a position in that buffer. | 
| java.nio.ByteBuffer | IEvioCompactReader. getData(EvioNode node)Get the data associated with an evio structure in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV6. getData(EvioNode node)Get the data associated with an evio structure in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV4. 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 | EvioCompactReaderV4. getData(EvioNode node)Get the data associated with an evio structure in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderV6. 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 | IEvioCompactReader. getData(EvioNode node,
       boolean copy)Get the data associated with an evio structure in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV6. getData(EvioNode node,
       boolean copy)Get the data associated with an evio structure in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV4. 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 | EvioCompactReaderV4. getData(EvioNode node,
       boolean copy)Get the data associated with an evio structure in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderV6. 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 | IEvioCompactReader. getStructureBuffer(EvioNode node)Get an evio structure (bank, seg, or tagseg) in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV6. getStructureBuffer(EvioNode node)Get an evio structure (bank, seg, or tagseg) in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV4. 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 | EvioCompactReaderV4. getStructureBuffer(EvioNode node)Get an evio structure (bank, seg, or tagseg) in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderV6. 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 | IEvioCompactReader. getStructureBuffer(EvioNode node,
                  boolean copy)Get an evio structure (bank, seg, or tagseg) in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV6. getStructureBuffer(EvioNode node,
                  boolean copy)Get an evio structure (bank, seg, or tagseg) in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV4. 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 | EvioCompactReaderV4. getStructureBuffer(EvioNode node,
                  boolean copy)Get an evio structure (bank, seg, or tagseg) in ByteBuffer form. | 
| java.nio.ByteBuffer | EvioCompactReaderV6. 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 | IEvioCompactReader. removeStructure(EvioNode removeNode)This method removes the data, represented by the given node, from the buffer. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV6. removeStructure(EvioNode removeNode)This method removes the data, represented by the given node, from the buffer. | 
| java.nio.ByteBuffer | EvioCompactReaderUnsyncV4. 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 | EvioCompactReaderV4. removeStructure(EvioNode removeNode)This method removes the data, represented by the given node, from the buffer. | 
| java.nio.ByteBuffer | EvioCompactReaderV6. 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) static void | EvioNode. scanStructure(EvioNode node)This method recursively stores, in the given list, all the information
 about an evio structure's children found in the given ByteBuffer object. | 
| (package private) static void | EvioNode. scanStructure(EvioNode node,
             EvioNodeSource nodeSource)This method recursively stores, in the given list, all the information
 about an evio structure's children found in the given ByteBuffer object. | 
| void | EventWriterUnsync. setFirstEvent(EvioNode node)Set an event which will be written to the file as
 well as to all split files. | 
| void | EventWriter. setFirstEvent(EvioNode node)Set an event which will be written to the file 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. | 
| boolean | EventWriterUnsync. writeEvent(EvioNode node,
          boolean force)Write an event (bank) into a record in evio/hipo version 6 format. | 
| boolean | EventWriter. writeEvent(EvioNode node,
          boolean force)Write an event (bank) into a record in evio/hipo version 6 format. | 
| boolean | EventWriterUnsync. writeEvent(EvioNode node,
          boolean force,
          boolean duplicate)Write an event (bank) into a record in evio/hipo version 6 format. | 
| boolean | EventWriter. writeEvent(EvioNode node,
          boolean force,
          boolean duplicate)Write an event (bank) into a record in evio/hipo version 6 format. | 
| boolean | EventWriterUnsync. writeEventToFile(EvioNode node,
                boolean force,
                boolean duplicate)Write an event (bank) into a record and eventually to a file in evio/hipo
 version 6 format. | 
| boolean | EventWriter. writeEventToFile(EvioNode node,
                boolean force,
                boolean duplicate)Write an event (bank) into a record and eventually to a file in evio/hipo
 version 6 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. | 
| (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. |