#include <senf/Packets/PacketVector.hh>
Public Types | |
typedef boost::uint8_t | value_type |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef value_type * | iterator |
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 () | |
Definition at line 36 of file PacketVector.hh.
typedef value_type const* senf::PacketVector::const_iterator |
Definition at line 51 of file PacketVector.hh.
typedef std::ptrdiff_t senf::PacketVector::difference_type |
Definition at line 49 of file PacketVector.hh.
typedef value_type* senf::PacketVector::iterator |
Definition at line 50 of file PacketVector.hh.
typedef std::size_t senf::PacketVector::size_type |
Definition at line 48 of file PacketVector.hh.
typedef boost::uint8_t senf::PacketVector::value_type |
Definition at line 47 of file PacketVector.hh.
senf::PacketVector::PacketVector | ( | ) |
senf::PacketVector::PacketVector | ( | size_type | requestSize, |
value_type | initValue | ||
) |
senf::PacketVector::PacketVector | ( | ForwardIterator | f, |
ForwardIterator | l | ||
) |
senf::PacketVector::PacketVector | ( | value_type * | data, |
size_type | size, | ||
size_type | chunkSize = 0u , |
||
size_type | offset = 0u |
||
) |
senf::PacketVector::~PacketVector | ( | ) |
iterator senf::PacketVector::begin | ( | ) |
const_iterator senf::PacketVector::begin | ( | ) | const |
void senf::PacketVector::clear | ( | ) |
iterator senf::PacketVector::end | ( | ) |
const_iterator senf::PacketVector::end | ( | ) | const |
void senf::PacketVector::erase | ( | iterator | pos | ) |
bool senf::PacketVector::external | ( | ) | const |
void senf::PacketVector::insert | ( | iterator | pos, |
value_type | v | ||
) |
void senf::PacketVector::insert | ( | iterator | pos, |
size_type | n, | ||
value_type | v | ||
) |
void senf::PacketVector::insert | ( | iterator | pos, |
ForwardIterator | f, | ||
ForwardIterator | l | ||
) |
void senf::PacketVector::releaseExternal | ( | ) |
size_type senf::PacketVector::size | ( | ) | const |
void senf::PacketVector::truncateBack | ( | iterator | pos | ) |
void senf::PacketVector::truncateFront | ( | iterator | pos | ) |
|
static |
Definition at line 53 of file PacketVector.hh.
|
static |
Definition at line 54 of file PacketVector.hh.
|
static |
Definition at line 55 of file PacketVector.hh.
|
static |
Definition at line 56 of file PacketVector.hh.