#include <iostream>#include <functional>#include <set>#include <map>#include <ext/hash_set>#include <ext/hash_fun.h>#include "zypp/base/Logger.h"#include "zypp/base/Exception.h"#include "zypp/base/String.h"#include "zypp/base/Counter.h"#include "zypp/CapFactory.h"#include "zypp/capability/Capabilities.h"Go to the source code of this file.
Namespaces | |
| namespace | zypp |
Classes | |
| struct | zypp::CapFactory::Impl |
| CapFactory implementation. More... | |
Typedefs | |
| typedef __gnu_cxx::hash_set < CapabilityImpl::Ptr, CapImplHashFun, CapImplHashEqual > | USet |
| Set of unique CapabilityImpl. | |
Functions | |
| CapabilityImpl::Ptr | usetInsert (CapabilityImpl::Ptr cap_ptr) |
| Each CapabilityImpl created in CapFactory must be wrapped. | |
| std::ostream & | zypp::operator<< (std::ostream &str, const CapFactory &obj) |
Variables | |
| USet | _uset |
| Set to unify created capabilities. | |
Definition in file CapFactory.cc.
typedef __gnu_cxx::hash_set<CapabilityImpl::Ptr, CapImplHashFun, CapImplHashEqual> USet [static] |
| CapabilityImpl::Ptr @118::usetInsert | ( | CapabilityImpl::Ptr | cap_ptr | ) | [static] |
Each CapabilityImpl created in CapFactory must be wrapped.
Immediately wrap allocated_r, and unified by inserting it into _uset. Each CapabilityImpl created by CapFactory, must be inserted into _uset, by calling usetInsert.
Definition at line 77 of file CapFactory.cc.
Referenced by zypp::CapFactory::filesystemEvalCap(), zypp::CapFactory::fromImpl(), zypp::CapFactory::halEvalCap(), zypp::CapFactory::modaliasEvalCap(), and zypp::CapFactory::parse().
Set to unify created capabilities.
This is to unify capabilities. Each CapabilityImpl created by CapFactory, must be inserted into _uset, and the returned CapabilityImpl::Ptr has to be uset to create the Capability.
Definition at line 66 of file CapFactory.cc.
| Counter _caps |
Definition at line 89 of file CapFactory.cc.
| std::map<CapabilityImpl::Kind,Counter> _capKind |
Definition at line 90 of file CapFactory.cc.
| std::map<Resolvable::Kind,Counter> _capRefers |
Definition at line 91 of file CapFactory.cc.
1.5.3