#include <RepoVariables.h>
Public Member Functions | |
RepoVariablesStringReplacer () | |
std::string | operator() (const std::string &value) const |
~RepoVariablesStringReplacer () | |
void | resetVarCache (void) |
Private Attributes | |
Arch | sysarch |
Arch | basearch |
std::string | releasever |
...
Definition at line 29 of file RepoVariables.h.
zypp::repo::RepoVariablesStringReplacer::RepoVariablesStringReplacer | ( | ) |
zypp::repo::RepoVariablesStringReplacer::~RepoVariablesStringReplacer | ( | ) |
Definition at line 32 of file RepoVariables.cc.
std::string zypp::repo::RepoVariablesStringReplacer::operator() | ( | const std::string & | value | ) | const |
Definition at line 42 of file RepoVariables.cc.
References zypp::Arch::asString(), zypp::Arch::baseArch(), basearch, zypp::Target::distributionVersion(), zypp::Arch::empty(), zypp::str::gsub(), zypp::ZConfig::instance(), releasever, sysarch, and zypp::ZConfig::systemArchitecture().
void zypp::repo::RepoVariablesStringReplacer::resetVarCache | ( | void | ) |
Definition at line 35 of file RepoVariables.cc.
References zypp::Arch_empty, basearch, releasever, and sysarch.
Referenced by zypp::repo::RepoVariablesUrlReplacer::resetVarCache().
Arch zypp::repo::RepoVariablesStringReplacer::sysarch [mutable, private] |
Definition at line 40 of file RepoVariables.h.
Referenced by operator()(), RepoVariablesStringReplacer(), and resetVarCache().
Arch zypp::repo::RepoVariablesStringReplacer::basearch [mutable, private] |
Definition at line 41 of file RepoVariables.h.
Referenced by operator()(), RepoVariablesStringReplacer(), and resetVarCache().
std::string zypp::repo::RepoVariablesStringReplacer::releasever [mutable, private] |