Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hammer::Serial::DetachedBuffers Class Reference

#include <HammerSerial.hh>

+ Collaboration diagram for Hammer::Serial::DetachedBuffers:

Public Member Functions

 DetachedBuffers ()=default
 
 DetachedBuffers (const DetachedBuffers &)=delete
 
DetachedBuffersoperator= (const DetachedBuffers &)=delete
 
 DetachedBuffers (DetachedBuffers &&)=default
 
DetachedBuffersoperator= (DetachedBuffers &&)=default
 
 ~DetachedBuffers ()=default
 
void add (flatbuffers::DetachedBuffer &&elem, char kind)
 
size_t size () const
 
void clear ()
 
const flatbuffers::DetachedBuffer & buffer (size_t pos) const
 
char bufferType (size_t pos) const
 

Private Attributes

std::vector
< flatbuffers::DetachedBuffer > 
_data
 
std::vector< char > _types
 

Detailed Description

Definition at line 34 of file HammerSerial.hh.

Constructor & Destructor Documentation

Hammer::Serial::DetachedBuffers::DetachedBuffers ( )
default
Hammer::Serial::DetachedBuffers::DetachedBuffers ( const DetachedBuffers )
delete
Hammer::Serial::DetachedBuffers::DetachedBuffers ( DetachedBuffers &&  )
default
Hammer::Serial::DetachedBuffers::~DetachedBuffers ( )
default

Member Function Documentation

void Hammer::Serial::DetachedBuffers::add ( flatbuffers::DetachedBuffer &&  elem,
char  kind 
)

Definition at line 20 of file HammerSerial.cc.

const flatbuffers::DetachedBuffer & Hammer::Serial::DetachedBuffers::buffer ( size_t  pos) const

Definition at line 34 of file HammerSerial.cc.

char Hammer::Serial::DetachedBuffers::bufferType ( size_t  pos) const

Definition at line 38 of file HammerSerial.cc.

void Hammer::Serial::DetachedBuffers::clear ( )

Definition at line 29 of file HammerSerial.cc.

DetachedBuffers& Hammer::Serial::DetachedBuffers::operator= ( const DetachedBuffers )
delete
DetachedBuffers& Hammer::Serial::DetachedBuffers::operator= ( DetachedBuffers &&  )
default
size_t Hammer::Serial::DetachedBuffers::size ( ) const

Definition at line 25 of file HammerSerial.cc.

Member Data Documentation

std::vector<flatbuffers::DetachedBuffer> Hammer::Serial::DetachedBuffers::_data
private

Definition at line 55 of file HammerSerial.hh.

std::vector<char> Hammer::Serial::DetachedBuffers::_types
private

Definition at line 56 of file HammerSerial.hh.


The documentation for this class was generated from the following files: