CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
BufferHolder.cxx
Go to the documentation of this file.
1#include "RawDataCnv/Util/BufferHolder.h"
2
4 m_nbuf = 0;
5 m_buffer.clear();
6 m_bufSize.clear();
7}
8
9uint32_t* BufferHolder::operator()(int ibuf) const {
10 return m_buffer[ibuf];
11}
12
13void BufferHolder::addBuffer(uint32_t* buffer, uint32_t size) {
14 m_nbuf++;
15 m_buffer.push_back(buffer);
16 m_bufSize.push_back(size);
17}
18
void addBuffer(uint32_t *buffer, uint32_t size)
uint32_t * operator()(int ibuf) const
Definition: BufferHolder.cxx:9