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 104 of file PoolImpl.h.


Member Typedef Documentation

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

Definition at line 114 of file PoolImpl.h.

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

Definition at line 115 of file PoolImpl.h.

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

Definition at line 116 of file PoolImpl.h.

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

Definition at line 117 of file PoolImpl.h.

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

Definition at line 121 of file PoolImpl.h.

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

Definition at line 122 of file PoolImpl.h.


Constructor & Destructor Documentation

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

Default ctor.

Definition at line 97 of file PoolImpl.cc.

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

Dtor.

Definition at line 105 of file PoolImpl.cc.


Member Function Documentation

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

Definition at line 162 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 174 of file PoolImpl.cc.

Referenced by begin(), and end().

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

Definition at line 133 of file PoolImpl.h.

References _store.

Referenced by capItemStore().

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

Definition at line 136 of file PoolImpl.h.

References _store.

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

Definition at line 140 of file PoolImpl.h.

References _store.

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

Definition at line 143 of file PoolImpl.h.

References _store.

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

Definition at line 147 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 150 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 156 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 159 of file PoolImpl.h.

References capItemContainer(), and capItemStore().

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

Definition at line 165 of file PoolImpl.h.

References _store.

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

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

Definition at line 117 of file PoolImpl.cc.

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

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

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

Definition at line 148 of file PoolImpl.cc.

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

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


Member Data Documentation

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

Definition at line 174 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 Sep 25 19:23:25 2007 for libzypp by  doxygen 1.5.3