zypp::pool::NameHash Class Reference

#include <PoolImpl.h>

List of all members.

Public Types

typedef PoolTraits::ItemContainerT ItemContainerT
typedef PoolTraits::NameItemContainerT ContainerT
typedef PoolTraits::size_type size_type
typedef PoolTraits::iterator iterator
typedef PoolTraits::const_iterator const_iterator

Public Member Functions

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

Private Member Functions

ItemContainerTgetItemContainer (const std::string &tag_r)
const ItemContainerTgetConstItemContainer (const std::string &tag_r) const

Private Attributes

ContainerT _store
ItemContainerT _empty


Detailed Description

Definition at line 35 of file PoolImpl.h.


Member Typedef Documentation

typedef PoolTraits::ItemContainerT zypp::pool::NameHash::ItemContainerT
 

Definition at line 45 of file PoolImpl.h.

typedef PoolTraits::NameItemContainerT zypp::pool::NameHash::ContainerT
 

Definition at line 46 of file PoolImpl.h.

typedef PoolTraits::size_type zypp::pool::NameHash::size_type
 

Definition at line 47 of file PoolImpl.h.

typedef PoolTraits::iterator zypp::pool::NameHash::iterator
 

Definition at line 48 of file PoolImpl.h.

typedef PoolTraits::const_iterator zypp::pool::NameHash::const_iterator
 

Definition at line 49 of file PoolImpl.h.


Constructor & Destructor Documentation

zypp::pool::NameHash::NameHash  ) 
 

Default ctor.

Definition at line 41 of file PoolImpl.cc.

zypp::pool::NameHash::~NameHash  ) 
 

Dtor.

Definition at line 49 of file PoolImpl.cc.


Member Function Documentation

NameHash::ItemContainerT & zypp::pool::NameHash::getItemContainer const std::string &  tag_r  )  [private]
 

Definition at line 71 of file PoolImpl.cc.

References _empty, and _store.

Referenced by begin(), and end().

const NameHash::ItemContainerT & zypp::pool::NameHash::getConstItemContainer const std::string &  tag_r  )  const [private]
 

Definition at line 81 of file PoolImpl.cc.

References _empty, and _store.

Referenced by begin(), and end().

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

Definition at line 57 of file PoolImpl.h.

References _store.

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

Definition at line 60 of file PoolImpl.h.

References _store.

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

Definition at line 64 of file PoolImpl.h.

References _store.

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

Definition at line 67 of file PoolImpl.h.

References _store.

iterator zypp::pool::NameHash::begin const std::string &  tag_r  )  [inline]
 

Definition at line 71 of file PoolImpl.h.

References getItemContainer().

const_iterator zypp::pool::NameHash::begin const std::string &  tag_r  )  const [inline]
 

Definition at line 74 of file PoolImpl.h.

References getConstItemContainer().

iterator zypp::pool::NameHash::end const std::string &  tag_r  )  [inline]
 

Definition at line 78 of file PoolImpl.h.

References getItemContainer().

const_iterator zypp::pool::NameHash::end const std::string &  tag_r  )  const [inline]
 

Definition at line 81 of file PoolImpl.h.

References getConstItemContainer().

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

Definition at line 85 of file PoolImpl.h.

References _store.

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

void zypp::pool::NameHash::insert const PoolItem item_r  ) 
 

Definition at line 53 of file PoolImpl.cc.

References _store.

void zypp::pool::NameHash::erase const PoolItem item_r  ) 
 

Definition at line 59 of file PoolImpl.cc.

References _store.

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


Member Data Documentation

ContainerT zypp::pool::NameHash::_store [private]
 

Definition at line 94 of file PoolImpl.h.

Referenced by clear(), empty(), erase(), getConstItemContainer(), getItemContainer(), insert(), size(), and store().

ItemContainerT zypp::pool::NameHash::_empty [private]
 

Definition at line 95 of file PoolImpl.h.

Referenced by getConstItemContainer(), and getItemContainer().


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