#include <Fragment.hpp>
Public Types | |
typedef Payload | PayloadType |
typedef PayloadTraits< PayloadType > | Traits |
typedef OffsetType | SizeType |
typedef BadFragment< Fragment > | BadFragmentException |
Public Member Functions | |
Fragment (SizeType begin, SizeType end, const PayloadType &payload=PayloadType()) | |
Fragment (::std::pair< SizeType, SizeType > range, const PayloadType &payload=PayloadType()) | |
Fragment (const Fragment &other, SizeType begin, SizeType end) | |
template<class OtherPayload, typename OtherOffsetType> | |
Fragment (const Fragment< OtherPayload, OtherOffsetType > &other, const PayloadType &payload=PayloadType()) | |
SizeType | begin () const |
SizeType | end () const |
SizeType | size () const |
SizeType | length () const |
const PayloadType & | value () const |
Private Attributes | |
::std::pair< SizeType, SizeType > | range_ |
|
Definition at line 35 of file Fragment.hpp. |
|
Definition at line 32 of file Fragment.hpp. |
|
Definition at line 34 of file Fragment.hpp. |
|
Definition at line 33 of file Fragment.hpp. |
|
Definition at line 36 of file Fragment.hpp. References CShareazaApp::Message(), MSG_ERROR, detail::Fragment< Payload, OffsetType >::range_, and theApp. |
|
Definition at line 53 of file Fragment.hpp. References CShareazaApp::Message(), MSG_ERROR, detail::Fragment< Payload, OffsetType >::range_, and theApp. |
|
Definition at line 72 of file Fragment.hpp. References CShareazaApp::Message(), MSG_ERROR, detail::Fragment< Payload, OffsetType >::range_, and theApp. |
|
Definition at line 91 of file Fragment.hpp. |
|
Definition at line 96 of file Fragment.hpp. References detail::Fragment< Payload, OffsetType >::range_. Referenced by detail::Queue::erase(), detail::extractRange(), detail::PayloadTraits< EmptyType >::mergeAndReplace(), detail::operator==(), and detail::Fragment< Payload, OffsetType >::size(). |
|
Definition at line 97 of file Fragment.hpp. References detail::Fragment< Payload, OffsetType >::range_. Referenced by detail::Queue::erase(), detail::extractRange(), detail::PayloadTraits< EmptyType >::mergeAndReplace(), detail::operator==(), and detail::Fragment< Payload, OffsetType >::size(). |
|
Definition at line 99 of file Fragment.hpp. References detail::Fragment< Payload, OffsetType >::size(). |
|
Definition at line 98 of file Fragment.hpp. References detail::Fragment< Payload, OffsetType >::begin(), and detail::Fragment< Payload, OffsetType >::end(). Referenced by detail::Fragment< Payload, OffsetType >::length(). |
|
Definition at line 101 of file Fragment.hpp. |
|
Definition at line 104 of file Fragment.hpp. Referenced by detail::Fragment< Payload, OffsetType >::begin(), detail::Fragment< Payload, OffsetType >::end(), and detail::Fragment< Payload, OffsetType >::Fragment(). |