#include <FileFragments.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 330 of file FileFragments.hpp. |
|
Definition at line 327 of file FileFragments.hpp. |
|
Definition at line 329 of file FileFragments.hpp. |
|
Definition at line 328 of file FileFragments.hpp. |
|
Definition at line 331 of file FileFragments.hpp. |
|
Definition at line 348 of file FileFragments.hpp. |
|
Definition at line 367 of file FileFragments.hpp. |
|
Definition at line 386 of file FileFragments.hpp. |
|
Definition at line 391 of file FileFragments.hpp. Referenced by CDownloadWithFile::GetFragment(), CDownloadTransferED2K::SelectFragment(), CDownloadTransferBT::SelectFragment(), and CFragmentedFile::WriteRange(). |
|
Definition at line 392 of file FileFragments.hpp. Referenced by CDownloadWithFile::GetFragment(), CDownloadTransferED2K::SelectFragment(), CDownloadTransferBT::SelectFragment(), and CFragmentedFile::WriteRange(). |
|
Definition at line 394 of file FileFragments.hpp. Referenced by CDownloadWithFile::GetFragment(), CDownloadTransferED2K::SelectFragment(), and CDownloadTransferBT::SelectFragment(). |
|
Definition at line 393 of file FileFragments.hpp. |
|
Definition at line 396 of file FileFragments.hpp. |
|
Definition at line 399 of file FileFragments.hpp. |