evio::evioUtilities Class Reference

General utilities. More...

#include <evioUtil.hxx>

List of all members.

Static Public Member Functions

static uint32_t * appendToBuffer (const uint32_t *buffer, ContainerType bufferType, const uint32_t *structure, ContainerType structureType) throw (evioException)
 Appends structure to buffer in newly allocated memory.

Detailed Description

General utilities.


Member Function Documentation

uint32_t * evioUtilities::appendToBuffer ( const uint32_t *  buffer,
ContainerType  bufferType,
const uint32_t *  structure,
ContainerType  structureType 
) throw (evioException) [static]

Appends structure to buffer in newly allocated memory.

Throws exception if buffer content type and structure container type don't match. I.e. cannot add a segment structure to a bank of banks.

Parameters:
buffer Buffer
bufferType Container type of buffer (BANK, SEGMENT or TAGSEGMENT)
structure Structure to append to buffer
structureType Container type of structure
Returns:
Pointer to new buffer

References evio::BANK, and evio::SEGMENT.


The documentation for this class was generated from the following files:

Generated on 4 Feb 2014 for evio by  doxygen 1.6.1