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::IOBuffers Class Reference

#include <IOTypes.hh>

+ Collaboration diagram for Hammer::IOBuffers:

Public Types

using iterator = std::vector< IOBuffer >::iterator
 
using const_iterator = std::vector< IOBuffer >::const_iterator
 
using reverse_iterator = std::vector< IOBuffer >::reverse_iterator
 
using const_reverse_iterator = std::vector< IOBuffer >::const_reverse_iterator
 

Public Member Functions

 IOBuffers ()
 
 IOBuffers (std::unique_ptr< Serial::DetachedBuffers > &&data)
 
 IOBuffers (const IOBuffers &)=delete
 
IOBuffersoperator= (const IOBuffers &)=delete
 
 IOBuffers (IOBuffers &&)
 
IOBuffersoperator= (IOBuffers &&)
 
 ~IOBuffers ()
 
IOBufferat (size_t pos)
 
const IOBufferat (size_t pos) const
 
IOBufferoperator[] (size_t pos)
 
const IOBufferoperator[] (size_t pos) const
 
IOBufferfront ()
 
const IOBufferfront () const
 
IOBufferback ()
 
const IOBufferback () const
 
size_t size () const
 
bool empty () const
 
iterator begin () noexcept
 
const_iterator begin () const noexcept
 
const_iterator cbegin () const noexcept
 
iterator end () noexcept
 
const_iterator end () const noexcept
 
const_iterator cend () const noexcept
 
reverse_iterator rbegin () noexcept
 
const_reverse_iterator rbegin () const noexcept
 
const_reverse_iterator crbegin () const noexcept
 
reverse_iterator rend () noexcept
 
const_reverse_iterator rend () const noexcept
 
const_reverse_iterator crend () const noexcept
 
void clear ()
 

Private Member Functions

void init ()
 

Private Attributes

std::vector< IOBuffer_buffers
 
std::unique_ptr
< Serial::DetachedBuffers
_pOwner
 

Detailed Description

Definition at line 47 of file IOTypes.hh.

Member Typedef Documentation

Definition at line 61 of file IOTypes.hh.

Definition at line 63 of file IOTypes.hh.

Definition at line 60 of file IOTypes.hh.

Definition at line 62 of file IOTypes.hh.

Constructor & Destructor Documentation

Hammer::IOBuffers::IOBuffers ( )

Definition at line 68 of file IOTypes.cc.

Hammer::IOBuffers::IOBuffers ( std::unique_ptr< Serial::DetachedBuffers > &&  data)
explicit

Definition at line 72 of file IOTypes.cc.

Hammer::IOBuffers::IOBuffers ( const IOBuffers )
delete
Hammer::IOBuffers::IOBuffers ( IOBuffers &&  other)

Definition at line 76 of file IOTypes.cc.

Hammer::IOBuffers::~IOBuffers ( )

Definition at line 86 of file IOTypes.cc.

Member Function Documentation

IOBuffer & Hammer::IOBuffers::at ( size_t  pos)

Definition at line 90 of file IOTypes.cc.

const IOBuffer & Hammer::IOBuffers::at ( size_t  pos) const

Definition at line 94 of file IOTypes.cc.

IOBuffer & Hammer::IOBuffers::back ( )

Definition at line 114 of file IOTypes.cc.

const IOBuffer & Hammer::IOBuffers::back ( ) const

Definition at line 118 of file IOTypes.cc.

IOBuffers::iterator Hammer::IOBuffers::begin ( )
noexcept

Definition at line 130 of file IOTypes.cc.

IOBuffers::const_iterator Hammer::IOBuffers::begin ( ) const
noexcept

Definition at line 134 of file IOTypes.cc.

IOBuffers::const_iterator Hammer::IOBuffers::cbegin ( ) const
noexcept

Definition at line 138 of file IOTypes.cc.

IOBuffers::const_iterator Hammer::IOBuffers::cend ( ) const
noexcept

Definition at line 150 of file IOTypes.cc.

void Hammer::IOBuffers::clear ( )

Definition at line 178 of file IOTypes.cc.

IOBuffers::const_reverse_iterator Hammer::IOBuffers::crbegin ( ) const
noexcept

Definition at line 162 of file IOTypes.cc.

IOBuffers::const_reverse_iterator Hammer::IOBuffers::crend ( ) const
noexcept

Definition at line 174 of file IOTypes.cc.

bool Hammer::IOBuffers::empty ( ) const

Definition at line 126 of file IOTypes.cc.

IOBuffers::iterator Hammer::IOBuffers::end ( )
noexcept

Definition at line 142 of file IOTypes.cc.

IOBuffers::const_iterator Hammer::IOBuffers::end ( ) const
noexcept

Definition at line 146 of file IOTypes.cc.

IOBuffer & Hammer::IOBuffers::front ( )

Definition at line 106 of file IOTypes.cc.

const IOBuffer & Hammer::IOBuffers::front ( ) const

Definition at line 110 of file IOTypes.cc.

void Hammer::IOBuffers::init ( )
private

Definition at line 183 of file IOTypes.cc.

IOBuffers& Hammer::IOBuffers::operator= ( const IOBuffers )
delete
IOBuffers & Hammer::IOBuffers::operator= ( IOBuffers &&  other)

Definition at line 80 of file IOTypes.cc.

IOBuffer & Hammer::IOBuffers::operator[] ( size_t  pos)

Definition at line 98 of file IOTypes.cc.

const IOBuffer & Hammer::IOBuffers::operator[] ( size_t  pos) const

Definition at line 102 of file IOTypes.cc.

IOBuffers::reverse_iterator Hammer::IOBuffers::rbegin ( )
noexcept

Definition at line 154 of file IOTypes.cc.

IOBuffers::const_reverse_iterator Hammer::IOBuffers::rbegin ( ) const
noexcept

Definition at line 158 of file IOTypes.cc.

IOBuffers::reverse_iterator Hammer::IOBuffers::rend ( )
noexcept

Definition at line 166 of file IOTypes.cc.

IOBuffers::const_reverse_iterator Hammer::IOBuffers::rend ( ) const
noexcept

Definition at line 170 of file IOTypes.cc.

size_t Hammer::IOBuffers::size ( ) const

Definition at line 122 of file IOTypes.cc.

Member Data Documentation

std::vector<IOBuffer> Hammer::IOBuffers::_buffers
private

Definition at line 104 of file IOTypes.hh.

std::unique_ptr<Serial::DetachedBuffers> Hammer::IOBuffers::_pOwner
private

Definition at line 105 of file IOTypes.hh.


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