|
static factory_t | factory () |
|
static ptr | create () |
|
static ptr | create (senf::NoInit_t) |
|
static ptr | create (size_type size) |
|
static ptr | create (size_type size, senf::NoInit_t) |
|
template<class ForwardReadableRange > |
static ptr | create (ForwardReadableRange const &range) |
|
static ptr | create (byte *data, size_type size, size_type chunkSize=0u, size_type offset=0u) |
|
static ptr | createAfter (PacketInterpreterBase::ptr const &packet) |
|
static ptr | createAfter (PacketInterpreterBase::ptr const &packet, senf::NoInit_t) |
|
static ptr | createAfter (PacketInterpreterBase::ptr const &packet, size_type size) |
|
static ptr | createAfter (PacketInterpreterBase::ptr const &packet, size_type size, senf::NoInit_t) |
|
template<class ForwardReadableRange > |
static ptr | createAfter (PacketInterpreterBase::ptr const &packet, ForwardReadableRange const &range) |
|
static ptr | createBefore (PacketInterpreterBase::ptr const &spacket) |
|
static ptr | createBeforeNoZero (PacketInterpreterBase::ptr const &spacket) |
|
static ptr | createBefore (PacketInterpreterBase::ptr const &packet, senf::NoInit_t, size_type space=0, size_type tailSpace=0) |
|
static ptr | createInsertBefore (PacketInterpreterBase::ptr const &packet) |
|
static ptr | createInsertBefore (PacketInterpreterBase::ptr const &packet, senf::NoInit_t) |
|
ptr | clone () |
|
|
typedef senf::detail::packet::iterator | iterator |
|
typedef senf::detail::packet::const_iterator | const_iterator |
|
typedef senf::detail::packet::size_type | size_type |
|
typedef senf::detail::packet::difference_type | difference_type |
|
typedef senf::detail::packet::byte | byte |
|
typedef byte | value_type |
|
typedef byte & | reference |
|
typedef byte const & | const_reference |
|
typedef byte * | pointer |
|
typedef byte const * | const_pointer |
|
typedef unsigned | refcount_t |
|
| PacketInterpreterBase (detail::PacketImpl *impl, iterator b, iterator e, Append_t) |
|
| PacketInterpreterBase (detail::PacketImpl *impl, iterator b, iterator e, Prepend_t) |
|
| PacketInterpreterBase (detail::PacketImpl *impl, iterator b, iterator e, ptr before) |
|
ptr | appendClone (detail::PacketImpl *impl, iterator base, iterator new_base) |
|
ptr | appendClone (detail::PacketImpl *impl, range r) |
|
PacketInterpreterBase * | nextP () |
|
PacketInterpreterBase * | prevP () |
|
| PacketData (size_type b, size_type e) |
|
detail::PacketImpl & | impl () const |
|
bool | valid () |
|
iterator | begin () const |
| Return iterator to beginning. More...
|
|
iterator | end () const |
| Return iterator to end. More...
|
|
size_type | size () const |
| Returns the number of bytes in the packet data. More...
|
|
bool | empty () const |
| Test whether the packet data is empty. More...
|
|
byte | operator[] (size_type n) const |
| Access byte in the packet data. More...
|
|
byte & | operator[] (size_type n) |
| Access byte in the packet data. More...
|
|
void | insert (iterator pos, byte v) |
|
void | insert (iterator pos, size_type n, byte v) |
|
template<class InputIterator > |
void | insert (iterator pos, InputIterator f, InputIterator l) |
|
void | erase (iterator pos) |
|
void | erase (iterator first, iterator last) |
|
void | clear () |
| All bytes of the packet data dropped, leaving the container with a size of 0. */. More...
|
|
void | zero (iterator first, iterator last) |
|
void | resize (size_type n, byte v=0) |
|
bool | usingExternalMemory () const |
| Check for external memory usage. More...
|
|
void | releaseExternalMemory () |
| Release external memory. More...
|
|
| intrusive_refcount_t () |
|
| intrusive_refcount_base () |
|
void | add_ref () |
|
bool | release () |
|
virtual | ~intrusive_refcount_base () |
|
refcount_t | refcount () const |
|
bool | is_shared () const |
|
detail::PacketImpl * | impl_ |
| Need to make this protected so we can change it in the derived class. More...
|
|
template<class PacketType>
class senf::PacketInterpreter< PacketType >
Internal: Concrete packet interpreter.
Instantiations of this class build the interpreter chain. This class is accessed by the packet handles. It provides the packet-type specific functionality in addition to the interface defined in the PacketInterpreterBase class.
- See also
- PacketTypeBase for the PacketType interface
Definition at line 99 of file PacketImpl.hh.