#include <CapFactory.h>
Public Member Functions | |
| CapFactory () | |
| Default ctor. | |
| ~CapFactory () | |
| Dtor. | |
| Capability | parse (const Resolvable::Kind &refers_r, const std::string &strval_r) const |
| Parse Capability from string providing Resolvable::Kind. | |
| Capability | parse (const Resolvable::Kind &refers_r, const std::string &name_r, const std::string &op_r, const std::string &edition_r) const |
| Parse Capability providing Resolvable::Kind, name, Rel and Edition as strings. | |
| Capability | parse (const Resolvable::Kind &refers_r, const std::string &name_r, Rel op_r, const Edition &edition_r) const |
| Parse Capability providing Resolvable::Kind, name, Rel and Edition. | |
| Capability | halEvalCap () const |
| Special Capability, triggering evaluation of Hal capabilities when matched. | |
| Capability | modaliasEvalCap () const |
| Special Capability, triggering evaluation of modalias capabilities when matched. | |
| std::string | encode (const Capability &cap_r) const |
| Provide a parsable string representation of cap_r. | |
Private Attributes | |
| RW_pointer< Impl > | _pimpl |
| Pointer to implementation. | |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const CapFactory &obj) |
Classes | |
| struct | Impl |
| CapFactory implementation. More... | |
Besides parsing, CapFactory asserts that equal capabilites share the same implementation.
Parser needs improvement in speed and accuracy.
Definition at line 37 of file CapFactory.h.
|
|
Default ctor.
Definition at line 359 of file CapFactory.cc. |
|
|
Dtor.
Definition at line 367 of file CapFactory.cc. |
|
||||||||||||
|
Parse Capability from string providing Resolvable::Kind. strval_r is expected to define a valid Capability.
Definition at line 375 of file CapFactory.cc. References DBG, zypp::solver::detail::str, and ZYPP_CAUGHT. Referenced by zypp::storage::XMLFilesBackend::createCapability(), zypp::source::yum::YUMSourceImpl::createCapability(), zypp::source::yum::YUMSourceImpl::createPatch(), zypp::source::susetags::SelectionTagFileParser::endParse(), zypp::target::rpm::RpmDb::makePackageFromHeader(), zypp::solver::detail::ConflictProcess::operator()(), zypp::source::susetags::parseDeps(), and zypp::source::yum::YUMPatchImpl::YUMPatchImpl(). |
|
||||||||||||||||||||
|
Parse Capability providing Resolvable::Kind, name, Rel and Edition as strings.
Definition at line 435 of file CapFactory.cc. References zypp::parse(). |
|
||||||||||||||||||||
|
Parse Capability providing Resolvable::Kind, name, Rel and Edition.
Definition at line 463 of file CapFactory.cc. |
|
|
Special Capability, triggering evaluation of Hal capabilities when matched.
Definition at line 490 of file CapFactory.cc. References zypp::CapFactory::Impl::buildHal(). |
|
|
Special Capability, triggering evaluation of modalias capabilities when matched.
Definition at line 506 of file CapFactory.cc. References zypp::CapFactory::Impl::buildModalias(). |
|
|
Provide a parsable string representation of cap_r.
Definition at line 522 of file CapFactory.cc. References zypp::Capability::_pimpl. Referenced by zypp::storage::toXML(). |
|
||||||||||||
|
Stream output Definition at line 532 of file CapFactory.cc. |
|
|
Pointer to implementation.
Definition at line 89 of file CapFactory.h. |
1.4.6