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 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.

26  :
30  rootbuf_(TBuffer::kWrite,init_size),
31  ptr_((unsigned char*)rootbuf_.Buffer()),
32  header_buf_(),
33  bufs_(),
35  { }
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 41 of file StreamSerializer.h.

References ptr_.

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

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

Definition at line 43 of file StreamSerializer.h.

References curr_event_size_.

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

43 { 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 46 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 51 of file StreamSerializer.h.

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

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