libzypp  15.28.6
RepoVariables.cc File Reference
#include <cstring>
#include "zypp/base/LogTools.h"
#include "zypp/base/String.h"
#include "zypp/base/Regex.h"
#include "zypp/ZYppFactory.h"
#include "zypp/ZConfig.h"
#include "zypp/Target.h"
#include "zypp/Arch.h"
#include "zypp/repo/RepoVariables.h"
#include "zypp/base/NonCopyable.h"
Include dependency graph for RepoVariables.cc:

Go to the source code of this file.

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
 zypp::env
 
 zypp::repo
 

Macros

#define ZYPP_DBG_VAREXPAND   0
 
#define ASSIGN_IF(NAME, GETTER)   if ( name_r == NAME ) getter = GETTER
 

Functions

std::string zypp::env::ZYPP_REPO_RELEASEVER ()
 Use faked releasever (e.g. More...
 

Macro Definition Documentation

#define ZYPP_DBG_VAREXPAND   0

Definition at line 11 of file RepoVariables.cc.

#define ASSIGN_IF (   NAME,
  GETTER 
)    if ( name_r == NAME ) getter = GETTER

Variable Documentation

bool _embedded

A (formerly) embedded string may have esacped $, closebrace and backslash.

Definition at line 58 of file RepoVariables.cc.

const char* _sbeg

start of string to scan

Definition at line 59 of file RepoVariables.cc.

const char* _vbeg

[$]{variable:-word} / [$]{variable} / if embedded also on [\]

Definition at line 60 of file RepoVariables.cc.

const char* _nbeg

${[v]ariable:-word} / ${[v]ariable}

Definition at line 61 of file RepoVariables.cc.

const char* _nend

${variable[:]-word} / ${variable[}]

Definition at line 62 of file RepoVariables.cc.

const char* _vend

${variable:-word}[] / ${variable}[]

Definition at line 63 of file RepoVariables.cc.

const char* _send

end of scan (next $ or nullptr if done)

Definition at line 64 of file RepoVariables.cc.

std::string _arch
mutable

Definition at line 479 of file RepoVariables.cc.

std::string _basearch
mutable

Definition at line 480 of file RepoVariables.cc.

std::string _releasever
mutable

Definition at line 481 of file RepoVariables.cc.

std::string _releaseverMajor
mutable

Definition at line 482 of file RepoVariables.cc.

std::string _releaseverMinor
mutable

Definition at line 483 of file RepoVariables.cc.