Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

List.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  detail

Functions

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)


Function Documentation

template<class ListType>
bool detail::hasPosition const ListType &  src,
typename ListType::FSizeType  pos
 

Definition at line 466 of file List.hpp.

Referenced by CFragmentedFile::IsPositionRemaining().

template<class ListType>
ListType detail::inverse const ListType &  src  )  [inline]
 

Definition at line 406 of file List.hpp.

Referenced by CDownloadWithFile::GetAvailableRanges(), CDownloadWithFile::GetPossibleFragments(), CDownloadWithFile::GetRandomRange(), and CFilePreviewDlg::SetDownload().

template<class ListType>
ListType::ConstIterator detail::largestFragment const ListType &  src  )  [inline]
 

Definition at line 439 of file List.hpp.

template<class ListType>
ListType::Iterator detail::largestFragment ListType &  src  )  [inline]
 

Definition at line 430 of file List.hpp.

Referenced by CDownloadWithFile::GetPossibleFragments().

template<class ListType>
ListType::FSizeType detail::overlappingSum const ListType &  src,
const typename ListType::FragmentType &  match
 

Definition at line 499 of file List.hpp.

Referenced by CFragmentedFile::GetRangeOverlap().

template<class ListType>
bool detail::overlaps const ListType &  src,
const ListType &  match
 

Definition at line 485 of file List.hpp.

template<class ListType>
bool detail::overlaps const ListType &  src,
const typename ListType::FragmentType &  match
 

Definition at line 475 of file List.hpp.

Referenced by CDownloadWithFile::AreRangesUseful(), CFragmentedFile::DoesRangeOverlap(), CDownloadWithFile::IsRangeUseful(), CDownloadWithFile::IsRangeUsefulEnough(), and CDownloadSource::TouchedRange().

template<class ListType>
ListType::Iterator detail::randomFragment const ListType &  src  )  [inline]
 

Definition at line 457 of file List.hpp.

template<class ListType>
ListType::Iterator detail::randomFragment ListType &  src  )  [inline]
 

Definition at line 449 of file List.hpp.

Referenced by CDownloadWithFile::GetFragment(), and CDownloadWithFile::GetRandomRange().


Generated on Thu Dec 15 10:39:56 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2