zypp::pool::PoolImpl Class Reference

#include <PoolImpl.h>

List of all members.

Public Types

typedef PoolTraits::Item Item
typedef PoolTraits::ItemContainerT ContainerT
typedef PoolTraits::iterator iterator
typedef PoolTraits::const_iterator const_iterator
typedef PoolTraits::size_type size_type
typedef PoolTraits::Inserter Inserter
typedef PoolTraits::Deleter Deleter

Public Member Functions

 PoolImpl ()
 Default ctor.
 ~PoolImpl ()
 Dtor.
Arch targetArch () const
ContainerTstore ()
const ContainerTstore () const
bool empty () const
size_type size () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
void clear ()
void eraseInstalled () const
 erase all resolvables coming from the target
ResPoolProxy proxy (ResPool self) const
void invalidateProxy ()
Save and restore state.
void SaveState (const ResObject::Kind &kind_r)
void RestoreState (const ResObject::Kind &kind_r)

Public Attributes

ContainerT _store
NameHash _namehash
CapHash _caphash
shared_ptr< ResPoolProxy_poolProxy

Friends

std::ostream & operator<< (std::ostream &str, const PoolImpl &obj)


Detailed Description

Definition at line 181 of file PoolImpl.h.


Member Typedef Documentation

typedef PoolTraits::Item zypp::pool::PoolImpl::Item
 

Definition at line 187 of file PoolImpl.h.

typedef PoolTraits::ItemContainerT zypp::pool::PoolImpl::ContainerT
 

Definition at line 188 of file PoolImpl.h.

typedef PoolTraits::iterator zypp::pool::PoolImpl::iterator
 

Definition at line 189 of file PoolImpl.h.

typedef PoolTraits::const_iterator zypp::pool::PoolImpl::const_iterator
 

Definition at line 190 of file PoolImpl.h.

typedef PoolTraits::size_type zypp::pool::PoolImpl::size_type
 

Definition at line 191 of file PoolImpl.h.

typedef PoolTraits::Inserter zypp::pool::PoolImpl::Inserter
 

Definition at line 192 of file PoolImpl.h.

typedef PoolTraits::Deleter zypp::pool::PoolImpl::Deleter
 

Definition at line 193 of file PoolImpl.h.


Constructor & Destructor Documentation

zypp::pool::PoolImpl::PoolImpl  ) 
 

Default ctor.

Definition at line 190 of file PoolImpl.cc.

zypp::pool::PoolImpl::~PoolImpl  ) 
 

Dtor.

Definition at line 198 of file PoolImpl.cc.


Member Function Documentation

Arch zypp::pool::PoolImpl::targetArch  )  const [inline]
 

Todo:
no poll, but make ZYpp distribute it.

Definition at line 202 of file PoolImpl.h.

Referenced by zypp::pool::PoolImplInserter::operator()().

ContainerT& zypp::pool::PoolImpl::store  )  [inline]
 

Definition at line 207 of file PoolImpl.h.

References _store.

const ContainerT& zypp::pool::PoolImpl::store  )  const [inline]
 

Definition at line 210 of file PoolImpl.h.

References _store.

bool zypp::pool::PoolImpl::empty  )  const [inline]
 

Definition at line 214 of file PoolImpl.h.

References _store.

size_type zypp::pool::PoolImpl::size  )  const [inline]
 

Definition at line 217 of file PoolImpl.h.

References _store.

iterator zypp::pool::PoolImpl::begin  )  [inline]
 

Definition at line 221 of file PoolImpl.h.

References _store.

Referenced by zypp::pool::operator<<().

const_iterator zypp::pool::PoolImpl::begin  )  const [inline]
 

Definition at line 224 of file PoolImpl.h.

References _store.

iterator zypp::pool::PoolImpl::end  )  [inline]
 

Definition at line 228 of file PoolImpl.h.

References _store.

Referenced by zypp::pool::operator<<().

const_iterator zypp::pool::PoolImpl::end  )  const [inline]
 

Definition at line 231 of file PoolImpl.h.

References _store.

void zypp::pool::PoolImpl::clear  )  [inline]
 

Definition at line 235 of file PoolImpl.h.

References _caphash, _namehash, _store, zypp::pool::NameHash::clear(), and zypp::pool::CapHash::clear().

void zypp::pool::PoolImpl::eraseInstalled  )  const
 

erase all resolvables coming from the target

void zypp::pool::PoolImpl::SaveState const ResObject::Kind kind_r  ) 
 

void zypp::pool::PoolImpl::RestoreState const ResObject::Kind kind_r  ) 
 

ResPoolProxy zypp::pool::PoolImpl::proxy ResPool  self  )  const [inline]
 

Definition at line 260 of file PoolImpl.h.

References _poolProxy.

void zypp::pool::PoolImpl::invalidateProxy  )  [inline]
 

Definition at line 266 of file PoolImpl.h.

References _poolProxy.

Referenced by zypp::pool::PoolImplDeleter::operator()().


Friends And Related Function Documentation

std::ostream & operator<< std::ostream &  str,
const PoolImpl obj
[friend]
 

Stream output

Definition at line 206 of file PoolImpl.cc.


Member Data Documentation

ContainerT zypp::pool::PoolImpl::_store
 

Definition at line 255 of file PoolImpl.h.

Referenced by begin(), clear(), empty(), end(), zypp::pool::PoolImplDeleter::operator()(), size(), and store().

NameHash zypp::pool::PoolImpl::_namehash
 

Definition at line 256 of file PoolImpl.h.

Referenced by clear(), and zypp::pool::PoolImplDeleter::operator()().

CapHash zypp::pool::PoolImpl::_caphash
 

Definition at line 257 of file PoolImpl.h.

Referenced by clear(), and zypp::pool::PoolImplDeleter::operator()().

shared_ptr<ResPoolProxy> zypp::pool::PoolImpl::_poolProxy [mutable]
 

Definition at line 269 of file PoolImpl.h.

Referenced by invalidateProxy(), and proxy().


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:33 2006 for zypp by  doxygen 1.4.6