ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
void grow(const uint32_t &newsize)
DataBuffer(const DataBuffer &aBuf)
void realloc(const uint32_t &newsize)
DataBuffer & operator=(const offline_EventStorage_v5::DataBuffer &aBuf)