CMS 3D CMS Logo

Public Types | Public Member Functions | Public Attributes

SerializeDataBuffer Struct Reference

#include <StreamSerializer.h>

List of all members.

Public Types

typedef std::vector< char > SBuffer

Public Member Functions

uint32_t adler32_chksum () const
unsigned char * bufferPointer () const
unsigned int currentEventSize () const
unsigned int currentSpaceUsed () const
 SerializeDataBuffer ()

Public Attributes

uint32_t adler32_chksum_
SBuffer bufs_
std::vector< unsigned char > comp_buf_
unsigned int curr_event_size_
unsigned int curr_space_used_
SBuffer header_buf_
unsigned char * ptr_
TBufferFile rootbuf_

Detailed Description

Definition at line 22 of file StreamSerializer.h.


Member Typedef Documentation

typedef std::vector<char> SerializeDataBuffer::SBuffer

Definition at line 24 of file StreamSerializer.h.


Constructor & Destructor Documentation

SerializeDataBuffer::SerializeDataBuffer ( ) [inline]

Definition at line 26 of file StreamSerializer.h.

                       :
    comp_buf_(init_size),
    curr_event_size_(),
    curr_space_used_(),
    rootbuf_(TBuffer::kWrite,init_size),
    ptr_((unsigned char*)rootbuf_.Buffer()),
    header_buf_(),
    bufs_(),
    adler32_chksum_(0)
  { }

Member Function Documentation

uint32_t SerializeDataBuffer::adler32_chksum ( ) const [inline]
unsigned char* SerializeDataBuffer::bufferPointer ( ) const [inline]
unsigned int SerializeDataBuffer::currentEventSize ( ) const [inline]

Definition at line 43 of file StreamSerializer.h.

References curr_event_size_.

Referenced by edm::StreamerOutputModuleBase::serializeEvent().

{ return curr_event_size_; }
unsigned int SerializeDataBuffer::currentSpaceUsed ( ) const [inline]

Member Data Documentation

std::vector<unsigned char> SerializeDataBuffer::comp_buf_

Definition at line 46 of file StreamSerializer.h.

Referenced by edm::StreamSerializer::serializeEvent().

Definition at line 51 of file StreamSerializer.h.

Referenced by edm::StreamerOutputModuleBase::serializeRegistry().

unsigned char* SerializeDataBuffer::ptr_