libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgAcquire::ItemDesc Struct Reference

Represents a single download source from which an item should be downloaded. More...

#include <acquire.h>

Inheritance diagram for pkgAcquire::ItemDesc:
Collaboration diagram for pkgAcquire::ItemDesc:

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...
 
ItemOwner
 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...
 

Detailed Description

Represents a single download source from which an item should be downloaded.

An item may have several assocated ItemDescs over its lifetime.

Member Function Documentation

void WeakPointable::AddWeakPointer ( WeakPointable **  weakptr)
inlineinherited

Add a new weak pointer.

References WeakPointable::pointers.

void WeakPointable::RemoveWeakPointer ( WeakPointable **  weakptr)
inlineinherited

Remove the weak pointer from the list of weak pointers.

References WeakPointable::pointers.

Member Data Documentation

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 documentation for this struct was generated from the following file: