Represents a single download source from which an item should be downloaded. More...
#include <acquire.h>
Public Member Functions | |
void | AddWeakPointer (WeakPointable **weakptr) |
Add a new weak pointer. More... | |
void | RemoveWeakPointer (WeakPointable **weakptr) |
Remove the weak pointer from the list of weak pointers. More... | |
Public Attributes | |
std::string | Description |
brief A description of this item. More... | |
Item * | Owner |
brief The underlying item which is to be downloaded. More... | |
std::string | ShortDesc |
brief A shorter description of this item. More... | |
std::string | URI |
The URI from which to download this item. More... | |
Represents a single download source from which an item should be downloaded.
An item may have several assocated ItemDescs over its lifetime.
|
inlineinherited |
Add a new weak pointer.
References WeakPointable::pointers.
|
inlineinherited |
Remove the weak pointer from the list of weak pointers.
References WeakPointable::pointers.
std::string pkgAcquire::ItemDesc::Description |
brief A description of this item.
Referenced by pkgAcquire::Queue::QItem::operator=().
Item* pkgAcquire::ItemDesc::Owner |
brief The underlying item which is to be downloaded.
Referenced by pkgAcquire::Queue::QItem::operator=().
std::string pkgAcquire::ItemDesc::ShortDesc |
brief A shorter description of this item.
Referenced by pkgAcquire::Queue::QItem::operator=(), and pkgAcqArchive::ShortDesc().
std::string pkgAcquire::ItemDesc::URI |
The URI from which to download this item.
Referenced by pkgAcqSubIndex::DescURI(), pkgAcqIndex::DescURI(), pkgAcqArchive::DescURI(), pkgAcqFile::DescURI(), and pkgAcquire::Queue::QItem::operator=().