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 const * bufferPointer () const
 
unsigned char *& bufferPointer ()
 
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_
 
edm::propagate_const< unsigned
char * > 
ptr_
 
TBufferFile rootbuf_
 

Detailed Description

Definition at line 24 of file StreamSerializer.h.

Member Typedef Documentation

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

Definition at line 26 of file StreamSerializer.h.

Constructor & Destructor Documentation

SerializeDataBuffer::SerializeDataBuffer ( )
inline

Definition at line 28 of file StreamSerializer.h.

28  :
32  rootbuf_(TBuffer::kWrite,init_size),
33  ptr_((unsigned char*)rootbuf_.Buffer()),
34  header_buf_(),
35  bufs_(),
37  { }
edm::propagate_const< unsigned char * > ptr_
std::vector< unsigned char > comp_buf_
unsigned int curr_event_size_
unsigned int curr_space_used_
const int init_size

Member Function Documentation

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

Definition at line 43 of file StreamSerializer.h.

References edm::get_underlying_safe(), and ptr_.

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

43 { return get_underlying_safe(ptr_); }
edm::propagate_const< unsigned char * > ptr_
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
unsigned char*& SerializeDataBuffer::bufferPointer ( )
inline

Definition at line 44 of file StreamSerializer.h.

References edm::get_underlying_safe(), and ptr_.

44 { return get_underlying_safe(ptr_); }
edm::propagate_const< unsigned char * > ptr_
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
unsigned int SerializeDataBuffer::currentEventSize ( ) const
inline

Definition at line 46 of file StreamSerializer.h.

References curr_event_size_.

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

46 { 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 49 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_
edm::propagate_const<unsigned char*> SerializeDataBuffer::ptr_
TBufferFile SerializeDataBuffer::rootbuf_