#include <List.hpp>
Public Types | |
typedef FragmentT | FragmentType |
typedef ContainerT | ContainerType |
typedef FragmentType::SizeType | FSizeType |
typedef FragmentType::PayloadType | PayloadType |
typedef FragmentType::Traits | Traits |
typedef BadRange< FragmentType > | BadRangeException |
typedef ContainerType::value_type | ValueType |
typedef ContainerType::pointer | Pointer |
typedef ContainerType::const_pointer | ConstPointer |
typedef ContainerType::reference | Reference |
typedef ContainerType::const_reference | ConstReference |
typedef ContainerType::iterator | Iterator |
typedef ContainerType::const_iterator | ConstIterator |
typedef ContainerType::reverse_iterator | ReverseIterator |
typedef ContainerType::const_reverse_iterator | ConstReverseIterator |
typedef ContainerType::size_type | SizeType |
typedef ContainerType::difference_type | DifferenceType |
typedef ValueType | value_type |
typedef Pointer | pointer |
typedef ConstPointer | const_pointer |
typedef Reference | reference |
typedef ConstReference | const_reference |
typedef Iterator | iterator |
typedef ConstIterator | const_iterator |
typedef ReverseIterator | reverse_iterator |
typedef ConstReverseIterator | const_reverse_iterator |
typedef SizeType | size_type |
typedef DifferenceType | difference_type |
typedef ::std::pair< Iterator, Iterator > | IteratorPair |
typedef ::std::pair< ConstIterator, ConstIterator > | ConstIteratorPair |
Public Member Functions | |
List (FSizeType limit) | |
Iterator | begin () |
ConstIterator | begin () const |
Iterator | end () |
ConstIterator | end () const |
ReverseIterator | rbegin () |
ConstReverseIterator | rbegin () const |
ReverseIterator | rend () |
ConstReverseIterator | rend () const |
SizeType | size () const |
FSizeType | limit () const |
FSizeType | sumLength () const |
FSizeType | missing () const |
bool | empty () const |
void | clear () |
FSizeType | insert (const FragmentType &insertFragment) |
template<typename InputIterator> | |
FSizeType | insert (InputIterator first, InputIterator last) |
FSizeType | insert (Iterator where, const FragmentType &insertFragment) |
FSizeType | erase (const FragmentType &eraseFragment) |
template<typename InputIterator> | |
FSizeType | erase (InputIterator first, InputIterator last) |
void | erase (Iterator where) |
void | swap (List &rhs) |
Iterator | lowerBound (const FragmentType &match) |
ConstIterator | lowerBound (const FragmentType &match) const |
Iterator | upperBound (const FragmentType &match) |
ConstIterator | upperBound (const FragmentType &match) const |
IteratorPair | equalRange (const FragmentType &match) |
ConstIteratorPair | equalRange (const FragmentType &match) const |
Iterator | lower_bound (const FragmentType &match) |
ConstIterator | lower_bound (const FragmentType &match) const |
Iterator | upper_bound (const FragmentType &match) |
ConstIterator | upper_bound (const FragmentType &match) const |
IteratorPair | equal_range (const FragmentType &match) |
ConstIteratorPair | equal_range (const FragmentType &match) const |
IteratorPair | overlappingRange (const FragmentType &match) |
ConstIteratorPair | overlappingRange (const FragmentType &match) const |
Private Attributes | |
ContainerType | s_ |
FSizeType | sumLength_ |
FSizeType | upperLimit_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 77 of file List.hpp. Referenced by CFragmentBar::DrawSource(), CFragmentBar::DrawSourceImpl(), CFragmentBar::DrawUpload(), CDownloadWithFile::GetAvailableRanges(), CDownloadWithFile::GetFragment(), CDownloadWithFile::GetPossibleFragments(), and CFilePreviewDlg::SetDownload(). |
|
Definition at line 93 of file List.hpp. Referenced by CFragmentedFile::MakeComplete(), CDownloadTransferBT::OnBitfield(), CDownloadTransferED2K::OnFileStatus(), and CDownloadSource::SetAvailableRanges(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 183 of file List.hpp. Referenced by detail::List< SimpleFragment >::equal_range(), and detail::List< SimpleFragment >::overlappingRange(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 167 of file List.hpp. Referenced by detail::List< SimpleFragment >::lower_bound(). |
|
Definition at line 90 of file List.hpp. Referenced by CFragmentedFile::GetCompleted(). |
|
|
|
Definition at line 219 of file List.hpp. Referenced by VerifySelection(), and CFragmentedFile::WriteRange(). |
|
|
|
|
|
|
|
|
|
Definition at line 87 of file List.hpp. Referenced by CFragmentedFile::GetEmptyFragmentCount(). |
|
Definition at line 89 of file List.hpp. Referenced by detail::List< SimpleFragment >::erase(), CFragmentedFile::GetRemaining(), CEDPartImporter::ImportFile(), detail::List< SimpleFragment >::insert(), and detail::List< SimpleFragment >::missing(). |
|
Definition at line 160 of file List.hpp. Referenced by CFragmentedFile::Clear(), CFragmentedFile::Create(), and CEDPartImporter::ImportFile(). |
|
|
|
|
|
|
|
Definition at line 175 of file List.hpp. Referenced by detail::List< SimpleFragment >::upper_bound(). |
|
|
Definition at line 242 of file List.hpp. Referenced by detail::List< SimpleFragment >::clear(), detail::List< SimpleFragment >::erase(), detail::List< SimpleFragment >::sumLength(), and detail::List< SimpleFragment >::swap(). |
|
Definition at line 243 of file List.hpp. Referenced by detail::List< SimpleFragment >::limit(), and detail::List< SimpleFragment >::swap(). |