zypp::pool::CapHash Class Reference

#include <PoolImpl.h>

List of all members.

Public Types

typedef PoolTraits::DepCapItemContainerT ContainerT
typedef PoolTraits::capitemsize_type size_type
typedef PoolTraits::capitemiterator iterator
typedef PoolTraits::const_capitemiterator const_iterator

Public Member Functions

 CapHash ()
 Default ctor.
 ~CapHash ()
 Dtor.
ContainerTstore ()
const ContainerTstore () const
bool empty () const
size_type size () const
iterator begin (const std::string &tag_r, Dep cap_r)
const_iterator begin (const std::string &tag_r, Dep cap_r) const
iterator end (const std::string &tag_r, Dep cap_r)
const_iterator end (const std::string &tag_r, Dep cap_r) const
void clear ()
void insert (const PoolItem &item_r)
void erase (const PoolItem &item_r)

Private Types

typedef PoolTraits::CapItemStoreT CapItemStoreT
typedef PoolTraits::CapItemContainerT CapItemContainerT

Private Member Functions

const CapItemStoreTcapItemStore (Dep cap_r) const
const CapItemContainerTcapItemContainer (const CapItemStoreT &cis, const std::string &tag_r) const

Private Attributes

PoolTraits::DepCapItemContainerT _store


Detailed Description

Definition at line 103 of file PoolImpl.h.


Member Typedef Documentation

typedef PoolTraits::DepCapItemContainerT zypp::pool::CapHash::ContainerT

Definition at line 113 of file PoolImpl.h.

typedef PoolTraits::capitemsize_type zypp::pool::CapHash::size_type

Definition at line 114 of file PoolImpl.h.

typedef PoolTraits::capitemiterator zypp::pool::CapHash::iterator

Definition at line 115 of file PoolImpl.h.

typedef PoolTraits::const_capitemiterator zypp::pool::CapHash::const_iterator

Definition at line 116 of file PoolImpl.h.

typedef PoolTraits::CapItemStoreT zypp::pool::CapHash::CapItemStoreT [private]

Definition at line 120 of file PoolImpl.h.

typedef PoolTraits::CapItemContainerT zypp::pool::CapHash::CapItemContainerT [private]

Definition at line 121 of file PoolImpl.h.


Constructor & Destructor Documentation

zypp::pool::CapHash::CapHash (  ) 

Default ctor.

Definition at line 96 of file PoolImpl.cc.

zypp::pool::CapHash::~CapHash (  ) 

Dtor.

Definition at line 104 of file PoolImpl.cc.


Member Function Documentation

const CapHash::CapItemStoreT & zypp::pool::CapHash::capItemStore ( Dep  cap_r  )  const [private]

Definition at line 155 of file PoolImpl.cc.

References end(), and store().

Referenced by begin(), and end().

const CapHash::CapItemContainerT & zypp::pool::CapHash::capItemContainer ( const CapItemStoreT cis,
const std::string &  tag_r 
) const [private]

Definition at line 167 of file PoolImpl.cc.

Referenced by begin(), and end().

ContainerT& zypp::pool::CapHash::store (  )  [inline]

Definition at line 132 of file PoolImpl.h.

References _store.

Referenced by capItemStore().

const ContainerT& zypp::pool::CapHash::store (  )  const [inline]

Definition at line 135 of file PoolImpl.h.

References _store.

bool zypp::pool::CapHash::empty (  )  const [inline]

Definition at line 139 of file PoolImpl.h.

References _store.

size_type zypp::pool::CapHash::size (  )  const [inline]

Definition at line 142 of file PoolImpl.h.

References _store.

iterator zypp::pool::CapHash::begin ( const std::string &  tag_r,
Dep  cap_r 
) [inline]

Definition at line 146 of file PoolImpl.h.

References _store.

const_iterator zypp::pool::CapHash::begin ( const std::string &  tag_r,
Dep  cap_r 
) const [inline]

Definition at line 149 of file PoolImpl.h.

References capItemContainer(), and capItemStore().

iterator zypp::pool::CapHash::end ( const std::string &  tag_r,
Dep  cap_r 
) [inline]

Definition at line 155 of file PoolImpl.h.

References _store.

Referenced by capItemStore().

const_iterator zypp::pool::CapHash::end ( const std::string &  tag_r,
Dep  cap_r 
) const [inline]

Definition at line 158 of file PoolImpl.h.

References capItemContainer(), and capItemStore().

void zypp::pool::CapHash::clear (  )  [inline]

Definition at line 164 of file PoolImpl.h.

References _store.

Referenced by zypp::pool::PoolImpl::clear().

void zypp::pool::CapHash::insert ( const PoolItem item_r  ) 

Definition at line 116 of file PoolImpl.cc.

References _store, zypp::Dep::CONFLICTS, zypp::Dep::FRESHENS, zypp::Dep::OBSOLETES, zypp::Dep::PROVIDES, zypp::Dep::REQUIRES, zypp::pool::storeInsert(), and zypp::Dep::SUPPLEMENTS.

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

void zypp::pool::CapHash::erase ( const PoolItem item_r  ) 

Definition at line 144 of file PoolImpl.cc.

References _store, zypp::Dep::CONFLICTS, zypp::Dep::FRESHENS, zypp::Dep::OBSOLETES, zypp::Dep::PROVIDES, zypp::Dep::REQUIRES, zypp::pool::storeDelete(), and zypp::Dep::SUPPLEMENTS.

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


Member Data Documentation

PoolTraits::DepCapItemContainerT zypp::pool::CapHash::_store [private]

Definition at line 173 of file PoolImpl.h.

Referenced by begin(), clear(), empty(), end(), erase(), insert(), size(), and store().


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 16:49:39 2006 for zypp by  doxygen 1.5.0