test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
SerializeDataBuffer Struct Reference

#include <StreamSerializer.h>

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 23 of file StreamSerializer.h.

Member Typedef Documentation

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

Definition at line 25 of file StreamSerializer.h.

Constructor & Destructor Documentation

SerializeDataBuffer::SerializeDataBuffer ( )
inline

Definition at line 27 of file StreamSerializer.h.

27  :
31  rootbuf_(TBuffer::kWrite,init_size),
32  ptr_((unsigned char*)rootbuf_.Buffer()),
33  header_buf_(),
34  bufs_(),
36  { }
std::vector< unsigned char > comp_buf_
unsigned int curr_event_size_
unsigned int curr_space_used_
const int init_size
unsigned char * ptr_

Member Function Documentation

uint32_t SerializeDataBuffer::adler32_chksum ( ) const
inline
unsigned char* SerializeDataBuffer::bufferPointer ( ) const
inline

Definition at line 42 of file StreamSerializer.h.

References ptr_.

Referenced by edm::StreamerOutputModuleBase::serializeEvent(), and edm::StreamerOutputModuleBase::serializeRegistry().

42 { return ptr_; }
unsigned char * ptr_
unsigned int SerializeDataBuffer::currentEventSize ( ) const
inline

Definition at line 44 of file StreamSerializer.h.

References curr_event_size_.

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

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

Member Data Documentation

uint32_t SerializeDataBuffer::adler32_chksum_
SBuffer SerializeDataBuffer::bufs_
std::vector<unsigned char> SerializeDataBuffer::comp_buf_

Definition at line 47 of file StreamSerializer.h.

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

unsigned int SerializeDataBuffer::curr_event_size_
unsigned int SerializeDataBuffer::curr_space_used_
SBuffer SerializeDataBuffer::header_buf_

Definition at line 52 of file StreamSerializer.h.

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

unsigned char* SerializeDataBuffer::ptr_
TBufferFile SerializeDataBuffer::rootbuf_