#include <Dep.h>
Public Types | |
enum | for_use_in_switch { PROVIDES_e, PREREQUIRES_e, REQUIRES_e, CONFLICTS_e, OBSOLETES_e, RECOMMENDS_e, SUGGESTS_e, FRESHENS_e, ENHANCES_e, SUPPLEMENTS_e } |
Enumarators provided only for use inSwitch statement. More... | |
Public Member Functions | |
Dep (const std::string &strval_r) | |
Ctor from string. | |
const std::string & | asString () const |
String representation of dependency type. | |
for_use_in_switch | inSwitch () const |
Enumarator provided for use in switch statement. | |
Static Public Attributes | |
Dependency types | |
These are the real dependency type contants to use. Don't mind that it's not an enum.
| |
static const Dep | PROVIDES |
static const Dep | PREREQUIRES |
static const Dep | REQUIRES |
static const Dep | CONFLICTS |
static const Dep | OBSOLETES |
static const Dep | RECOMMENDS |
static const Dep | SUGGESTS |
static const Dep | FRESHENS |
static const Dep | ENHANCES |
static const Dep | SUPPLEMENTS |
Private Member Functions | |
Dep (for_use_in_switch type_r) | |
Ctor to initialize the dependency type contants. | |
Private Attributes | |
for_use_in_switch | _type |
The operator. | |
Friends | |
bool | operator== (const Dep &lhs, const Dep &rhs) |
bool | operator!= (const Dep &lhs, const Dep &rhs) |
bool | operator< (const Dep &lhs, const Dep &rhs) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const Dep &obj) |
Definition at line 29 of file Dep.h.
|
Enumarators provided only for use inSwitch statement.
|
|
Ctor from string. Legal values for strval_r are the constants names (case insignificant).
|
|
Ctor to initialize the dependency type contants.
|
|
String representation of dependency type.
Definition at line 82 of file Dep.cc. References CONFLICTS_e, ENHANCES_e, FRESHENS_e, OBSOLETES_e, PREREQUIRES_e, PROVIDES_e, RECOMMENDS_e, REQUIRES_e, SUGGESTS_e, and SUPPLEMENTS_e. Referenced by operator<<(). |
|
Enumarator provided for use in
Definition at line 86 of file Dep.h. References _type. |
|
|
|
|
|
|
|
Stream output Definition at line 100 of file Dep.h. References asString(). |
|
|
Definition at line 43 of file Dep.h. Referenced by zypp::Resolvable::Impl::Impl(), zypp::operator<<(), and zypp::solver::detail::InstallOrder::rdfsvisit(). |
|
|
Definition at line 45 of file Dep.h. Referenced by zypp::source::susetags::PatternTagFileParser::endParse(), zypp::pool::CapHash::erase(), zypp::solver::detail::InjectSolutionAction::execute(), zypp::pool::CapHash::insert(), and zypp::operator<<(). |
|
Definition at line 46 of file Dep.h. Referenced by zypp::source::susetags::PatternTagFileParser::endParse(), zypp::pool::CapHash::erase(), zypp::pool::CapHash::insert(), zypp::operator<<(), and zypp::pool::strip_obsoleted_to_delete(). |
|
|
Definition at line 48 of file Dep.h. Referenced by zypp::source::yum::YUMSourceImpl::createGroupDependencies(), zypp::source::susetags::PatternTagFileParser::endParse(), and zypp::operator<<(). |
|
Definition at line 49 of file Dep.h. Referenced by zypp::source::susetags::PatternTagFileParser::endParse(), zypp::pool::CapHash::erase(), zypp::pool::CapHash::insert(), zypp::solver::detail::FreshenState::operator()(), and zypp::operator<<(). |
|
Definition at line 50 of file Dep.h. Referenced by zypp::operator<<(). |
|
Definition at line 51 of file Dep.h. Referenced by zypp::source::susetags::PatternTagFileParser::endParse(), zypp::pool::CapHash::erase(), zypp::pool::CapHash::insert(), zypp::solver::detail::TransactLanguage::operator()(), and zypp::operator<<(). |
|
The operator.
Definition at line 95 of file Dep.h. Referenced by inSwitch(). |