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::Queue::QItem Struct Reference

A single item placed in this queue. More...

#include <acquire.h>

Inheritance diagram for pkgAcquire::Queue::QItem:
Collaboration diagram for pkgAcquire::Queue::QItem:

Public Member Functions

void AddWeakPointer (WeakPointable **weakptr)
 Add a new weak pointer. More...
 
void operator= (pkgAcquire::ItemDesc const &I)
 Assign the ItemDesc portion of this QItem from another ItemDesc. 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...
 
QItemNext
 The next item in the queue. 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...
 
pkgAcquire::WorkerWorker
 The worker associated with this item, if any. More...
 

Detailed Description

A single item placed in this queue.

Member Function Documentation

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

Add a new weak pointer.

References WeakPointable::pointers.

void pkgAcquire::Queue::QItem::operator= ( pkgAcquire::ItemDesc const &  I)
inline
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
inherited

brief A description of this item.

Referenced by operator=().

QItem* pkgAcquire::Queue::QItem::Next

The next item in the queue.

Referenced by pkgAcquire::UriIterator::operator++().

Item* pkgAcquire::ItemDesc::Owner
inherited

brief The underlying item which is to be downloaded.

Referenced by operator=().

std::string pkgAcquire::ItemDesc::ShortDesc
inherited

brief A shorter description of this item.

Referenced by operator=(), and pkgAcqArchive::ShortDesc().

std::string pkgAcquire::ItemDesc::URI
inherited
pkgAcquire::Worker* pkgAcquire::Queue::QItem::Worker

The worker associated with this item, if any.


The documentation for this struct was generated from the following file: