#include <senf/Packets/PacketVector.hh>

Inheritance diagram for senf::PacketVector:

Public Types

typedef boost::uint8_t value_type
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef value_typeiterator
 
typedef value_type const * const_iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
size_type size () const
 
void clear ()
 
bool external () const
 
void releaseExternal ()
 
void erase (iterator pos)
 
void erase (iterator first, iterator last)
 
void truncateFront (iterator pos)
 
void truncateBack (iterator pos)
 
void insert (iterator pos, value_type v)
 
void insert (iterator pos, size_type n, value_type v)
 
template<class ForwardIterator >
void insert (iterator pos, ForwardIterator f, ForwardIterator l)
 

Static Public Attributes

static size_type const ChunkSize = 1u << SENF_PACKET_VECTOR_SIZE_INDEX
 
static size_type const ChunkSizeIndex = SENF_PACKET_VECTOR_SIZE_INDEX
 
static size_type const HeadRoom = SENF_PACKET_VECTOR_HEADROOM
 
static size_type const TailRoom = SENF_PACKET_VECTOR_TAILROOM
 

Structors and default members

 PacketVector ()
 
 PacketVector (size_type requestSize, value_type initValue)
 
template<class ForwardIterator >
 PacketVector (ForwardIterator f, ForwardIterator l)
 
 PacketVector (value_type *data, size_type size, size_type chunkSize=0u, size_type offset=0u)
 
 ~PacketVector ()
 

Detailed Description

Definition at line 36 of file PacketVector.hh.

Member Typedef Documentation

◆ const_iterator

Definition at line 51 of file PacketVector.hh.

◆ difference_type

typedef std::ptrdiff_t senf::PacketVector::difference_type

Definition at line 49 of file PacketVector.hh.

◆ iterator

Definition at line 50 of file PacketVector.hh.

◆ size_type

typedef std::size_t senf::PacketVector::size_type

Definition at line 48 of file PacketVector.hh.

◆ value_type

typedef boost::uint8_t senf::PacketVector::value_type

Definition at line 47 of file PacketVector.hh.

Constructor & Destructor Documentation

◆ PacketVector() [1/4]

senf::PacketVector::PacketVector ( )

◆ PacketVector() [2/4]

senf::PacketVector::PacketVector ( size_type  requestSize,
value_type  initValue 
)

◆ PacketVector() [3/4]

template<class ForwardIterator >
senf::PacketVector::PacketVector ( ForwardIterator  f,
ForwardIterator  l 
)

◆ PacketVector() [4/4]

senf::PacketVector::PacketVector ( value_type data,
size_type  size,
size_type  chunkSize = 0u,
size_type  offset = 0u 
)

◆ ~PacketVector()

senf::PacketVector::~PacketVector ( )

Member Function Documentation

◆ begin() [1/2]

iterator senf::PacketVector::begin ( )

◆ begin() [2/2]

const_iterator senf::PacketVector::begin ( ) const

◆ clear()

void senf::PacketVector::clear ( )

◆ end() [1/2]

iterator senf::PacketVector::end ( )

◆ end() [2/2]

const_iterator senf::PacketVector::end ( ) const

◆ erase() [1/2]

void senf::PacketVector::erase ( iterator  pos)

◆ erase() [2/2]

void senf::PacketVector::erase ( iterator  first,
iterator  last 
)

◆ external()

bool senf::PacketVector::external ( ) const

◆ insert() [1/3]

void senf::PacketVector::insert ( iterator  pos,
value_type  v 
)

◆ insert() [2/3]

void senf::PacketVector::insert ( iterator  pos,
size_type  n,
value_type  v 
)

◆ insert() [3/3]

template<class ForwardIterator >
void senf::PacketVector::insert ( iterator  pos,
ForwardIterator  f,
ForwardIterator  l 
)

◆ releaseExternal()

void senf::PacketVector::releaseExternal ( )

◆ size()

size_type senf::PacketVector::size ( ) const

◆ truncateBack()

void senf::PacketVector::truncateBack ( iterator  pos)

◆ truncateFront()

void senf::PacketVector::truncateFront ( iterator  pos)

Member Data Documentation

◆ ChunkSize

size_type const senf::PacketVector::ChunkSize = 1u << SENF_PACKET_VECTOR_SIZE_INDEX
static

Definition at line 53 of file PacketVector.hh.

◆ ChunkSizeIndex

size_type const senf::PacketVector::ChunkSizeIndex = SENF_PACKET_VECTOR_SIZE_INDEX
static

Definition at line 54 of file PacketVector.hh.

◆ HeadRoom

size_type const senf::PacketVector::HeadRoom = SENF_PACKET_VECTOR_HEADROOM
static

Definition at line 55 of file PacketVector.hh.

◆ TailRoom

size_type const senf::PacketVector::TailRoom = SENF_PACKET_VECTOR_TAILROOM
static

Definition at line 56 of file PacketVector.hh.


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