ATLAS Offline Software
v5_DataBuffer.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef OFFLINE_EVENTSTORAGE_V5_DATABUFFER_H
9 #define OFFLINE_EVENTSTORAGE_V5_DATABUFFER_H
10 
11 #include <string>
12 #include "v5_ESCompression.h"
13 
14 namespace offline_EventStorage_v5 {
15 
16  class DataBuffer: public CompressionBuffer{
17 
18  public:
19  DataBuffer();
20  DataBuffer(const uint32_t& size);
21  virtual ~DataBuffer();
22 
23  void realloc(const uint32_t& newsize);
24 
25  void grow(const uint32_t& newsize);
26 
27  void* handle();
28 
29  uint32_t buffersize() const;
30 
31  private:
32  class implementation;
34 
35  DataBuffer(const DataBuffer& aBuf);
37  };
38 }
39 
40 #endif
v5_ESCompression.h
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
offline_EventStorage_v5::DataBuffer::~DataBuffer
virtual ~DataBuffer()
Definition: v5_DataBuffer.cxx:72
offline_EventStorage_v5::DataBuffer::grow
void grow(const uint32_t &newsize)
Definition: v5_DataBuffer.cxx:78
offline_EventStorage_v5::DataBuffer::handle
void * handle()
Definition: v5_DataBuffer.cxx:81
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
offline_EventStorage_v5::DataBuffer::implementation
Definition: v5_DataBuffer.cxx:10
offline_EventStorage_v5::DataBuffer
Definition: v5_DataBuffer.h:16
offline_EventStorage_v5
Definition: ByteStreamDataWriterV5.h:15
offline_EventStorage_v5::DataBuffer::operator=
DataBuffer & operator=(const offline_EventStorage_v5::DataBuffer &aBuf)
offline_EventStorage_v5::DataBuffer::DataBuffer
DataBuffer()
Definition: v5_DataBuffer.cxx:64
offline_EventStorage_v5::DataBuffer::m_rep
implementation * m_rep
Definition: v5_DataBuffer.h:32
offline_EventStorage_v5::DataBuffer::realloc
void realloc(const uint32_t &newsize)
Definition: v5_DataBuffer.cxx:75
offline_EventStorage_v5::DataBuffer::DataBuffer
DataBuffer(const DataBuffer &aBuf)
offline_EventStorage_v5::DataBuffer::buffersize
uint32_t buffersize() const
Definition: v5_DataBuffer.cxx:84