#include <utility>
#include <stdexcept>
#include <algorithm>
#include <functional>
#include <deque>
#include <list>
#include <set>
#include <limits>
#include "Shareaza.h"
#include "FileFragments/Exception.hpp"
#include "FileFragments/PayloadTraits.hpp"
#include "FileFragments/Fragment.hpp"
#include "FileFragments/List.hpp"
#include "FileFragments/Queue.hpp"
#include "FileFragments/Compatibility.hpp"
Go to the source code of this file.
Namespaces | |
namespace | FF |
namespace | FF::detail |
Typedefs | |
typedef unsigned long long | u64 |
typedef unsigned int | u32 |
typedef unsigned short | u16 |
typedef unsigned char | u8 |
typedef long long | i64 |
typedef int | i32 |
typedef short | i16 |
typedef signed char | i8 |
typedef detail::Fragment< EmptyType, u64 > | SimpleFragment |
typedef detail::BadFragment< SimpleFragment > | SimpleBadFragment |
typedef detail::BadRange< SimpleFragment > | SimpleBadRange |
typedef detail::List< SimpleFragment > | SimpleFragmentList |
typedef detail::Queue | SimpleFragmentQueue |
Functions | |
template<class Payload, typename OffsetType> | |
bool | operator== (const Fragment< Payload, OffsetType > &lhs, const Fragment< Payload, OffsetType > &rhs) |
template<class ListType> | |
ListType | inverse (const ListType &src) |
template<class ListType> | |
ListType::Iterator | largestFragment (ListType &src) |
template<class ListType> | |
ListType::ConstIterator | largestFragment (const ListType &src) |
template<class ListType> | |
ListType::Iterator | randomFragment (ListType &src) |
template<class ListType> | |
ListType::ConstIterator | randomFragment (const ListType &src) |
template<class ListType> | |
bool | hasPosition (const ListType &src, typename ListType::FSizeType pos) |
template<class ListType> | |
bool | overlaps (const ListType &src, const typename ListType::FragmentType &match) |
template<class ListType> | |
bool | overlaps (const ListType &src, const ListType &match) |
template<class ListType> | |
ListType::FSizeType | overlappingSum (const ListType &src, const typename ListType::FragmentType &match) |
Queue | extractRange (Queue &src, const Queue::FragmentType &match) |
template<class ListType, class AvailableType> | |
ListType::FragmentType | selectBlock (const ListType &src, typename ListType::FSizeType blockSize, const AvailableType *available) |
void | SerializeOut (CArchive &ar, const SimpleFragment &out) |
SimpleFragment | SerializeIn (CArchive &ar, int version) |
void | SerializeOut1 (CArchive &ar, const SimpleFragmentList &out) |
void | SerializeIn1 (CArchive &ar, SimpleFragmentList &in, int version) |
void | SerializeOut2 (CArchive &ar, const SimpleFragmentList &out) |
void | SerializeIn2 (CArchive &ar, SimpleFragmentList &in, int version) |
|
Definition at line 50 of file FileFragments.hpp. |
|
Definition at line 49 of file FileFragments.hpp. |
|
Definition at line 48 of file FileFragments.hpp. |
|
Definition at line 51 of file FileFragments.hpp. |
|
Definition at line 1142 of file FileFragments.hpp. |
|
Definition at line 1143 of file FileFragments.hpp. |
|
Definition at line 1141 of file FileFragments.hpp. |
|
Definition at line 1144 of file FileFragments.hpp. |
|
Definition at line 1145 of file FileFragments.hpp. |
|
Definition at line 46 of file FileFragments.hpp. |
|
Definition at line 45 of file FileFragments.hpp. |
|
Definition at line 44 of file FileFragments.hpp. |
|
Definition at line 47 of file FileFragments.hpp. |
|
Definition at line 1117 of file FileFragments.hpp. |
|
Definition at line 901 of file FileFragments.hpp. |
|
Definition at line 841 of file FileFragments.hpp. |
|
Definition at line 874 of file FileFragments.hpp. |
|
Definition at line 865 of file FileFragments.hpp. |
|
Definition at line 407 of file FileFragments.hpp. |
|
Definition at line 934 of file FileFragments.hpp. |
|
Definition at line 920 of file FileFragments.hpp. |
|
Definition at line 910 of file FileFragments.hpp. |
|
Definition at line 892 of file FileFragments.hpp. |
|
Definition at line 884 of file FileFragments.hpp. |
|
Definition at line 1185 of file FileFragments.hpp. |
|
Definition at line 1250 of file FileFragments.hpp. |
|
Definition at line 1290 of file FileFragments.hpp. |
|
Definition at line 1356 of file FileFragments.hpp. |
|
Definition at line 1244 of file FileFragments.hpp. |
|
Definition at line 1276 of file FileFragments.hpp. |
|
Definition at line 1345 of file FileFragments.hpp. |