zypp Namespace Reference

Easy-to use interface to the ZYPP dependency resolver. More...


Classes

class  Arch
 Architecture. More...
struct  ArchCompatibleWith
 Functor finding compatible architectures. More...
class  AutoDispose
 Reference counted access to a _Tp object calling a custom Dispose function when the last AutoDispose handle to it is destroyed or reset. More...
class  Counter
 Integral type with initial value 0. More...
class  DefaultIntegral
 Integral type with defined initial value when default constructed. More...
class  DtorReset
 Assign a vaiable a certain value when going out of scope. More...
class  Errno
 Convenience errno wrapper. More...
class  Exception
 Base class for Exception. More...
class  InputStream
 Helper to create and pass std::istream. More...
struct  GetPairFirst
 Functor taking a std::pair returning std::pair.first. More...
struct  GetPairSecond
 Functor taking a std::pair returning std::pair.second . More...
struct  MapKVIteratorTraits
 Traits for std::map key and value iterators. More...
struct  NullDeleter
 shared_ptr custom deleter doing nothing. More...
struct  RW_pointer
 Wrapper for const correct access via Smart pointer types. More...
struct  RWCOW_pointer
 RW_pointer supporting 'copy on write' functionality. More...
class  SerialNumber
 Simple serial number provider. More...
class  SerialNumberWatcher
 Simple serial number watcher. More...
class  SignalSaver
 Exception safe signal handler save/restore. More...
class  SigprocmaskSaver
 Exception safe sigprocmask save/restore. More...
class  C_Str
 Convenience char* constructible from std::string and char*, it maps (char*)0 to an empty string. More...
class  UserRequestException
 Base for exceptions caused by explicit user request. More...
class  WatchFile
 Remember a files attributes to detect content changes. More...
class  ByteCount
 Store and operate with byte count. More...
class  Capabilities
 Container of Capability (currently read only). More...
class  Capability
 A sat capability. More...
class  CapDetail
 Helper providing more detailed information about a Capability. More...
class  CapMatch
 Tri state Capability match result. More...
class  ChangelogEntry
 Single entry in a change log. More...
struct  CheckSumException
class  CheckSum
class  CountryCode
 Country codes (iso3166-1-alpha-2). More...
class  Date
 Store and operate on date (time_t). More...
class  DateFormatException
struct  Dep
 Enumeration class of dependency types. More...
struct  DigestReport
class  Digest
 Compute Message Digests (MD5, SHA1 etc). More...
class  DiskUsage
class  DiskUsageCounter
class  Edition
 Edition represents [epoch:]version[-release]. More...
class  ExternalProgram
 Execute a program and give access to its io An object of this class encapsulates the execution of an external program. More...
class  ExternalProgramWithStderr
 ExternalProgram extended to offer reading programs stderr. More...
struct  FetcherIndex
 class that represents indexes which add metadata to fetcher jobs and therefore need to be retrieved in advance. More...
struct  SameFetcherIndex
 std::set ordering (less semantic) More...
struct  FetcherJob
 Class to encapsulate the OnMediaLocation object and the FileChecker together. More...
struct  ContentReaderHelper
class  Fetcher
 This class allows to retrieve a group of files in a confortable way, providing some smartness that does not belong to the media layer like:. More...
class  FileCheckException
class  CheckSumCheckException
class  SignatureCheckException
class  ChecksumFileChecker
 Built in file checkers. More...
class  SignatureFileChecker
 Checks for the validity of a signature. More...
class  NullFileChecker
 Checks for nothing Used as the default checker. More...
class  CompositeFileChecker
 Checker composed of more checkers. More...
class  HistoryLog
 Simple wrapper for progress log. More...
struct  HistoryActionID
 Enumeration of known history actions. More...
class  HistoryItem
class  HistoryItemInstall
class  HistoryItemRemove
class  HistoryItemRepoAdd
class  HistoryItemRepoRemove
class  HistoryItemRepoAliasChange
class  HistoryItemRepoUrlChange
class  IdString
 Access to the sat-pools string space. More...
class  IdStringType
 Base class for creating IdString based types. More...
class  InstanceId
 Build string to identify/retrieve a specific Solvable. More...
struct  KeyContext
struct  KeyRingReport
 Callbacks from signature verification workflow. More...
struct  KeyRingSignals
class  KeyRingException
class  KeyRing
 Gpg key handling. More...
struct  KVMap
 A map of (key,value) strings. More...
class  LanguageCode
 Language codes (iso639_2/iso639_1). More...
class  Locale
struct  ApplyLock
struct  LockingOutputIterator
 iterator that takes lock, lock all solvables from query and send query to output iterator More...
class  LocksCleanPredicate
class  LocksRemovePredicate
class  Locks
 Singleton class which manipulate with locks file and apply locks on pool. More...
struct  MediaProductEntry
 Represents an available product in media. More...
struct  ProvideFileOperation
struct  ProvideDirTreeOperation
struct  ProvideDirOperation
struct  ProvideFileExistenceOperation
class  MediaSetAccess
 Media access layer responsible for handling files distributed on a set of media with media change and abort/retry/ingore user callback handling. More...
class  CheckAccessDeleted
 Check for running processes which access deleted executables or libraries. More...
class  OnMediaLocation
 Describes a path on a certain media amongs as the information required to download it, like its media number, checksum and size. More...
class  Package
 Package interface. More...
class  PackageKeyword
 Package keywords. More...
class  Patch
 Class representing a patch. More...
class  Pattern
 Pattern interface. More...
class  PluginFrame
 Command frame for communication with PluginScript. More...
class  PluginFrameException
 Base class for PluginFrame Exception. More...
class  PluginScript
 Interface to pluigin scripts using a Stomp inspired communication protocol. More...
class  PluginScriptException
 Base class for PluginScript Exception. More...
class  PoolItem
 Reference to a PoolItem connecting ResObject and ResStatus. More...
struct  asPoolItem
 Solvable to PoolItem transform functor. More...
class  PoolItemBest
 Find the best candidates e.g. More...
struct  MyInserter
struct  EmptyFilter
struct  PoolQueryAttr
 represents all atributes in PoolQuery except SolvAtributes, which are used as is (not needed extend anything if someone adds new solv attr) More...
class  StringTypeAttr
class  PoolQuery
 Meta-data query API. More...
class  PoolQueryResult
 Helper class to collect (not only) PoolQuery results. More...
class  ProblemSolution
 Class representing one possible solution to one problem found during resolving. More...
class  Product
 Product interface. More...
class  ProgressData
 Maintain [min,max] and counter (value) for progress counting. More...
class  CombinedProgressData
 Progress callback from another progress. More...
class  ProvideFilePolicy
 Policy for provideFile. More...
class  BadKeyException
 Exception thrown when the supplied key is not a valid gpg key. More...
class  PublicKeyData
 Class representing one GPG Public Keys data. More...
class  PublicKeyScanner
 Scan abstract from 'gpg --with-colons' key listings. More...
class  PublicKey
 Class representing one GPG Public Key (PublicKeyData + ASCII armored in a tempfile). More...
struct  Range
struct  Rel
 Relational operators. More...
struct  Compare
 General compare functor returning -1, 0, 1. More...
struct  CompareBy
 Functor to compare two elements by Rel based on a general _Compare functor. More...
struct  CompareByEQ
struct  CompareByNE
struct  CompareByLT
struct  CompareByLE
struct  CompareByGT
struct  CompareByGE
struct  CompareByANY
struct  CompareByNONE
class  RepoInfo
 What is known about a repository. More...
struct  RepoCollector
 Simple callback to collect the results. More...
class  ServiceCollector
 Functor collecting ServiceInfos into a ServiceSet. More...
struct  RepoManagerOptions
 Repo manager settings. More...
class  RepoManager
 creates and provides information about known sources. More...
class  Repository
class  RepoStatus
 Local facts about a repository This class represents the status of a repository on the system. More...
class  ResKind
 Resolvable kinds. More...
class  ResObject
 Interface base for resolvable objects (common data). More...
class  Resolvable
 Interface base for resolvable objects (identification and dependencies). More...
class  Resolver
 Dependency resolver interface. More...
class  ResolverProblem
class  ResPool
 Global ResObject pool. More...
struct  PoolItemSaver
 Tem. More...
class  ResPoolProxy
 ResPool::instance().proxy();. More...
class  ResStatus
 Status bitfield. More...
struct  ResTraits
 ResTraits. More...
struct  ResTraits< Resolvable >
 ResTraits specialisation for Resolvable. More...
struct  ResTraits< ResObject >
 ResTraits specialisation for ResObject. More...
class  Match
 String matching option flags as used e.g. More...
struct  MatchException
 Exceptions thrown from attribute matching. More...
struct  MatchUnknownModeException
 Unknown match mode. More...
struct  MatchInvalidRegexException
 Invalid regular expression (failed regcomp). More...
class  ServiceInfo
class  Signature
class  SystemCheck
 Save and restore locale set from file. More...
class  SrcPackage
 SrcPackage interface. More...
class  Target
class  Url
 Url manipulation class. More...
class  VendorAttr
 Definition of vendor equivalence. More...
struct  Option
 Mutable option. More...
struct  DefaultOption
 Mutable option with initial value also remembering a config value. More...
class  ZConfig
 Interim helper class to collect global options and settings. More...
class  ZYpp
struct  ProgressReport
struct  ProgressReportAdaptor
struct  CleanEmptyLocksReport
 Callback for cleaning locks which doesn't lock anything in pool. More...
struct  SavingLocksReport
 this callback handles merging old locks with newly added or removed More...
class  ZYppCommitPolicy
 Options and policies for ZYpp::commit. More...
class  UpdateNotificationFile
 Pair of sat::Solvable and Pathname. More...
class  ZYppCommitResult
 Result returned from ZYpp::commit. More...
class  ZYppGlobalLock
 Our broken global lock. More...
class  ZYppFactoryException
class  ZYppFactory
 ZYpp factory class (Singleton). More...

Namespaces

namespace  sat
 Satsolver interface
namespace  functor
namespace  debug
namespace  exception_detail
namespace  externalprogram
namespace  base
namespace  gettext
namespace  gzstream_detail
namespace  iostr
 Iostream related utilities.
namespace  log
namespace  _logtoolsdetail
namespace  detail
namespace  rw_pointer
 Don't forgett to provide versions for _Ptr and _constPtr, esp.
namespace  str
 String related utilities and Regular expressions.
namespace  bit
namespace  HACK
namespace  callback
 Callbacks light.
namespace  _ExternalProgram
namespace  filter
namespace  filesystem
 Types and functions for filesystem operations.
namespace  target
namespace  kvmap
namespace  media
namespace  misc
namespace  parser
namespace  xml
namespace  pool
namespace  resstatus
namespace  range_detail
namespace  applydeltarpm
 Namespace wrapping invocations of /usr/bin/applydeltarpm.
namespace  repo
namespace  packagedelta
namespace  resfilter
namespace  traits
namespace  ui
namespace  solver
namespace  syscontent
namespace  zypp_readonly_hack
namespace  zypp_detail
namespace  thread
namespace  url
 Url details namespace.
namespace  ws
namespace  env

Typedefs

typedef
gzstream_detail::fXstream
< std::istream,
gzstream_detail::fgzstreambuf
ifgzstream
 istream reading gzip files as well as plain files.
typedef
gzstream_detail::fXstream
< std::ostream,
gzstream_detail::fgzstreambuf
ofgzstream
 ostream writing gzip files.
typedef
std::tr1::unordered_set
< Capability
CapabilitySet
typedef std::list< ChangelogEntryChangelog
 List of ChangelogEntry.
typedef shared_ptr< FetcherIndexFetcherIndex_Ptr
typedef shared_ptr< FetcherJobFetcherJob_Ptr
typedef function< void(const
Pathname &file)> 
FileChecker
 Functor signature used to check files.
typedef
std::tr1::unordered_set
< IdString
IdStringSet
typedef std::map< std::string,
std::string > 
OtherDefaultLanguage
typedef
std::tr1::unordered_set
< Locale
LocaleSet
typedef AutoDispose< const
Pathname > 
ManagedFile
 A Pathname plus associated cleanup code to be executed when path is no longer needed.
typedef std::set
< MediaProductEntry
MediaProductSet
 A set of available products in media.
typedef std::pair< std::string,
std::tr1::unordered_set
< std::string > > 
CacheEntry
 lsof output line + files extracted so far for this PID
typedef std::list< AttrMatchData > AttrMatchList
typedef std::list
< ProblemSolution_Ptr > 
ProblemSolutionList
typedef std::list
< ProblemSolution_constPtr > 
CProblemSolutionList
typedef std::list
< ResolverProblem_Ptr > 
ResolverProblemList
typedef std::list
< ResolverProblem_constPtr > 
CResolverProblemList
typedef vector< string > CapList
typedef boost::logic::tribool TriBool
 3-state boolean logic (true, false and indeterminate).
typedef std::string Vendor
typedef map< Vendor, unsigned int > VendorMap
typedef DefaultIntegral< int, 0 > VendorMatchEntry
typedef
std::tr1::unordered_map
< IdString, VendorMatchEntry
VendorMatch
typedef std::list
< UpdateNotificationFile
UpdateNotifications

Enumerations

enum  DownloadMode {
  DownloadDefault, DownloadOnly, DownloadInAdvance, DownloadInHeaps,
  DownloadAsNeeded
}
 Supported commit download policies. More...
enum  VendorSupportOption {
  VendorSupportUnknown = 0, VendorSupportUnsupported = (1<<0), VendorSupportACC = (1<<1), VendorSupportLevel1 = (1<<2),
  VendorSupportLevel2 = (1<<3), VendorSupportLevel3 = (1<<4)
}

Functions

 DEF_BUILTIN (noarch)
 DEF_BUILTIN (i386)
 DEF_BUILTIN (i486)
 DEF_BUILTIN (i586)
 DEF_BUILTIN (i686)
 DEF_BUILTIN (athlon)
 DEF_BUILTIN (x86_64)
 DEF_BUILTIN (pentium3)
 DEF_BUILTIN (pentium4)
 DEF_BUILTIN (s390)
 DEF_BUILTIN (s390x)
 DEF_BUILTIN (ppc)
 DEF_BUILTIN (ppc64)
 DEF_BUILTIN (ia64)
 DEF_BUILTIN (alphaev67)
 DEF_BUILTIN (alphaev6)
 DEF_BUILTIN (alphapca56)
 DEF_BUILTIN (alphaev56)
 DEF_BUILTIN (alphaev5)
 DEF_BUILTIN (alpha)
 DEF_BUILTIN (sparc64v)
 DEF_BUILTIN (sparcv9v)
 DEF_BUILTIN (sparc64)
 DEF_BUILTIN (sparcv9)
 DEF_BUILTIN (sparcv8)
 DEF_BUILTIN (sparc)
 DEF_BUILTIN (armv7nhl)
 DEF_BUILTIN (armv7hl)
 DEF_BUILTIN (armv7l)
 DEF_BUILTIN (armv6l)
 DEF_BUILTIN (armv5tejl)
 DEF_BUILTIN (armv5tel)
 DEF_BUILTIN (armv5l)
 DEF_BUILTIN (armv4tl)
 DEF_BUILTIN (armv4l)
 DEF_BUILTIN (armv3l)
 DEF_BUILTIN (sh3)
 DEF_BUILTIN (sh4)
 DEF_BUILTIN (sh4a)
template<class _Iterator, class _Filter, class _Function>
int invokeOnEach (_Iterator begin_r, _Iterator end_r, _Filter filter_r, _Function fnc_r)
 Iterate through [begin_r,end_r) and invoke fnc_r on each item that passes filter_r.
template<class _Iterator, class _Function>
int invokeOnEach (_Iterator begin_r, _Iterator end_r, _Function fnc_r)
 Iterate through [begin_r,end_r) and invoke fnc_r on each item.
std::ostream & operator<< (std::ostream &str, const Exception &obj)
template<class _Excpt>
void _ZYPP_THROW (const _Excpt &excpt_r, const exception_detail::CodeLocation &where_r) __attribute__((noreturn))
 Helper for ZYPP_THROW macros.
template<class _Excpt>
void _ZYPP_CAUGHT (const _Excpt &excpt_r, const exception_detail::CodeLocation &where_r)
 Helper for ZYPP_THROW macros.
template<class _Excpt>
void _ZYPP_RETHROW (const _Excpt &excpt_r, const exception_detail::CodeLocation &where_r) __attribute__((noreturn))
 Helper for ZYPP_THROW macros.
std::streamoff _heplerInitSize (const Pathname &file_r)
std::ostream & operator<< (std::ostream &str, const InputStream &obj)
template<class _Filter, class _Container>
filter_iterator< _Filter,
typename
_Container::const_iterator > 
make_filter_begin (_Filter f, const _Container &c)
 Convenience to create filter_iterator from container::begin().
template<class _Filter, class _Container>
filter_iterator< _Filter,
typename
_Container::const_iterator > 
make_filter_begin (const _Container &c)
 Convenience to create filter_iterator from container::begin().
template<class _Filter, class _Container>
filter_iterator< _Filter,
typename
_Container::const_iterator > 
make_filter_end (_Filter f, const _Container &c)
 Convenience to create filter_iterator from container::end().
template<class _Filter, class _Container>
filter_iterator< _Filter,
typename
_Container::const_iterator > 
make_filter_end (const _Container &c)
 Convenience to create filter_iterator from container::end().
template<class _Map>
MapKVIteratorTraits< _Map >
::Key_const_iterator 
make_map_key_begin (const _Map &map_r)
 Convenience to create the key iterator from container::begin().
template<class _Map>
MapKVIteratorTraits< _Map >
::Key_const_iterator 
make_map_key_end (const _Map &map_r)
 Convenience to create the key iterator from container::end().
template<class _Map>
MapKVIteratorTraits< _Map >
::Value_const_iterator 
make_map_value_begin (const _Map &map_r)
 Convenience to create the value iterator from container::begin().
template<class _Map>
MapKVIteratorTraits< _Map >
::Value_const_iterator 
make_map_value_end (const _Map &map_r)
 Convenience to create the value iterator from container::end().
template<class _Map>
MapKVIteratorTraits< _Map >
::Key_const_iterator 
make_map_key_lower_bound (const _Map &map_r, const typename _Map::key_type &key_r)
 Convenience to create the key iterator from container::lower_bound().
template<class _Map>
MapKVIteratorTraits< _Map >
::Key_const_iterator 
make_map_key_upper_bound (const _Map &map_r, const typename _Map::key_type &key_r)
 Convenience to create the key iterator from container::upper_bound().
template<class _Map>
MapKVIteratorTraits< _Map >
::Value_const_iterator 
make_map_value_lower_bound (const _Map &map_r, const typename _Map::key_type &key_r)
 Convenience to create the value iterator from container::lower_bound().
template<class _Map>
MapKVIteratorTraits< _Map >
::Value_const_iterator 
make_map_value_upper_bound (const _Map &map_r, const typename _Map::key_type &key_r)
 Convenience to create the value iterator from container::upper_bound().
template<class _Iterator>
std::ostream & dumpRange (std::ostream &str, _Iterator begin, _Iterator end, const std::string &intro="{", const std::string &pfx="\n ", const std::string &sep="\n ", const std::string &sfx="\n", const std::string &extro="}")
 Print range defined by iterators (multiline style).
template<class _Iterator>
std::ostream & dumpRangeLine (std::ostream &str, _Iterator begin, _Iterator end)
 Print range defined by iterators (single line style).
template<class _Tp>
std::ostream & operator<< (std::ostream &str, const std::vector< _Tp > &obj)
template<class _Tp>
std::ostream & operator<< (std::ostream &str, const std::set< _Tp > &obj)
template<class _Tp>
std::ostream & operator<< (std::ostream &str, const std::tr1::unordered_set< _Tp > &obj)
template<class _Tp>
std::ostream & operator<< (std::ostream &str, const std::multiset< _Tp > &obj)
template<class _Tp>
std::ostream & operator<< (std::ostream &str, const std::list< _Tp > &obj)
template<class _Key, class _Tp>
std::ostream & operator<< (std::ostream &str, const std::map< _Key, _Tp > &obj)
template<class _Key, class _Tp>
std::ostream & operator<< (std::ostream &str, const std::tr1::unordered_map< _Key, _Tp > &obj)
template<class _Key, class _Tp>
std::ostream & operator<< (std::ostream &str, const std::multimap< _Key, _Tp > &obj)
std::ostream & operator<< (std::ostream &str, const std::basic_ios< char > &obj)
 Print stream status bits.
template<class _Tp>
detail::Dump< _Tp > dump (const _Tp &obj_r)
std::ostream & operator<< (std::ostream &str, const SerialNumber &obj)
std::ostream & operator<< (std::ostream &str, const SerialNumberWatcher &obj)
template<class _D>
std::tr1::unordered_set< _D > * rwcowClone (const std::tr1::unordered_set< _D > *rhs)
 clone function for RW_pointer
template<class _K, class _V>
std::tr1::unordered_map< _K, _V > * rwcowClone (const std::tr1::unordered_map< _K, _V > *rhs)
 clone function for RW_pointer
 declException (IgnoreRequestException, IGNORE)
 declException (SkipRequestException, SKIP)
 declException (RetryRequestException, RETRY)
 declException (AbortRequestException, ABORT)
std::ostream & operator<< (std::ostream &str, const Capabilities &obj)
std::string::size_type backskipWs (const std::string &str_r, std::string::size_type pos_r)
 backward skip whitespace starting at pos_r
std::string::size_type backskipNWs (const std::string &str_r, std::string::size_type pos_r)
 backward skip non-whitespace starting at pos_r
void splitOpEdition (std::string &str_r, Rel &op_r, Edition &ed_r)
 Split any 'op edition' from str_r.
sat::detail::IdType relFromStr (::_Pool *pool_r, const Arch &arch_r, const std::string &name_r, Rel op_r, const Edition &ed_r, const ResKind &kind_r)
 Build Capability from data.
sat::detail::IdType relFromStr (::_Pool *pool_r, const std::string &name_r, Rel op_r, const Edition &ed_r, const ResKind &kind_r)
 Build Capability from data, just parsing name for '[.arch]' and detect 'kind srcpackage' (will be mapped to arch src).
sat::detail::IdType relFromStr (::_Pool *pool_r, const Arch &arch_r, const std::string &str_r, const ResKind &kind_r, Capability::CtorFlag flag_r)
 Full parse from string, unless Capability::PARSED.
std::ostream & operator<< (std::ostream &str, const Capability &obj)
std::ostream & dumpOn (std::ostream &str, const Capability &obj)
std::ostream & operator<< (std::ostream &str, const CapDetail &obj)
std::ostream & operator<< (std::ostream &str, CapDetail::Kind obj)
std::ostream & operator<< (std::ostream &str, CapDetail::CapRel obj)
std::ostream & operator<< (std::ostream &str, const CapMatch &obj)
std::ostream & operator<< (std::ostream &str, const CheckSum &obj)
bool operator== (const CountryCode &lhs, const CountryCode &rhs)
bool operator!= (const CountryCode &lhs, const CountryCode &rhs)
static std::string adjustLocale ()
static void restoreLocale (const std::string &locale)
bool isDST (struct tm &tm)
Dep::for_use_in_switch parse (const std::string &strval_r)
std::ostream & operator<< (std::ostream &str, const DiskUsage::Entry &obj)
std::ostream & operator<< (std::ostream &str, const DiskUsage &obj)
DiskUsageCounter::MountPointSet calcDiskUsage (DiskUsageCounter::MountPointSet result, const SatMap &installedmap_r)
std::ostream & operator<< (std::ostream &str, const DiskUsageCounter::MountPoint &obj)
bool deserialize (const std::string &str_r, DownloadMode &result_r)
std::ostream & operator<< (std::ostream &str, DownloadMode obj)
std::string makeevrstr (const std::string &version_r, const std::string &release_r, Edition::epoch_t epoch_r)
std::string makeevrstr (const char *version_r, const char *release_r, Edition::epoch_t epoch_r)
 ZYPP_DECLARE_OPERATORS_FOR_FLAGS (FetcherJob::Flags)
std::ostream & operator<< (std::ostream &str, const FetcherJob_Ptr &obj)
std::ostream & operator<< (std::ostream &str, const Fetcher &obj)
 ZYPP_DECLARE_OPERATORS_FOR_FLAGS (Fetcher::Options)
std::ostream & operator<< (std::ostream &str, const FileChecker &obj)
void openLog ()
void closeLog ()
void refUp ()
void refDown ()
std::ostream & operator<< (std::ostream &str, const HistoryActionID &id)
ostream & operator<< (ostream &str, const HistoryItem &obj)
ostream & operator<< (ostream &str, const HistoryItemInstall &obj)
ostream & operator<< (ostream &str, const HistoryItemRemove &obj)
ostream & operator<< (ostream &str, const HistoryItemRepoAdd &obj)
ostream & operator<< (ostream &str, const HistoryItemRepoRemove &obj)
ostream & operator<< (ostream &str, const HistoryItemRepoAliasChange &obj)
ostream & operator<< (ostream &str, const HistoryItemRepoUrlChange &obj)
std::ostream & operator<< (std::ostream &str, const HistoryItem &obj)
std::ostream & operator<< (std::ostream &str, const IdString &obj)
std::ostream & dumpOn (std::ostream &str, const IdString &obj)
bool operator== (const IdString &lhs, const char *rhs)
bool operator== (const IdString &lhs, const std::string &rhs)
bool operator== (const char *lhs, const IdString &rhs)
bool operator== (const std::string &lhs, const IdString &rhs)
bool operator!= (const IdString &lhs, const char *rhs)
bool operator!= (const IdString &lhs, const std::string &rhs)
bool operator!= (const char *lhs, const IdString &rhs)
bool operator!= (const std::string &lhs, const IdString &rhs)
bool operator< (const IdString &lhs, const char *rhs)
bool operator< (const IdString &lhs, const std::string &rhs)
bool operator< (const char *lhs, const IdString &rhs)
bool operator< (const std::string &lhs, const IdString &rhs)
bool operator<= (const IdString &lhs, const char *rhs)
bool operator<= (const IdString &lhs, const std::string &rhs)
bool operator<= (const char *lhs, const IdString &rhs)
bool operator<= (const std::string &lhs, const IdString &rhs)
bool operator> (const IdString &lhs, const char *rhs)
bool operator> (const IdString &lhs, const std::string &rhs)
bool operator> (const char *lhs, const IdString &rhs)
bool operator> (const std::string &lhs, const IdString &rhs)
bool operator>= (const IdString &lhs, const char *rhs)
bool operator>= (const IdString &lhs, const std::string &rhs)
bool operator>= (const char *lhs, const IdString &rhs)
bool operator>= (const std::string &lhs, const IdString &rhs)
template<class Derived>
bool operator== (const IdStringType< Derived > &lhs, const IdString &rhs)
template<class Derived>
bool operator== (const IdStringType< Derived > &lhs, const char *rhs)
template<class Derived>
bool operator== (const IdStringType< Derived > &lhs, const std::string &rhs)
template<class Derived>
bool operator== (const IdString &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator== (const char *lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator== (const std::string &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator!= (const IdStringType< Derived > &lhs, const IdString &rhs)
template<class Derived>
bool operator!= (const IdStringType< Derived > &lhs, const char *rhs)
template<class Derived>
bool operator!= (const IdStringType< Derived > &lhs, const std::string &rhs)
template<class Derived>
bool operator!= (const IdString &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator!= (const char *lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator!= (const std::string &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator< (const IdStringType< Derived > &lhs, const IdString &rhs)
template<class Derived>
bool operator< (const IdStringType< Derived > &lhs, const char *rhs)
template<class Derived>
bool operator< (const IdStringType< Derived > &lhs, const std::string &rhs)
template<class Derived>
bool operator< (const IdString &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator< (const char *lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator< (const std::string &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator<= (const IdStringType< Derived > &lhs, const IdString &rhs)
template<class Derived>
bool operator<= (const IdStringType< Derived > &lhs, const char *rhs)
template<class Derived>
bool operator<= (const IdStringType< Derived > &lhs, const std::string &rhs)
template<class Derived>
bool operator<= (const IdString &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator<= (const char *lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator<= (const std::string &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator> (const IdStringType< Derived > &lhs, const IdString &rhs)
template<class Derived>
bool operator> (const IdStringType< Derived > &lhs, const char *rhs)
template<class Derived>
bool operator> (const IdStringType< Derived > &lhs, const std::string &rhs)
template<class Derived>
bool operator> (const IdString &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator> (const char *lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator> (const std::string &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator>= (const IdStringType< Derived > &lhs, const IdString &rhs)
template<class Derived>
bool operator>= (const IdStringType< Derived > &lhs, const char *rhs)
template<class Derived>
bool operator>= (const IdStringType< Derived > &lhs, const std::string &rhs)
template<class Derived>
bool operator>= (const IdString &lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator>= (const char *lhs, const IdStringType< Derived > &rhs)
template<class Derived>
bool operator>= (const std::string &lhs, const IdStringType< Derived > &rhs)
 IMPL_PTR_TYPE (KeyRing)
KeyRing::DefaultAccept _keyRingDefaultAccept (KeyRing::ACCEPT_NOTHING)
 DEFINE_PTR_TYPE (KeyRing)
template<typename KVMapOpts>
std::ostream & operator<< (std::ostream &str, const KVMap< KVMapOpts > &obj)
bool operator== (const LanguageCode &lhs, const LanguageCode &rhs)
bool operator!= (const LanguageCode &lhs, const LanguageCode &rhs)
template<class _OutputIterator>
static void scanProductsFile (const Pathname &file_r, _OutputIterator result)
 FIXME: add a comment here.
template<class _OutputIterator>
void productsInMedia (const Url &url_r, _OutputIterator result)
 Available products in a url location.
void productsInMedia (const Url &url_r, MediaProductSet &set)
 Available products in a url location.
 IMPL_PTR_TYPE (MediaSetAccess)
 DEFINE_PTR_TYPE (MediaSetAccess)
 ZYPP_DECLARE_OPERATORS_FOR_FLAGS (MediaSetAccess::ProvideFileOptions)
void addDataIf (std::vector< CheckAccessDeleted::ProcInfo > &data_r, const CacheEntry &cache_r)
 Add cache to data if the process is accessing deleted files.
void addCacheIf (CacheEntry &cache_r, const std::string &line_r, bool verbose_r)
 Add file to cache if it refers to a deleted executable or library file:
  • Either the link count (k) is 0, or no link cout is present.

std::ostream & operator<< (std::ostream &str, const CheckAccessDeleted &obj)
std::ostream & operator<< (std::ostream &str, const CheckAccessDeleted::ProcInfo &obj)
std::ostream & operator<< (std::ostream &str, const OnMediaLocation &obj)
 IMPL_PTR_TYPE (Package)
 DEFINE_PTR_TYPE (Package)
 IMPL_PTR_TYPE (Patch)
 DEFINE_PTR_TYPE (Patch)
 ZYPP_DECLARE_OPERATORS_FOR_FLAGS (Patch::InteractiveFlags)
 IMPL_PTR_TYPE (Pattern)
 DEFINE_PTR_TYPE (Pattern)
std::ostream & operator<< (std::ostream &str, const PluginFrame &obj)
bool operator== (const PluginFrame &lhs, const PluginFrame &rhs)
void setBlocking (FILE *file_r, bool yesno_r=true)
void setNonBlocking (FILE *file_r, bool yesno_r=true)
std::ostream & operator<< (std::ostream &str, const PluginScript &obj)
 declException (PluginScriptNotConnected, PluginScriptException)
 Script connection not open.
 declException (PluginScriptDiedUnexpectedly, PluginScriptException)
 Script died unexpectedly.
 declException (PluginScriptTimeout, PluginScriptException)
 Communication timeout.
 declException (PluginScriptSendTimeout, PluginScriptTimeout)
 Timeout while sending data.
 declException (PluginScriptReceiveTimeout, PluginScriptTimeout)
 Timeout while receiving data.
PoolQuery makeTrivialQuery (IdString ident_r)
bool hardLockQueriesRemove (pool::PoolTraits::HardLockQueries &activeLocks_r, IdString ident_r)
bool hardLockQueriesAdd (pool::PoolTraits::HardLockQueries &activeLocks_r, IdString ident_r)
std::ostream & operator<< (std::ostream &str, const PoolItem &obj)
std::ostream & operator<< (std::ostream &str, const PoolItemBest &obj)
bool isDependencyAttribute (sat::SolvAttr attr_r)
static string wildcards2regex (const string &str)
 Converts '*' and '?' wildcards within str into their regex equivalents.
ostream & operator<< (ostream &str, const PoolQuery &obj)
std::ostream & dumpOn (std::ostream &str, const PoolQuery &obj)
std::ostream & operator<< (std::ostream &str, const PoolQueryResult &obj)
template<class OutputIterator>
void readPoolQueriesFromFile (const zypp::filesystem::Pathname &file, OutputIterator out)
 sends to output iterator all queries readed from file.
template<class InputIterator>
void writePoolQueriesToFile (const zypp::filesystem::Pathname &file, InputIterator begin, InputIterator end)
 Writes all queries from begin to end.
 IMPL_PTR_TYPE (ProblemSolution)
ostream & operator<< (ostream &os, const ProblemSolution &solution)
ostream & operator<< (ostream &os, const ProblemSolutionList &solutionlist)
ostream & operator<< (ostream &os, const CProblemSolutionList &solutionlist)
 DEFINE_PTR_TYPE (Resolver)
 DEFINE_PTR_TYPE (ProblemSolution)
 DEFINE_PTR_TYPE (ResolverProblem)
 IMPL_PTR_TYPE (Product)
void fillList (std::list< Url > &ret_r, sat::Solvable solv_r, sat::SolvAttr attr_r)
void fillList (std::list< std::string > &ret_r, sat::Solvable solv_r, sat::SolvAttr attr_r)
std::ostream & operator<< (std::ostream &str, const Product::UrlList &obj)
 DEFINE_PTR_TYPE (Product)
std::ostream & operator<< (std::ostream &str, const ProgressData &obj)
ProgressData makeProgressData (const InputStream &input_r)
bool yes ()
bool no ()
std::ostream & dumpOn (std::ostream &str, const PublicKeyData &obj)
bool operator== (const PublicKeyData &lhs, const PublicKeyData &rhs)
std::ostream & dumpOn (std::ostream &str, const PublicKey &obj)
template<class _Tp, class _Compare>
bool overlaps (const Range< _Tp, _Compare > &lhs, const Range< _Tp, _Compare > &rhs)
template<class _Tp, class _Compare>
bool operator== (const Range< _Tp, _Compare > &lhs, const Range< _Tp, _Compare > &rhs)
template<class _Tp, class _Compare>
bool operator!= (const Range< _Tp, _Compare > &lhs, const Range< _Tp, _Compare > &rhs)
std::map< std::string,
Rel::for_use_in_switch >
::const_iterator 
findStr (const std::string &strval_r)
Rel::for_use_in_switch parse (const std::string &strval_r)
Rel::for_use_in_switch parse (const std::string &strval_r, const Rel &default_r)
template<class _Tp, class _Compare>
bool compareByRel (Rel op, const _Tp &lhs, const _Tp &rhs, _Compare compare)
 Comparison of two elements using relational operator op.
template<class _Tp>
bool compareByRel (Rel op, const _Tp &lhs, const _Tp &rhs)
 compareByRel convenience using Compare<_Tp> as general compare functor.
std::ostream & operator<< (std::ostream &str, const RepoInfo &obj)
template<class Iterator>
bool foundAliasIn (const std::string &alias_r, Iterator begin_r, Iterator end_r)
 Check if alias_r is present in repo/service container.
template<class Container>
bool foundAliasIn (const std::string &alias_r, const Container &cont_r)
template<class Iterator>
Iterator findAlias (const std::string &alias_r, Iterator begin_r, Iterator end_r)
 Find alias_r in repo/service container.
template<class Container>
Container::iterator findAlias (const std::string &alias_r, Container &cont_r)
template<class Container>
Container::const_iterator findAlias (const std::string &alias_r, const Container &cont_r)
static std::list< RepoInforepositories_in_file (const Pathname &file)
 Reads RepoInfo's from a repo file.
static std::list< RepoInforepositories_in_dir (const Pathname &dir)
 List of RepoInfo's from a directory.
std::list< RepoInforeadRepoFile (const Url &repo_file)
 Parses repo_file and returns a list of RepoInfo objects corresponding to repositories found within the file.
void assert_alias (const RepoInfo &info)
void assert_alias (const ServiceInfo &info)
void assert_urls (const RepoInfo &info)
void assert_url (const ServiceInfo &info)
Pathname rawcache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the raw cache path for a repository, this is usually /var/cache/zypp/alias.
Pathname rawproductdata_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the raw product metadata path for a repository, this is inside the raw cache dir, plus an optional path where the metadata is.
Pathname packagescache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the packages cache path for a repository.
Pathname solv_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
 Calculates the solv cache path for a repository.
std::ostream & operator<< (std::ostream &str, const RepoManager &obj)
std::ostream & operator<< (std::ostream &str, const Repository &obj)
RepoStatus operator && (const RepoStatus &lhs, const RepoStatus &rhs)
 combines 2 repostatus with a checksum based on both checksums and the newest timestamp
std::ostream & operator<< (std::ostream &str, const RepoStatus &obj)
 IMPL_PTR_TYPE (ResObject)
ResObject::Ptr makeResObject (const sat::Solvable &solvable_r)
 Create ResObject from sat::Solvable.
template<class _Res>
ResTraits< _Res >::PtrType make (const sat::Solvable &solvable_r)
 Directly create a certain kind of ResObject from sat::Solvable.
template<>
ResObject::Ptr make< ResObject > (const sat::Solvable &solvable_r)
template<class _Res>
ResTraits< _Res >::constPtrType asKind (const ResObject::constPtr &p)
 IMPL_PTR_TYPE (Resolvable)
template<>
bool isKind< Resolvable > (const Resolvable::constPtr &p)
template<>
bool isKind< ResObject > (const Resolvable::constPtr &p)
 IMPL_PTR_TYPE (Resolver)
std::ostream & operator<< (std::ostream &str, const Resolver &obj)
 IMPL_PTR_TYPE (ResolverProblem)
ostream & operator<< (ostream &os, const ResolverProblem &problem)
ostream & operator<< (ostream &os, const ResolverProblemList &problemlist)
std::ostream & operator<< (std::ostream &str, const ResPool &obj)
ui::Selectable::Ptr makeSelectablePtr (pool::PoolImpl::Id2ItemT::const_iterator begin_r, pool::PoolImpl::Id2ItemT::const_iterator end_r)
std::ostream & operator<< (std::ostream &str, const ResPoolProxy &obj)
std::ostream & dumpOn (std::ostream &str, const ResPoolProxy &obj)
std::ostream & operator<< (std::ostream &str, const ResStatus &obj)
std::ostream & operator<< (std::ostream &str, ResStatus::TransactValue obj)
std::ostream & operator<< (std::ostream &str, ResStatus::TransactByValue obj)
 DEFINE_PTR_TYPE (Resolvable)
 DEFINE_PTR_TYPE (ResObject)
 DEFINE_PTR_TYPE (SrcPackage)
template<typename _Res>
ResKind resKind ()
 Convenient access to well known ResKinds.
template<typename _Res>
bool isKind (const ResKind &val_r)
 Convenient test for ResKinds.
template<typename _Res>
bool isKind (const std::string &val_r)
template<typename _Res>
bool isKind (const char *val_r)
std::ostream & operator<< (std::ostream &str, Match::Mode obj)
std::ostream & operator<< (std::ostream &str, const Match &obj)
std::ostream & operator<< (std::ostream &str, const ServiceInfo &obj)
std::ostream & operator<< (std::ostream &str, const SystemCheck &obj)
 IMPL_PTR_TYPE (SrcPackage)
 IMPL_PTR_TYPE (Target)
std::ostream & operator<< (std::ostream &str, const Target::DistributionLabel &obj)
 DEFINE_PTR_TYPE (Target)
UrlByScheme & g_urlSchemeRepository ()
bool isInList (const char **begin_r, const char **end_r, const std::string &scheme_r)
std::ostream & operator<< (std::ostream &str, const Url &url)
bool operator< (const Url &lhs, const Url &rhs)
 needed for std::set
bool operator== (const Url &lhs, const Url &rhs)
 needed for find
bool operator!= (const Url &lhs, const Url &rhs)
void vendorMatchIdReset ()
 Reset match cache if global VendorMap was changed.
unsigned vendorMatchId (IdString vendor)
 Helper mapping vendor string to eqivalence class ID.
std::ostream & operator<< (std::ostream &str, const VendorAttr &)
std::string asUserString (VendorSupportOption)
 converts the support option to a name intended to be printed to the user.
std::string asUserStringDescription (VendorSupportOption)
 converts the support option to a description intended to be printed to the user.
 ZYPP_DECLARE_FLAGS (VendorSupportOptions, VendorSupportOption)
Arch _autodetectSystemArchitecture ()
 Determine system architecture evaluating uname and /proc/cpuinfo.
Locale _autodetectTextLocale ()
 The locale to be used for texts and messages.
void reconfigureZConfig (const Pathname &override_r)
std::ostream & operator<< (std::ostream &str, const ZYppCommitPolicy &obj)
std::ostream & operator<< (std::ostream &str, const ZYppCommitResult &obj)
static ZYppGlobalLockglobalLock ()
std::ostream & operator<< (std::ostream &str, const ZYppFactory &obj)

Variables

const Arch Arch_empty (IdString::Empty)
const Arch Arch_noarch (_noarch)
const Arch Arch_i386 (_i386)
const Arch Arch_i486 (_i486)
const Arch Arch_i586 (_i586)
const Arch Arch_i686 (_i686)
const Arch Arch_athlon (_athlon)
const Arch Arch_x86_64 (_x86_64)
const Arch Arch_pentium3 (_pentium3)
const Arch Arch_pentium4 (_pentium4)
const Arch Arch_s390 (_s390)
const Arch Arch_s390x (_s390x)
const Arch Arch_ppc (_ppc)
const Arch Arch_ppc64 (_ppc64)
const Arch Arch_ia64 (_ia64)
const Arch Arch_alphaev67 (_alphaev67)
const Arch Arch_alphaev6 (_alphaev6)
const Arch Arch_alphapca56 (_alphapca56)
const Arch Arch_alphaev56 (_alphaev56)
const Arch Arch_alphaev5 (_alphaev5)
const Arch Arch_alpha (_alpha)
const Arch Arch_sparc64v (_sparc64v)
const Arch Arch_sparc64 (_sparc64)
const Arch Arch_sparcv9v (_sparcv9v)
const Arch Arch_sparcv9 (_sparcv9)
const Arch Arch_sparcv8 (_sparcv8)
const Arch Arch_sparc (_sparc)
const Arch Arch_armv7nhl (_armv7nhl)
const Arch Arch_armv7hl (_armv7hl)
const Arch Arch_armv7l (_armv7l)
const Arch Arch_armv6l (_armv6l)
const Arch Arch_armv5tejl (_armv5tejl)
const Arch Arch_armv5tel (_armv5tel)
const Arch Arch_armv5l (_armv5l)
const Arch Arch_armv4tl (_armv4tl)
const Arch Arch_armv4l (_armv4l)
const Arch Arch_armv3l (_armv3l)
const Arch Arch_sh3 (_sh3)
const Arch Arch_sh4 (_sh4)
const Arch Arch_sh4a (_sh4a)
std::map< std::string,
Dep::for_use_in_switch
_table
const char _sep = '|'
std::ofstream _log
unsigned _refcnt = 0
Pathname _fname
Pathname _fnameLastFail
static OtherDefaultLanguage otherDefaultLanguage
const char * PLUGIN_DEBUG = getenv( "ZYPP_PLUGIN_DEBUG" )
const long PLUGIN_TIMEOUT = str::strtonum<long>( getenv( "ZYPP_PLUGIN_TIMEOUT" ) )
const long PLUGIN_SEND_TIMEOUT = str::strtonum<long>( getenv( "ZYPP_PLUGIN_SEND_TIMEOUT" ) )
const long PLUGIN_RECEIVE_TIMEOUT = str::strtonum<long>( getenv( "ZYPP_PLUGIN_RECEIVE_TIMEOUT" ) )
Pathname _file = ""
CapabilitySet _require
CapabilitySet _conflict
VendorMap _vendorMap
unsigned int vendorGroupCounter
int _nextId = -1
VendorMatch _vendorMatch
bool _haveZYpp = false


Detailed Description

Easy-to use interface to the ZYPP dependency resolver.

Author: Stefan Hundhammer <sh@suse.de>


Typedef Documentation

istream reading gzip files as well as plain files.

Definition at line 275 of file GzStream.h.

ostream writing gzip files.

Definition at line 280 of file GzStream.h.

typedef std::tr1::unordered_set<Capability> zypp::CapabilitySet

Definition at line 35 of file Capability.h.

typedef std::list<ChangelogEntry> zypp::Changelog

List of ChangelogEntry.

Definition at line 53 of file Changelog.h.

typedef shared_ptr<FetcherIndex> zypp::FetcherIndex_Ptr

Definition at line 55 of file Fetcher.cc.

typedef shared_ptr<FetcherJob> zypp::FetcherJob_Ptr

Definition at line 116 of file Fetcher.cc.

typedef function<void ( const Pathname &file )> zypp::FileChecker

Functor signature used to check files.

Parameters:
file File to check.
Exceptions:
FileCheckException when the file does not validate and the user don't want to continue.

Definition at line 27 of file FileChecker.h.

typedef std::tr1::unordered_set<IdString> zypp::IdStringSet

Definition at line 26 of file IdString.h.

typedef std::map<std::string, std::string> zypp::OtherDefaultLanguage

Definition at line 24 of file Locale.cc.

typedef std::tr1::unordered_set<Locale> zypp::LocaleSet

Definition at line 28 of file Locale.h.

typedef AutoDispose<const Pathname> zypp::ManagedFile

A Pathname plus associated cleanup code to be executed when path is no longer needed.

Definition at line 27 of file ManagedFile.h.

A set of available products in media.

Definition at line 52 of file MediaProducts.h.

typedef std::pair<std::string,std::tr1::unordered_set<std::string> > zypp::CacheEntry [static]

lsof output line + files extracted so far for this PID

Definition at line 45 of file CheckAccessDeleted.cc.

typedef std::list<AttrMatchData> zypp::AttrMatchList [static]

Definition at line 342 of file PoolQuery.cc.

typedef std::list<ProblemSolution_Ptr> zypp::ProblemSolutionList

Definition at line 42 of file ProblemTypes.h.

typedef std::list<ProblemSolution_constPtr> zypp::CProblemSolutionList

Definition at line 43 of file ProblemTypes.h.

typedef std::list<ResolverProblem_Ptr> zypp::ResolverProblemList

Definition at line 46 of file ProblemTypes.h.

typedef std::list<ResolverProblem_constPtr> zypp::CResolverProblemList

Definition at line 47 of file ProblemTypes.h.

typedef vector<string> zypp::CapList

Definition at line 36 of file SystemCheck.cc.

typedef std::string zypp::Vendor

Definition at line 22 of file Vendor.h.

typedef map<Vendor,unsigned int> zypp::VendorMap [static]

Definition at line 50 of file VendorAttr.cc.

typedef DefaultIntegral<int,0> zypp::VendorMatchEntry [static]

Definition at line 61 of file VendorAttr.cc.

typedef std::tr1::unordered_map<IdString, VendorMatchEntry> zypp::VendorMatch [static]

Definition at line 62 of file VendorAttr.cc.

Definition at line 47 of file ZYppCommitResult.h.


Enumeration Type Documentation

Supported commit download policies.

Enumerator:
DownloadDefault  libzypp will decide what to do.
DownloadOnly  Just download all packages to the local cache.

Do not install. Implies a dry-run.

DownloadInAdvance  First download all packages to the local cache.

Then start to install.

DownloadInHeaps  Similar to DownloadInAdvance, but try to split the transaction into heaps, where at the end of each heap a consistent system state is reached.

DownloadAsNeeded  Alternating download and install.

Packages are cached just to avid CD/DVD hopping. This is the traditional behaviour.

Definition at line 22 of file DownloadMode.h.

Enumerator:
VendorSupportUnknown  The support for this package is unknown.
VendorSupportUnsupported  The package is known to be unsupported by the vendor.
VendorSupportACC  Additional Customer Contract necessary.
VendorSupportLevel1  Problem determination, which means technical support designed to provide compatibility information, installation assistance, usage support, on-going maintenance and basic troubleshooting.

Level 1 Support is not intended to correct product defect errors.

May have different semantics for different organizations.

VendorSupportLevel2  Problem isolation, which means technical support designed to duplicate customer problems, isolate problem area and provide resolution for problems not resolved by Level 1 Support.

May have different semantics for different organizations.

VendorSupportLevel3  Problem resolution, which means technical support designed to resolve complex problems by engaging engineering in resolution of product defects which have been identified by Level 2 Support.

May have different semantics for different organizations.

Definition at line 21 of file VendorSupportOptions.h.


Function Documentation

zypp::@13::DEF_BUILTIN ( noarch   )  [static]

zypp::@13::DEF_BUILTIN ( i386   )  [static]

zypp::@13::DEF_BUILTIN ( i486   )  [static]

zypp::@13::DEF_BUILTIN ( i586   )  [static]

zypp::@13::DEF_BUILTIN ( i686   )  [static]

zypp::@13::DEF_BUILTIN ( athlon   )  [static]

zypp::@13::DEF_BUILTIN ( x86_64   )  [static]

zypp::@13::DEF_BUILTIN ( pentium3   )  [static]

zypp::@13::DEF_BUILTIN ( pentium4   )  [static]

zypp::@13::DEF_BUILTIN ( s390   )  [static]

zypp::@13::DEF_BUILTIN ( s390x   )  [static]

zypp::@13::DEF_BUILTIN ( ppc   )  [static]

zypp::@13::DEF_BUILTIN ( ppc64   )  [static]

zypp::@13::DEF_BUILTIN ( ia64   )  [static]

zypp::@13::DEF_BUILTIN ( alphaev67   )  [static]

zypp::@13::DEF_BUILTIN ( alphaev6   )  [static]

zypp::@13::DEF_BUILTIN ( alphapca56   )  [static]

zypp::@13::DEF_BUILTIN ( alphaev56   )  [static]

zypp::@13::DEF_BUILTIN ( alphaev5   )  [static]

zypp::@13::DEF_BUILTIN ( alpha   )  [static]

zypp::@13::DEF_BUILTIN ( sparc64v   )  [static]

zypp::@13::DEF_BUILTIN ( sparcv9v   )  [static]

zypp::@13::DEF_BUILTIN ( sparc64   )  [static]

zypp::@13::DEF_BUILTIN ( sparcv9   )  [static]

zypp::@13::DEF_BUILTIN ( sparcv8   )  [static]

zypp::@13::DEF_BUILTIN ( sparc   )  [static]

zypp::@13::DEF_BUILTIN ( armv7nhl   )  [static]

zypp::@13::DEF_BUILTIN ( armv7hl   )  [static]

zypp::@13::DEF_BUILTIN ( armv7l   )  [static]

zypp::@13::DEF_BUILTIN ( armv6l   )  [static]

zypp::@13::DEF_BUILTIN ( armv5tejl   )  [static]

zypp::@13::DEF_BUILTIN ( armv5tel   )  [static]

zypp::@13::DEF_BUILTIN ( armv5l   )  [static]

zypp::@13::DEF_BUILTIN ( armv4tl   )  [static]

zypp::@13::DEF_BUILTIN ( armv4l   )  [static]

zypp::@13::DEF_BUILTIN ( armv3l   )  [static]

zypp::@13::DEF_BUILTIN ( sh3   )  [static]

zypp::@13::DEF_BUILTIN ( sh4   )  [static]

zypp::@13::DEF_BUILTIN ( sh4a   )  [static]

template<class _Iterator, class _Filter, class _Function>
int zypp::invokeOnEach ( _Iterator  begin_r,
_Iterator  end_r,
_Filter  filter_r,
_Function  fnc_r 
) [inline]

template<class _Iterator, class _Function>
int zypp::invokeOnEach ( _Iterator  begin_r,
_Iterator  end_r,
_Function  fnc_r 
) [inline]

Iterate through [begin_r,end_r) and invoke fnc_r on each item.

Iteration aborts if fnc_r returns false.

Returns:
Number of invokations of fnc_r, negative if loop was aborted by fnc_.

Definition at line 56 of file Algorithm.h.

std::ostream& zypp::operator<< ( std::ostream &  str,
const Exception &  obj 
)

Definition at line 120 of file Exception.cc.

References zypp::Exception::dumpError().

template<class _Excpt>
void zypp::_ZYPP_THROW ( const _Excpt &  excpt_r,
const exception_detail::CodeLocation &  where_r 
) [inline]

Helper for ZYPP_THROW macros.

Definition at line 287 of file Exception.h.

References zypp::Exception::log().

template<class _Excpt>
void zypp::_ZYPP_CAUGHT ( const _Excpt &  excpt_r,
const exception_detail::CodeLocation &  where_r 
) [inline]

Helper for ZYPP_THROW macros.

Definition at line 296 of file Exception.h.

References zypp::Exception::log().

template<class _Excpt>
void zypp::_ZYPP_RETHROW ( const _Excpt &  excpt_r,
const exception_detail::CodeLocation &  where_r 
) [inline]

Helper for ZYPP_THROW macros.

Definition at line 305 of file Exception.h.

References zypp::Exception::log().

std::streamoff zypp::@38::_heplerInitSize ( const Pathname &  file_r  )  [inline, static]

Definition at line 30 of file InputStream.cc.

References zypp::filesystem::zipType(), and zypp::filesystem::ZT_NONE.

std::ostream& zypp::operator<< ( std::ostream &  str,
const InputStream &  obj 
) [related]

Definition at line 151 of file InputStream.cc.

References zypp::InputStream::name(), and zypp::InputStream::stream().

template<class _Iterator>
std::ostream& zypp::dumpRange ( std::ostream &  str,
_Iterator  begin,
_Iterator  end,
const std::string &  intro = "{",
const std::string &  pfx = "\n  ",
const std::string &  sep = "\n  ",
const std::string &  sfx = "\n",
const std::string &  extro = "}" 
) [inline]

Print range defined by iterators (multiline style).

 intro [ pfx ITEM [ { sep ITEM }+ ] sfx ] extro

The defaults print the range enclosed in {}, one item per line indented by 2 spaces.

 {
   item1
   item2
 }
 {} // on empty range

A comma separated list enclosed in () would be:

 dumpRange( stream, begin, end, "(", "", ", ", "", ")" );
 // or shorter:
 dumpRangeLine( stream, begin, end );

Note:
Some special handling is required for printing std::maps. Therefore iomaipulators dumpMap, dumpKeys and dumpValues are provided.
 std::map<string,int> m;
 m["a"]=1;
 m["b"]=2;
 m["c"]=3;

 dumpRange( DBG, dumpMap(m).begin(), dumpMap(m).end() ) << endl;
 // {
 //   [a] = 1
 //   [b] = 2
 //   [c] = 3
 // }
 dumpRange( DBG, dumpKeys(m).begin(), dumpKeys(m).end() ) << endl;
 // {
 //   a
 //   b
 //   c
 // }
 dumpRange( DBG, dumpValues(m).begin(), dumpValues(m).end() ) << endl;
 // {
 //   1
 //   2
 //   3
 // }
 dumpRangeLine( DBG, dumpMap(m).begin(), dumpMap(m).end() ) << endl;
 // ([a] = 1, [b] = 2, [c] = 3)
 dumpRangeLine( DBG, dumpKeys(m).begin(), dumpKeys(m).end() ) << endl;
 // (a, b, c)
 dumpRangeLine( DBG, dumpValues(m).begin(), dumpValues(m).end() ) << endl;
 // (1, 2, 3)

Definition at line 91 of file LogTools.h.

Referenced by zypp::media::MediaHandler::checkAttached(), zypp::sat::dumpOn(), dumpOn(), dumpRangeLine(), zypp::Exception::historyAsString(), zypp::target::Modalias::Impl::operator<<(), zypp::sat::operator<<(), zypp::filesystem::operator<<(), zypp::_logtoolsdetail::DumpValues< _Map >::operator<<(), zypp::_logtoolsdetail::DumpKeys< _Map >::operator<<(), zypp::_logtoolsdetail::DumpMap< _Map >::operator<<(), operator<<(), zypp::target::SoftLocksFile::store(), and zypp::target::RequestedLocalesFile::store().

template<class _Iterator>
std::ostream& zypp::dumpRangeLine ( std::ostream &  str,
_Iterator  begin,
_Iterator  end 
) [inline]

Print range defined by iterators (single line style).

See also:
dumpRange

Definition at line 114 of file LogTools.h.

References dumpRange().

Referenced by zypp::PluginScript::Impl::open(), zypp::sat::operator<<(), operator<<(), zypp::sat::detail::PoolImpl::setTextLocale(), and zypp::solver::detail::SATResolver::solverInit().

template<class _Tp>
std::ostream& zypp::operator<< ( std::ostream &  str,
const std::vector< _Tp > &  obj 
) [inline]

Definition at line 120 of file LogTools.h.

References dumpRange().

template<class _Tp>
std::ostream& zypp::operator<< ( std::ostream &  str,
const std::set< _Tp > &  obj 
) [inline]

Definition at line 124 of file LogTools.h.

References dumpRange().

template<class _Tp>
std::ostream& zypp::operator<< ( std::ostream &  str,
const std::tr1::unordered_set< _Tp > &  obj 
) [inline]

Definition at line 128 of file LogTools.h.

References dumpRange().

template<class _Tp>
std::ostream& zypp::operator<< ( std::ostream &  str,
const std::multiset< _Tp > &  obj 
) [inline]

Definition at line 132 of file LogTools.h.

References dumpRange().

template<class _Tp>
std::ostream& zypp::operator<< ( std::ostream &  str,
const std::list< _Tp > &  obj 
) [inline]

Definition at line 136 of file LogTools.h.

References dumpRange().

template<class _Key, class _Tp>
std::ostream& zypp::operator<< ( std::ostream &  str,
const std::map< _Key, _Tp > &  obj 
) [inline]

Definition at line 333 of file LogTools.h.

template<class _Key, class _Tp>
std::ostream& zypp::operator<< ( std::ostream &  str,
const std::tr1::unordered_map< _Key, _Tp > &  obj 
) [inline]

Definition at line 337 of file LogTools.h.

template<class _Key, class _Tp>
std::ostream& zypp::operator<< ( std::ostream &  str,
const std::multimap< _Key, _Tp > &  obj 
) [inline]

Definition at line 341 of file LogTools.h.

std::ostream& zypp::operator<< ( std::ostream &  str,
const std::basic_ios< char > &  obj 
) [inline]

Print stream status bits.

Prints the values of a streams good, eof, failed and bad bit.

  [g___] - good
  [_eF_] - eof and fail bit set
  [__FB] - fail and bad bit set

Definition at line 353 of file LogTools.h.

template<class _Tp>
detail::Dump<_Tp> zypp::dump ( const _Tp &  obj_r  )  [inline]

Definition at line 384 of file LogTools.h.

std::ostream& zypp::operator<< ( std::ostream &  str,
const SerialNumber &  obj 
)

Definition at line 52 of file SerialNumber.cc.

References zypp::SerialNumber::_dirty, and zypp::SerialNumber::_serial.

std::ostream& zypp::operator<< ( std::ostream &  str,
const SerialNumberWatcher &  obj 
)

Definition at line 94 of file SerialNumber.cc.

References zypp::SerialNumberWatcher::_serial.

template<class _D>
std::tr1::unordered_set<_D>* zypp::rwcowClone ( const std::tr1::unordered_set< _D > *  rhs  )  [inline]

clone function for RW_pointer

Definition at line 44 of file Tr1hash.h.

template<class _K, class _V>
std::tr1::unordered_map<_K,_V>* zypp::rwcowClone ( const std::tr1::unordered_map< _K, _V > *  rhs  )  [inline]

clone function for RW_pointer

Definition at line 49 of file Tr1hash.h.

zypp::declException ( IgnoreRequestException  ,
IGNORE   
)

zypp::declException ( SkipRequestException  ,
SKIP   
)

zypp::declException ( RetryRequestException  ,
RETRY   
)

zypp::declException ( AbortRequestException  ,
ABORT   
)

std::ostream& zypp::operator<< ( std::ostream &  str,
const Capabilities &  obj 
) [related]

std::string::size_type zypp::@82::backskipWs ( const std::string &  str_r,
std::string::size_type  pos_r 
) [inline, static]

backward skip whitespace starting at pos_r

Definition at line 39 of file Capability.cc.

Referenced by splitOpEdition().

std::string::size_type zypp::@82::backskipNWs ( const std::string &  str_r,
std::string::size_type  pos_r 
) [inline, static]

backward skip non-whitespace starting at pos_r

Definition at line 51 of file Capability.cc.

Referenced by splitOpEdition().

void zypp::@82::splitOpEdition ( std::string &  str_r,
Rel &  op_r,
Edition &  ed_r 
) [static]

Split any 'op edition' from str_r.

Definition at line 63 of file Capability.cc.

References backskipNWs(), backskipWs(), zypp::Rel::EQ, zypp::Rel::GE, zypp::Rel::GT, zypp::Rel::LE, zypp::Rel::LT, zypp::Rel::NE, and zypp::Rel::parseFrom().

Referenced by relFromStr().

sat::detail::IdType zypp::@82::relFromStr ( ::_Pool *  pool_r,
const Arch &  arch_r,
const std::string &  name_r,
Rel  op_r,
const Edition &  ed_r,
const ResKind &  kind_r 
) [static]

sat::detail::IdType zypp::@82::relFromStr ( ::_Pool *  pool_r,
const std::string &  name_r,
Rel  op_r,
const Edition &  ed_r,
const ResKind &  kind_r 
) [static]

Build Capability from data, just parsing name for '[.arch]' and detect 'kind srcpackage' (will be mapped to arch src).

Definition at line 173 of file Capability.cc.

References Arch_empty, zypp::ui::asString(), zypp::IdStringType< Derived >::empty(), zypp::str::hasPrefix(), relFromStr(), and zypp::ResKind::srcpackage.

sat::detail::IdType zypp::@82::relFromStr ( ::_Pool *  pool_r,
const Arch &  arch_r,
const std::string &  str_r,
const ResKind &  kind_r,
Capability::CtorFlag  flag_r 
) [static]

Full parse from string, unless Capability::PARSED.

Definition at line 205 of file Capability.cc.

References zypp::Arch::empty(), relFromStr(), splitOpEdition(), and zypp::Capability::UNPARSED.

std::ostream& zypp::operator<< ( std::ostream &  str,
const Capability &  obj 
) [related]

Definition at line 430 of file Capability.cc.

References zypp::Capability::detail().

std::ostream& zypp::dumpOn ( std::ostream &  str,
const Capability &  obj 
) [related]

Definition at line 435 of file Capability.cc.

References zypp::Capability::detail().

Referenced by zypp::Resolvable::dumpOn().

std::ostream& zypp::operator<< ( std::ostream &  str,
const CapDetail &  obj 
) [related]

std::ostream& zypp::operator<< ( std::ostream &  str,
CapDetail::Kind  obj 
) [related]

std::ostream& zypp::operator<< ( std::ostream &  str,
CapDetail::CapRel  obj 
) [related]

std::ostream& zypp::operator<< ( std::ostream &  str,
const CapMatch &  obj 
)

std::ostream& zypp::operator<< ( std::ostream &  str,
const CheckSum &  obj 
) [related]

Definition at line 142 of file CheckSum.cc.

References zypp::CheckSum::checksum(), and zypp::CheckSum::type().

bool zypp::operator== ( const CountryCode &  lhs,
const CountryCode &  rhs 
) [related]

bool zypp::operator!= ( const CountryCode &  lhs,
const CountryCode &  rhs 
) [related]

static std::string zypp::adjustLocale (  )  [static]

Definition at line 101 of file Date.cc.

Referenced by zypp::Date::Date(), and zypp::Date::form().

static void zypp::restoreLocale ( const std::string &  locale  )  [static]

Definition at line 143 of file Date.cc.

Referenced by zypp::Date::Date(), and zypp::Date::form().

bool zypp::@92::isDST ( struct tm &  tm  )  [inline, static]

Definition at line 30 of file Date.cc.

Referenced by zypp::Date::Date().

Dep::for_use_in_switch zypp::@94::parse ( const std::string &  strval_r  )  [static]

std::ostream& zypp::operator<< ( std::ostream &  str,
const DiskUsage::Entry &  obj 
)

std::ostream& zypp::operator<< ( std::ostream &  str,
const DiskUsage &  obj 
)

Definition at line 80 of file DiskUsage.cc.

References zypp::DiskUsage::_dirs.

DiskUsageCounter::MountPointSet zypp::@100::calcDiskUsage ( DiskUsageCounter::MountPointSet  result,
const SatMap &  installedmap_r 
) [static]

std::ostream& zypp::operator<< ( std::ostream &  str,
const DiskUsageCounter::MountPoint &  obj 
) [related]

bool zypp::deserialize ( const std::string &  str_r,
DownloadMode &  result_r 
)

Definition at line 23 of file DownloadMode.cc.

References DownloadAsNeeded, DownloadInAdvance, DownloadInHeaps, DownloadOnly, and OUTS.

std::ostream& zypp::operator<< ( std::ostream &  str,
DownloadMode  obj 
)

std::string zypp::@104::makeevrstr ( const std::string &  version_r,
const std::string &  release_r,
Edition::epoch_t  epoch_r 
) [inline, static]

Definition at line 29 of file Edition.cc.

References zypp::str::numstring().

Referenced by makeevrstr().

std::string zypp::@104::makeevrstr ( const char *  version_r,
const char *  release_r,
Edition::epoch_t  epoch_r 
) [inline, static]

Definition at line 43 of file Edition.cc.

References makeevrstr().

zypp::ZYPP_DECLARE_OPERATORS_FOR_FLAGS ( FetcherJob::Flags   ) 

std::ostream& zypp::operator<< ( std::ostream &  str,
const FetcherJob_Ptr &  obj 
)

Definition at line 118 of file Fetcher.cc.

std::ostream& zypp::operator<< ( std::ostream &  str,
const Fetcher &  obj 
)

Definition at line 912 of file Fetcher.cc.

References zypp::Fetcher::_pimpl.

zypp::ZYPP_DECLARE_OPERATORS_FOR_FLAGS ( Fetcher::Options   ) 

std::ostream& zypp::operator<< ( std::ostream &  str,
const FileChecker &  obj 
)

Definition at line 141 of file FileChecker.cc.

void zypp::@115::openLog (  )  [inline, static]

Definition at line 79 of file HistoryLog.cc.

References ERR, zypp::ZConfig::historyLogFile(), and zypp::ZConfig::instance().

Referenced by refUp(), and zypp::HistoryLog::setRoot().

void zypp::@115::closeLog (  )  [inline, static]

Definition at line 93 of file HistoryLog.cc.

Referenced by refDown(), and zypp::HistoryLog::setRoot().

void zypp::@115::refUp (  )  [inline, static]

Definition at line 99 of file HistoryLog.cc.

References openLog().

Referenced by zypp::HistoryLog::HistoryLog().

void zypp::@115::refDown (  )  [inline, static]

Definition at line 106 of file HistoryLog.cc.

References closeLog().

Referenced by zypp::HistoryLog::~HistoryLog().

std::ostream& zypp::operator<< ( std::ostream &  str,
const HistoryActionID &  id 
) [related]

Definition at line 93 of file HistoryLogData.cc.

ostream& zypp::operator<< ( ostream &  str,
const HistoryItem &  obj 
)

Definition at line 121 of file HistoryLogData.cc.

References zypp::HistoryItem::dumpTo().

ostream& zypp::operator<< ( ostream &  str,
const HistoryItemInstall &  obj 
)

Definition at line 162 of file HistoryLogData.cc.

References zypp::HistoryItemInstall::dumpTo().

ostream& zypp::operator<< ( ostream &  str,
const HistoryItemRemove &  obj 
)

Definition at line 199 of file HistoryLogData.cc.

References zypp::HistoryItemRemove::dumpTo().

ostream& zypp::operator<< ( ostream &  str,
const HistoryItemRepoAdd &  obj 
)

Definition at line 232 of file HistoryLogData.cc.

References zypp::HistoryItemRepoAdd::dumpTo().

ostream& zypp::operator<< ( ostream &  str,
const HistoryItemRepoRemove &  obj 
)

Definition at line 262 of file HistoryLogData.cc.

References zypp::HistoryItemRepoRemove::dumpTo().

ostream& zypp::operator<< ( ostream &  str,
const HistoryItemRepoAliasChange &  obj 
)

Definition at line 293 of file HistoryLogData.cc.

References zypp::HistoryItemRepoAliasChange::dumpTo().

ostream& zypp::operator<< ( ostream &  str,
const HistoryItemRepoUrlChange &  obj 
)

Definition at line 324 of file HistoryLogData.cc.

References zypp::HistoryItemRepoUrlChange::dumpTo().

std::ostream& zypp::operator<< ( std::ostream &  str,
const HistoryItem &  obj 
)

std::ostream& zypp::operator<< ( std::ostream &  str,
const IdString &  obj 
) [related]

Definition at line 72 of file IdString.cc.

References zypp::IdString::c_str().

std::ostream& zypp::dumpOn ( std::ostream &  str,
const IdString &  obj 
) [related]

Definition at line 77 of file IdString.cc.

References zypp::IdString::c_str(), and zypp::IdString::id().

bool zypp::operator== ( const IdString &  lhs,
const char *  rhs 
) [inline]

Definition at line 128 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator== ( const IdString &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 131 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator== ( const char *  lhs,
const IdString &  rhs 
) [inline]

Definition at line 134 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator== ( const std::string &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 137 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator!= ( const IdString &  lhs,
const char *  rhs 
) [inline]

Definition at line 144 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator!= ( const IdString &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 147 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator!= ( const char *  lhs,
const IdString &  rhs 
) [inline]

Definition at line 150 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator!= ( const std::string &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 153 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator< ( const IdString &  lhs,
const char *  rhs 
) [inline]

Definition at line 160 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator< ( const IdString &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 163 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator< ( const char *  lhs,
const IdString &  rhs 
) [inline]

Definition at line 166 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator< ( const std::string &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 169 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator<= ( const IdString &  lhs,
const char *  rhs 
) [inline]

Definition at line 176 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator<= ( const IdString &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 179 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator<= ( const char *  lhs,
const IdString &  rhs 
) [inline]

Definition at line 182 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator<= ( const std::string &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 185 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator> ( const IdString &  lhs,
const char *  rhs 
) [inline]

Definition at line 192 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator> ( const IdString &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 195 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator> ( const char *  lhs,
const IdString &  rhs 
) [inline]

Definition at line 198 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator> ( const std::string &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 201 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator>= ( const IdString &  lhs,
const char *  rhs 
) [inline]

Definition at line 208 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator>= ( const IdString &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 211 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator>= ( const char *  lhs,
const IdString &  rhs 
) [inline]

Definition at line 214 of file IdString.h.

References zypp::IdString::compare().

bool zypp::operator>= ( const std::string &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 217 of file IdString.h.

References zypp::IdString::compare().

template<class Derived>
bool zypp::operator== ( const IdStringType< Derived > &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 175 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator== ( const IdStringType< Derived > &  lhs,
const char *  rhs 
) [inline]

Definition at line 179 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator== ( const IdStringType< Derived > &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 183 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator== ( const IdString &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 187 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator== ( const char *  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 191 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator== ( const std::string &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 195 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator!= ( const IdStringType< Derived > &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 204 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator!= ( const IdStringType< Derived > &  lhs,
const char *  rhs 
) [inline]

Definition at line 208 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator!= ( const IdStringType< Derived > &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 212 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator!= ( const IdString &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 216 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator!= ( const char *  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 220 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator!= ( const std::string &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 224 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator< ( const IdStringType< Derived > &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 233 of file IdStringType.h.

template<class Derived>
bool zypp::operator< ( const IdStringType< Derived > &  lhs,
const char *  rhs 
) [inline]

Definition at line 237 of file IdStringType.h.

template<class Derived>
bool zypp::operator< ( const IdStringType< Derived > &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 241 of file IdStringType.h.

template<class Derived>
bool zypp::operator< ( const IdString &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 245 of file IdStringType.h.

template<class Derived>
bool zypp::operator< ( const char *  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 249 of file IdStringType.h.

template<class Derived>
bool zypp::operator< ( const std::string &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 253 of file IdStringType.h.

template<class Derived>
bool zypp::operator<= ( const IdStringType< Derived > &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 262 of file IdStringType.h.

template<class Derived>
bool zypp::operator<= ( const IdStringType< Derived > &  lhs,
const char *  rhs 
) [inline]

Definition at line 266 of file IdStringType.h.

template<class Derived>
bool zypp::operator<= ( const IdStringType< Derived > &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 270 of file IdStringType.h.

template<class Derived>
bool zypp::operator<= ( const IdString &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 274 of file IdStringType.h.

template<class Derived>
bool zypp::operator<= ( const char *  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 278 of file IdStringType.h.

template<class Derived>
bool zypp::operator<= ( const std::string &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 282 of file IdStringType.h.

template<class Derived>
bool zypp::operator> ( const IdStringType< Derived > &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 291 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator> ( const IdStringType< Derived > &  lhs,
const char *  rhs 
) [inline]

Definition at line 295 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator> ( const IdStringType< Derived > &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 299 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator> ( const IdString &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 303 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator> ( const char *  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 307 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator> ( const std::string &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 311 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator>= ( const IdStringType< Derived > &  lhs,
const IdString &  rhs 
) [inline]

Definition at line 320 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator>= ( const IdStringType< Derived > &  lhs,
const char *  rhs 
) [inline]

Definition at line 324 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator>= ( const IdStringType< Derived > &  lhs,
const std::string &  rhs 
) [inline]

Definition at line 328 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator>= ( const IdString &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 332 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator>= ( const char *  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 336 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

template<class Derived>
bool zypp::operator>= ( const std::string &  lhs,
const IdStringType< Derived > &  rhs 
) [inline]

Definition at line 340 of file IdStringType.h.

References zypp::IdStringType< Derived >::compare().

zypp::IMPL_PTR_TYPE ( KeyRing   ) 

KeyRing::DefaultAccept zypp::@125::_keyRingDefaultAccept ( KeyRing::ACCEPT_NOTHING   )  [static]

zypp::DEFINE_PTR_TYPE ( KeyRing   ) 

template<typename KVMapOpts>
std::ostream& zypp::operator<< ( std::ostream &  str,
const KVMap< KVMapOpts > &  obj 
) [inline]

Definition at line 201 of file KVMap.h.

bool zypp::operator== ( const LanguageCode &  lhs,
const LanguageCode &  rhs 
) [related]

bool zypp::operator!= ( const LanguageCode &  lhs,
const LanguageCode &  rhs 
) [related]

template<class _OutputIterator>
static void zypp::scanProductsFile ( const Pathname &  file_r,
_OutputIterator  result 
) [inline, static]

FIXME: add a comment here.

..

Definition at line 58 of file MediaProducts.h.

References ERR, zypp::str::getline(), zypp::str::stripFirstWord(), zypp::str::TRIM, and ZYPP_THROW.

Referenced by productsInMedia().

template<class _OutputIterator>
void zypp::productsInMedia ( const Url &  url_r,
_OutputIterator  result 
) [inline]

Available products in a url location.

Parameters:
url_r url to inspect
result output iterator where MediaProductEntry items will be inserted.
Exceptions:
MediaException If accessng the media fails

Definition at line 88 of file MediaProducts.h.

References zypp::media::MediaManager::attach(), zypp::media::MediaManager::localPath(), MIL, zypp::media::MediaManager::open(), zypp::media::MediaManager::provideFile(), zypp::media::MediaManager::release(), scanProductsFile(), and ZYPP_CAUGHT.

Referenced by productsInMedia().

void zypp::productsInMedia ( const Url &  url_r,
MediaProductSet &  set 
)

Available products in a url location.

Parameters:
url_r url to inspect
set ef MediaProductEntry set where items will be inserted.
Exceptions:
MediaException If accessng the media fails

Definition at line 116 of file MediaProducts.h.

References productsInMedia().

zypp::IMPL_PTR_TYPE ( MediaSetAccess   ) 

zypp::DEFINE_PTR_TYPE ( MediaSetAccess   ) 

zypp::ZYPP_DECLARE_OPERATORS_FOR_FLAGS ( MediaSetAccess::ProvideFileOptions   ) 

void zypp::@199::addDataIf ( std::vector< CheckAccessDeleted::ProcInfo > &  data_r,
const CacheEntry &  cache_r 
) [inline, static]

Add cache to data if the process is accessing deleted files.

pid string in cache is the proc line (pcuLR), iles are lready in place. Always clear the cache.files!

Definition at line 51 of file CheckAccessDeleted.cc.

References for_, and zypp::filesystem::readlink().

Referenced by zypp::CheckAccessDeleted::check().

void zypp::@199::addCacheIf ( CacheEntry &  cache_r,
const std::string &  line_r,
bool  verbose_r 
) [inline, static]

Add file to cache if it refers to a deleted executable or library file:

  • Either the link count (k) is 0, or no link cout is present.

  • The type (t) is set to REG or DEL
  • The filedescriptor (f) is set to txt, mem or DEL

Definition at line 104 of file CheckAccessDeleted.cc.

References arrayBegin, arrayEnd, zypp::str::contains(), for_, and zypp::str::hasPrefix().

Referenced by zypp::CheckAccessDeleted::check().

std::ostream& zypp::operator<< ( std::ostream &  str,
const CheckAccessDeleted &  obj 
) [related]

std::ostream& zypp::operator<< ( std::ostream &  str,
const CheckAccessDeleted::ProcInfo &  obj 
) [related]

std::ostream& zypp::operator<< ( std::ostream &  str,
const OnMediaLocation &  obj 
)

zypp::IMPL_PTR_TYPE ( Package   ) 

zypp::IMPL_PTR_TYPE ( Patch   ) 

zypp::ZYPP_DECLARE_OPERATORS_FOR_FLAGS ( Patch::InteractiveFlags   ) 

zypp::IMPL_PTR_TYPE ( Pattern   ) 

std::ostream& zypp::operator<< ( std::ostream &  str,
const PluginFrame &  obj 
)

Definition at line 300 of file PluginFrame.cc.

References zypp::PluginFrame::_pimpl.

bool zypp::operator== ( const PluginFrame &  lhs,
const PluginFrame &  rhs 
)

void zypp::@270::setBlocking ( FILE *  file_r,
bool  yesno_r = true 
) [inline, static]

Definition at line 77 of file PluginScript.cc.

References ZYPP_THROW.

Referenced by setNonBlocking().

void zypp::@270::setNonBlocking ( FILE *  file_r,
bool  yesno_r = true 
) [inline, static]

Definition at line 100 of file PluginScript.cc.

References setBlocking().

Referenced by zypp::PluginScript::Impl::open().

std::ostream& zypp::operator<< ( std::ostream &  str,
const PluginScript &  obj 
)

Definition at line 510 of file PluginScript.cc.

References zypp::PluginScript::_pimpl.

zypp::declException ( PluginScriptNotConnected  ,
PluginScriptException   
)

Script connection not open.

zypp::declException ( PluginScriptDiedUnexpectedly  ,
PluginScriptException   
)

Script died unexpectedly.

zypp::declException ( PluginScriptTimeout  ,
PluginScriptException   
)

Communication timeout.

zypp::declException ( PluginScriptSendTimeout  ,
PluginScriptTimeout   
)

Timeout while sending data.

zypp::declException ( PluginScriptReceiveTimeout  ,
PluginScriptTimeout   
)

Timeout while receiving data.

PoolQuery zypp::@278::makeTrivialQuery ( IdString  ident_r  )  [inline, static]

bool zypp::@278::hardLockQueriesRemove ( pool::PoolTraits::HardLockQueries &  activeLocks_r,
IdString  ident_r 
) [inline, static]

Definition at line 87 of file PoolImpl.h.

References makeTrivialQuery().

Referenced by zypp::pool::PoolImpl::getHardLockQueries().

bool zypp::@278::hardLockQueriesAdd ( pool::PoolTraits::HardLockQueries &  activeLocks_r,
IdString  ident_r 
) [inline, static]

Definition at line 94 of file PoolImpl.h.

References for_, and makeTrivialQuery().

Referenced by zypp::pool::PoolImpl::getHardLockQueries().

std::ostream& zypp::operator<< ( std::ostream &  str,
const PoolItem &  obj 
)

Definition at line 288 of file PoolItem.cc.

References zypp::PoolItem::_pimpl.

std::ostream& zypp::operator<< ( std::ostream &  str,
const PoolItemBest &  obj 
) [related]

bool zypp::@286::isDependencyAttribute ( sat::SolvAttr  attr_r  )  [static]

Definition at line 46 of file PoolQuery.cc.

References arrayBegin, arrayEnd, and for_.

Referenced by zypp::PoolQuery::addDependency().

static string zypp::wildcards2regex ( const string &  str  )  [static]

Converts '*' and '?' wildcards within str into their regex equivalents.

Definition at line 658 of file PoolQuery.cc.

Referenced by zypp::PoolQuery::Impl::createRegex().

ostream& zypp::operator<< ( ostream &  str,
const PoolQuery &  obj 
)

Definition at line 1405 of file PoolQuery.cc.

References zypp::PoolQuery::asString().

std::ostream& zypp::dumpOn ( std::ostream &  str,
const PoolQuery &  obj 
) [related]

Definition at line 1408 of file PoolQuery.cc.

References zypp::PoolQuery::begin(), dumpRange(), and zypp::PoolQuery::end().

std::ostream& zypp::operator<< ( std::ostream &  str,
const PoolQueryResult &  obj 
) [related]

template<class OutputIterator>
void zypp::readPoolQueriesFromFile ( const zypp::filesystem::Pathname file,
OutputIterator  out 
) [inline]

sends to output iterator all queries readed from file.

  list<PoolQuery> s;
  insert_iterator<list<PoolQuery> > ii(s, s.end());
  readPoolQueriesFromStream(f,ii);

Definition at line 36 of file PoolQueryUtil.tcc.

References zypp::filesystem::Pathname::c_str(), zypp::str::form(), zypp::PoolQuery::recover(), and ZYPP_THROW.

Referenced by zypp::target::HardLocksFile::load(), zypp::Locks::read(), and zypp::Locks::readAndApply().

template<class InputIterator>
void zypp::writePoolQueriesToFile ( const zypp::filesystem::Pathname file,
InputIterator  begin,
InputIterator  end 
) [inline]

Writes all queries from begin to end.

Definition at line 61 of file PoolQueryUtil.tcc.

References zypp::filesystem::Pathname::c_str(), for_, zypp::str::form(), and ZYPP_THROW.

Referenced by zypp::Locks::save(), and zypp::target::HardLocksFile::store().

zypp::IMPL_PTR_TYPE ( ProblemSolution   ) 

ostream& zypp::operator<< ( ostream &  os,
const ProblemSolution &  solution 
)

ostream& zypp::operator<< ( ostream &  os,
const ProblemSolutionList &  solutionlist 
)

Definition at line 51 of file ProblemSolution.cc.

ostream& zypp::operator<< ( ostream &  os,
const CProblemSolutionList &  solutionlist 
)

Definition at line 60 of file ProblemSolution.cc.

zypp::DEFINE_PTR_TYPE ( Resolver   ) 

zypp::DEFINE_PTR_TYPE ( ProblemSolution   ) 

zypp::DEFINE_PTR_TYPE ( ResolverProblem   ) 

zypp::IMPL_PTR_TYPE ( Product   ) 

void zypp::@294::fillList ( std::list< Url > &  ret_r,
sat::Solvable  solv_r,
sat::SolvAttr  attr_r 
) [static]

Definition at line 34 of file Product.cc.

References zypp::sat::LookupAttr::begin(), zypp::sat::LookupAttr::end(), and for_.

Referenced by zypp::Product::flags().

void zypp::@294::fillList ( std::list< std::string > &  ret_r,
sat::Solvable  solv_r,
sat::SolvAttr  attr_r 
) [static]

Definition at line 48 of file Product.cc.

References zypp::sat::LookupAttr::begin(), zypp::sat::LookupAttr::end(), and for_.

std::ostream& zypp::operator<< ( std::ostream &  str,
const Product::UrlList &  obj 
) [related]

std::ostream& zypp::operator<< ( std::ostream &  str,
const ProgressData &  obj 
) [related]

ProgressData zypp::makeProgressData ( const InputStream &  input_r  )  [related]

bool zypp::@298::yes (  )  [static]

Definition at line 32 of file ProvideFilePolicy.cc.

Referenced by zypp::ProvideFilePolicy::failOnChecksumErrorCB().

bool zypp::@298::no (  )  [static]

Definition at line 33 of file ProvideFilePolicy.cc.

Referenced by zypp::ProvideFilePolicy::failOnChecksumErrorCB().

std::ostream& zypp::dumpOn ( std::ostream &  str,
const PublicKeyData &  obj 
) [related]

bool zypp::operator== ( const PublicKeyData &  lhs,
const PublicKeyData &  rhs 
) [related]

std::ostream& zypp::dumpOn ( std::ostream &  str,
const PublicKey &  obj 
) [related]

Definition at line 466 of file PublicKey.cc.

References zypp::PublicKey::dumpOn(), and zypp::PublicKey::keyData().

template<class _Tp, class _Compare>
bool zypp::overlaps ( const Range< _Tp, _Compare > &  lhs,
const Range< _Tp, _Compare > &  rhs 
) [inline]

template<class _Tp, class _Compare>
bool zypp::operator== ( const Range< _Tp, _Compare > &  lhs,
const Range< _Tp, _Compare > &  rhs 
) [inline]

template<class _Tp, class _Compare>
bool zypp::operator!= ( const Range< _Tp, _Compare > &  lhs,
const Range< _Tp, _Compare > &  rhs 
) [inline]

Definition at line 88 of file Range.h.

std::map<std::string,Rel::for_use_in_switch>::const_iterator zypp::@304::findStr ( const std::string &  strval_r  )  [static]

Rel::for_use_in_switch zypp::@304::parse ( const std::string &  strval_r  )  [static]

Definition at line 45 of file Rel.cc.

References findStr(), and ZYPP_THROW.

Rel::for_use_in_switch zypp::@304::parse ( const std::string &  strval_r,
const Rel &  default_r 
) [static]

Definition at line 55 of file Rel.cc.

References findStr(), and zypp::Rel::inSwitch().

std::ostream& zypp::operator<< ( std::ostream &  str,
const RepoInfo &  obj 
)

Definition at line 477 of file RepoInfo.cc.

References zypp::RepoInfo::dumpOn().

template<class Iterator>
bool zypp::@350::foundAliasIn ( const std::string &  alias_r,
Iterator  begin_r,
Iterator  end_r 
) [inline, static]

Check if alias_r is present in repo/service container.

Definition at line 103 of file RepoManager.cc.

References for_.

Referenced by foundAliasIn(), and zypp::RepoManager::refreshService().

template<class Container>
bool zypp::@350::foundAliasIn ( const std::string &  alias_r,
const Container &  cont_r 
) [inline, static]

Definition at line 112 of file RepoManager.cc.

References foundAliasIn().

template<class Iterator>
Iterator zypp::@350::findAlias ( const std::string &  alias_r,
Iterator  begin_r,
Iterator  end_r 
) [inline, static]

Find alias_r in repo/service container.

Definition at line 117 of file RepoManager.cc.

References for_.

Referenced by findAlias(), and zypp::RepoManager::refreshService().

template<class Container>
Container::iterator zypp::@350::findAlias ( const std::string &  alias_r,
Container &  cont_r 
) [inline, static]

Definition at line 126 of file RepoManager.cc.

References findAlias().

template<class Container>
Container::const_iterator zypp::@350::findAlias ( const std::string &  alias_r,
const Container &  cont_r 
) [inline, static]

Definition at line 130 of file RepoManager.cc.

References findAlias().

static std::list<RepoInfo> zypp::repositories_in_file ( const Pathname &  file  )  [static]

Reads RepoInfo's from a repo file.

Parameters:
file pathname of the file to read.

Definition at line 224 of file RepoManager.cc.

References zypp::RepoCollector::collect(), MIL, and zypp::RepoCollector::repos.

Referenced by zypp::RepoManager::modifyRepository(), readRepoFile(), zypp::RepoManager::removeRepository(), and repositories_in_dir().

static std::list<RepoInfo> zypp::repositories_in_dir ( const Pathname &  dir  )  [static]

List of RepoInfo's from a directory.

Goes trough every file ending with ".repo" in a directory and adds all RepoInfo's contained in that file.

Parameters:
dir pathname of the directory to read.

Definition at line 242 of file RepoManager.cc.

References _, zypp::str::form(), MIL, zypp::filesystem::readdir(), zypp::str::regex_match(), repositories_in_file(), and ZYPP_THROW.

Referenced by zypp::RepoManager::Impl::init_knownRepositories().

std::list< RepoInfo > zypp::readRepoFile ( const Url &  repo_file  ) 

Parses repo_file and returns a list of RepoInfo objects corresponding to repositories found within the file.

Parameters:
repo_file Valid URL of the repo file.
Returns:
found list<RepoInfo>
Exceptions:
MediaException If the access to the url fails
ParseException If the file parsing fails
Exception On other errors.

Definition at line 270 of file RepoManager.cc.

References DBG, zypp::Url::getPathName(), zypp::MediaSetAccess::provideFile(), repositories_in_file(), zypp::Url::setPathName(), and url.

Referenced by zypp::RepoManager::addRepositories().

void zypp::assert_alias ( const RepoInfo &  info  )  [inline]

void zypp::assert_alias ( const ServiceInfo &  info  )  [inline]

Definition at line 298 of file RepoManager.cc.

References _, zypp::repo::RepoInfoBase::alias(), and ZYPP_THROW.

void zypp::assert_urls ( const RepoInfo &  info  )  [inline]

Definition at line 311 of file RepoManager.cc.

References zypp::RepoInfo::baseUrlsEmpty(), and ZYPP_THROW.

Referenced by zypp::RepoManager::refreshMetadata().

void zypp::assert_url ( const ServiceInfo &  info  )  [inline]

Pathname zypp::rawcache_path_for_repoinfo ( const RepoManagerOptions &  opt,
const RepoInfo &  info 
) [inline]

Pathname zypp::rawproductdata_path_for_repoinfo ( const RepoManagerOptions &  opt,
const RepoInfo &  info 
) [inline]

Calculates the raw product metadata path for a repository, this is inside the raw cache dir, plus an optional path where the metadata is.

It should be different only for repositories that are not in the root of the media. for example /var/cache/zypp/alias/addondir

Definition at line 343 of file RepoManager.cc.

References assert_alias(), zypp::repo::RepoInfoBase::escaped_alias(), zypp::RepoInfo::path(), and zypp::RepoManagerOptions::repoRawCachePath.

Referenced by zypp::RepoManager::buildCache(), zypp::RepoManager::metadataStatus(), and zypp::RepoManager::touchIndexFile().

Pathname zypp::packagescache_path_for_repoinfo ( const RepoManagerOptions &  opt,
const RepoInfo &  info 
) [inline]

Pathname zypp::solv_path_for_repoinfo ( const RepoManagerOptions &  opt,
const RepoInfo &  info 
) [inline]

std::ostream& zypp::operator<< ( std::ostream &  str,
const RepoManager &  obj 
)

Definition at line 2233 of file RepoManager.cc.

References zypp::RepoManager::_pimpl.

std::ostream& zypp::operator<< ( std::ostream &  str,
const Repository &  obj 
) [related]

RepoStatus zypp::operator && ( const RepoStatus &  lhs,
const RepoStatus &  rhs 
)

combines 2 repostatus with a checksum based on both checksums and the newest timestamp

Definition at line 147 of file RepoStatus.cc.

References zypp::RepoStatus::checksum(), zypp::RepoStatus::empty(), zypp::RepoStatus::setChecksum(), zypp::RepoStatus::setTimestamp(), zypp::CheckSum::sha1(), and zypp::RepoStatus::timestamp().

std::ostream& zypp::operator<< ( std::ostream &  str,
const RepoStatus &  obj 
)

Definition at line 170 of file RepoStatus.cc.

References zypp::RepoStatus::_pimpl.

zypp::IMPL_PTR_TYPE ( ResObject   ) 

ResObject::Ptr zypp::makeResObject ( const sat::Solvable solvable_r  ) 

Create ResObject from sat::Solvable.

This function creates the apropriate kind of ResObject depending on the sat::Solvables kind, and returns a smart pointer to it.

If the sat::Solvables kind is not convertible, a NULL pointer is returned.

 sat::Solvable s;
 ResObject::Ptr p( makeResObject( s ) );
 ResObject::Ptr q( make<ResObject>( s ) );
 Package::Ptr   pkg( make<Package>( s ) );

Definition at line 116 of file ResObject.cc.

References zypp::sat::Solvable::kind(), zypp::Resolvable::kind(), OUTS, and zypp::ResObject::ResObject().

Referenced by zypp::target::TargetImpl::commit(), and zypp::PoolItem::makePoolItem().

template<class _Res>
ResTraits<_Res>::PtrType zypp::make ( const sat::Solvable &  solvable_r  )  [inline]

Directly create a certain kind of ResObject from sat::Solvable.

If the sat::Solvables kind is not appropriate, a NULL pointer is returned.

 sat::Solvable s;
 ResObject::Ptr p( makeResObject( s ) );
 ResObject::Ptr q( make<ResObject>( s ) );
 Package::Ptr   pkg( make<Package>( s ) );

Definition at line 236 of file ResObject.h.

template<>
ResObject::Ptr zypp::make< ResObject > ( const sat::Solvable &  solvable_r  )  [inline]

template<class _Res>
ResTraits< _Res >::constPtrType zypp::asKind ( const ResObject::constPtr &  p  )  [related]

Definition at line 256 of file ResObject.h.

zypp::IMPL_PTR_TYPE ( Resolvable   ) 

template<>
bool zypp::isKind< Resolvable > ( const Resolvable::constPtr &  p  )  [inline]

template<>
bool zypp::isKind< ResObject > ( const Resolvable::constPtr &  p  )  [inline]

zypp::IMPL_PTR_TYPE ( Resolver   ) 

std::ostream& zypp::operator<< ( std::ostream &  str,
const Resolver &  obj 
)

Definition at line 146 of file Resolver.cc.

References zypp::Resolver::_pimpl.

zypp::IMPL_PTR_TYPE ( ResolverProblem   ) 

ostream& zypp::operator<< ( ostream &  os,
const ResolverProblem &  problem 
)

ostream& zypp::operator<< ( ostream &  os,
const ResolverProblemList &  problemlist 
)

Definition at line 49 of file ResolverProblem.cc.

std::ostream& zypp::operator<< ( std::ostream &  str,
const ResPool &  obj 
)

ui::Selectable::Ptr zypp::@370::makeSelectablePtr ( pool::PoolImpl::Id2ItemT::const_iterator  begin_r,
pool::PoolImpl::Id2ItemT::const_iterator  end_r 
) [static]

Definition at line 73 of file ResPoolProxy.cc.

Referenced by zypp::ResPoolProxy::Impl::Impl().

std::ostream& zypp::operator<< ( std::ostream &  str,
const ResPoolProxy &  obj 
)

Definition at line 329 of file ResPoolProxy.cc.

References zypp::ResPoolProxy::_pimpl.

std::ostream& zypp::dumpOn ( std::ostream &  str,
const ResPoolProxy &  obj 
)

Definition at line 332 of file ResPoolProxy.cc.

References zypp::ResPoolProxy::_pimpl, and zypp::ResPoolProxy::dumpOn.

std::ostream& zypp::operator<< ( std::ostream &  str,
const ResStatus &  obj 
)

std::ostream& zypp::operator<< ( std::ostream &  str,
ResStatus::TransactValue  obj 
) [related]

std::ostream& zypp::operator<< ( std::ostream &  str,
ResStatus::TransactByValue  obj 
) [related]

template<typename _Res>
ResKind zypp::resKind (  )  [inline]

Convenient access to well known ResKinds.

 ResKind packagekind = ResKind::package;
 ResKind packagekind = resKind<Package>();

Definition at line 119 of file ResTraits.h.

template<typename _Res>
bool zypp::isKind ( const ResKind &  val_r  )  [inline]

Convenient test for ResKinds.

 ResKind value;
 if ( ResKind::package == value )
 if ( resKind<Package>() == value )
 if ( isKind<Package>( value ) )

Definition at line 130 of file ResTraits.h.

template<typename _Res>
bool zypp::isKind ( const std::string &  val_r  )  [inline]

Definition at line 134 of file ResTraits.h.

template<typename _Res>
bool zypp::isKind ( const char *  val_r  )  [inline]

Definition at line 138 of file ResTraits.h.

Referenced by zypp::Resolvable::isKind().

std::ostream& zypp::operator<< ( std::ostream &  str,
Match::Mode  obj 
)

std::ostream& zypp::operator<< ( std::ostream &  str,
const Match &  obj 
) [related]

std::ostream& zypp::operator<< ( std::ostream &  str,
const ServiceInfo &  obj 
) [related]

Definition at line 204 of file ServiceInfo.cc.

References zypp::ServiceInfo::dumpAsIniOn().

std::ostream& zypp::operator<< ( std::ostream &  str,
const SystemCheck &  obj 
)

Definition at line 116 of file SystemCheck.cc.

References _conflict, _file, and _require.

zypp::IMPL_PTR_TYPE ( SrcPackage   ) 

zypp::IMPL_PTR_TYPE ( Target   ) 

std::ostream& zypp::operator<< ( std::ostream &  str,
const Target::DistributionLabel &  obj 
) [related]

zypp::DEFINE_PTR_TYPE ( Target   ) 

UrlByScheme& zypp::@506::g_urlSchemeRepository (  )  [static]

bool zypp::@506::isInList ( const char **  begin_r,
const char **  end_r,
const std::string &  scheme_r 
) [inline, static]

std::ostream & zypp::operator<< ( std::ostream &  str,
const Url &  url 
)

Definition at line 840 of file Url.cc.

References zypp::Url::asString().

bool zypp::operator< ( const Url &  lhs,
const Url &  rhs 
)

needed for std::set

Definition at line 845 of file Url.cc.

References zypp::Url::asCompleteString().

bool zypp::operator== ( const Url &  lhs,
const Url &  rhs 
)

needed for find

Definition at line 850 of file Url.cc.

References zypp::Url::asCompleteString().

bool zypp::operator!= ( const Url &  lhs,
const Url &  rhs 
)

Definition at line 855 of file Url.cc.

References zypp::Url::asCompleteString().

void zypp::@509::vendorMatchIdReset (  )  [inline, static]

Reset match cache if global VendorMap was changed.

Definition at line 67 of file VendorAttr.cc.

Referenced by zypp::VendorAttr::_addVendorList().

unsigned zypp::@509::vendorMatchId ( IdString  vendor  )  [inline, static]

Helper mapping vendor string to eqivalence class ID.

  • Return the vendor strings eqivalence class ID stored in _vendorMatch.
  • If not found, assign and return the eqivalence class ID of the lowercased string.
  • If not found, assign and return a new ID (look into the predefined VendorMap (id>0), otherwise create a new ID (<0)).

Definition at line 81 of file VendorAttr.cc.

References _vendorMap, zypp::str::hasPrefix(), and zypp::str::toLower().

Referenced by zypp::VendorAttr::equivalent().

std::ostream& zypp::operator<< ( std::ostream &  str,
const VendorAttr &   
) [related]

Definition at line 313 of file VendorAttr.cc.

References _vendorMap, and for_.

std::string zypp::asUserString ( VendorSupportOption   ) 

converts the support option to a name intended to be printed to the user.

Note the description is based in the way Novell defines the support levels, and the semantics may be different for other vendors.

Definition at line 9 of file VendorSupportOptions.cc.

References _, VendorSupportACC, VendorSupportLevel1, VendorSupportLevel2, VendorSupportLevel3, VendorSupportUnknown, and VendorSupportUnsupported.

std::string zypp::asUserStringDescription ( VendorSupportOption   ) 

converts the support option to a description intended to be printed to the user.

Note the description is based in the way Novell defines the support levels, and the semantics may be different for other vendors.

Definition at line 34 of file VendorSupportOptions.cc.

References _, VendorSupportACC, VendorSupportLevel1, VendorSupportLevel2, VendorSupportLevel3, VendorSupportUnknown, and VendorSupportUnsupported.

zypp::ZYPP_DECLARE_FLAGS ( VendorSupportOptions  ,
VendorSupportOption   
)

Arch zypp::@515::_autodetectSystemArchitecture (  )  [static]

Determine system architecture evaluating uname and /proc/cpuinfo.

Definition at line 49 of file ZConfig.cc.

References Arch_i586, Arch_i686, Arch_noarch, Arch_sparc, Arch_sparc64, Arch_sparc64v, Arch_sparcv8, Arch_sparcv9, Arch_sparcv9v, ERR, zypp::str::hasPrefix(), MIL, and WAR.

Referenced by zypp::ZConfig::defaultSystemArchitecture().

Locale zypp::@515::_autodetectTextLocale (  )  [static]

The locale to be used for texts and messages.

For the encoding to be used the preference is

LC_ALL, LC_CTYPE, LANG

For the language of the messages to be used, the preference is

LANGUAGE, LC_ALL, LC_MESSAGES, LANG

Note that LANGUAGE can contain more than one locale name, it can be a list of locale names like for example

LANGUAGE=ja_JP.UTF-8:de_DE.UTF-8:fr_FR.UTF-8

Todo:
Support dynamic fallbacklists defined by LANGUAGE

Definition at line 142 of file ZConfig.cc.

References zypp::Locale::code(), and MIL.

Referenced by zypp::ZConfig::defaultTextLocale().

void zypp::reconfigureZConfig ( const Pathname override_r  ) 

Definition at line 552 of file ZConfig.cc.

std::ostream& zypp::operator<< ( std::ostream &  str,
const ZYppCommitPolicy &  obj 
) [related]

std::ostream& zypp::operator<< ( std::ostream &  str,
const ZYppCommitResult &  obj 
) [related]

static ZYppGlobalLock& zypp::@528::globalLock (  )  [static]

Definition at line 272 of file ZYppFactory.cc.

Referenced by zypp::ZYppFactory::getZYpp().

std::ostream& zypp::operator<< ( std::ostream &  str,
const ZYppFactory &  obj 
)

Definition at line 406 of file ZYppFactory.cc.


Variable Documentation

const Arch zypp::Arch_noarch(_noarch) [related]

const Arch zypp::Arch_i386(_i386) [related]

const Arch zypp::Arch_i486(_i486) [related]

const Arch zypp::Arch_i586(_i586) [related]

const Arch zypp::Arch_i686(_i686) [related]

const Arch zypp::Arch_athlon(_athlon) [related]

const Arch zypp::Arch_x86_64(_x86_64) [related]

const Arch zypp::Arch_pentium3(_pentium3) [related]

const Arch zypp::Arch_pentium4(_pentium4) [related]

const Arch zypp::Arch_s390(_s390) [related]

const Arch zypp::Arch_s390x(_s390x) [related]

const Arch zypp::Arch_ppc(_ppc) [related]

const Arch zypp::Arch_ppc64(_ppc64) [related]

const Arch zypp::Arch_ia64(_ia64) [related]

const Arch zypp::Arch_alphaev67(_alphaev67) [related]

const Arch zypp::Arch_alphaev6(_alphaev6) [related]

const Arch zypp::Arch_alphapca56(_alphapca56) [related]

const Arch zypp::Arch_alphaev56(_alphaev56) [related]

const Arch zypp::Arch_alphaev5(_alphaev5) [related]

const Arch zypp::Arch_alpha(_alpha) [related]

const Arch zypp::Arch_sparc64v(_sparc64v) [related]

const Arch zypp::Arch_sparc64(_sparc64) [related]

const Arch zypp::Arch_sparcv9v(_sparcv9v) [related]

const Arch zypp::Arch_sparcv9(_sparcv9) [related]

const Arch zypp::Arch_sparcv8(_sparcv8) [related]

const Arch zypp::Arch_sparc(_sparc) [related]

const Arch zypp::Arch_armv7nhl(_armv7nhl) [related]

const Arch zypp::Arch_armv7hl(_armv7hl) [related]

const Arch zypp::Arch_armv7l(_armv7l) [related]

const Arch zypp::Arch_armv6l(_armv6l) [related]

const Arch zypp::Arch_armv5tejl(_armv5tejl) [related]

const Arch zypp::Arch_armv5tel(_armv5tel) [related]

const Arch zypp::Arch_armv5l(_armv5l) [related]

const Arch zypp::Arch_armv4tl(_armv4tl) [related]

const Arch zypp::Arch_armv4l(_armv4l) [related]

const Arch zypp::Arch_armv3l(_armv3l) [related]

const Arch zypp::Arch_sh3(_sh3) [related]

const Arch zypp::Arch_sh4(_sh4) [related]

const Arch zypp::Arch_sh4a(_sh4a) [related]

std::map<std::string,Rel::for_use_in_switch> zypp::_table [static]

const char zypp::_sep = '|' [static]

std::ofstream zypp::_log [static]

unsigned zypp::_refcnt = 0 [static]

Definition at line 75 of file HistoryLog.cc.

Referenced by zypp::HistoryLog::setRoot().

Pathname zypp::_fname [static]

Definition at line 76 of file HistoryLog.cc.

Referenced by zypp::HistoryLog::fname(), and zypp::HistoryLog::setRoot().

Pathname zypp::_fnameLastFail [static]

Definition at line 77 of file HistoryLog.cc.

Definition at line 25 of file Locale.cc.

Referenced by zypp::Locale::Impl::fallback().

const char* zypp::PLUGIN_DEBUG = getenv( "ZYPP_PLUGIN_DEBUG" ) [static]

Definition at line 36 of file PluginScript.cc.

const long zypp::PLUGIN_TIMEOUT = str::strtonum<long>( getenv( "ZYPP_PLUGIN_TIMEOUT" ) ) [static]

Definition at line 177 of file PluginScript.cc.

const long zypp::PLUGIN_SEND_TIMEOUT = str::strtonum<long>( getenv( "ZYPP_PLUGIN_SEND_TIMEOUT" ) ) [static]

Definition at line 178 of file PluginScript.cc.

const long zypp::PLUGIN_RECEIVE_TIMEOUT = str::strtonum<long>( getenv( "ZYPP_PLUGIN_RECEIVE_TIMEOUT" ) ) [static]

Definition at line 179 of file PluginScript.cc.

Pathname zypp::_file = ""

unsigned int zypp::vendorGroupCounter [static]

Definition at line 52 of file VendorAttr.cc.

Referenced by zypp::VendorAttr::_addVendorList(), and zypp::VendorAttr::VendorAttr().

int zypp::_nextId = -1 [static]

Definition at line 63 of file VendorAttr.cc.

Definition at line 64 of file VendorAttr.cc.

bool zypp::_haveZYpp = false [static]

Definition at line 277 of file ZYppFactory.cc.

Referenced by zypp::ZYppFactory::getZYpp(), and zypp::ZYppFactory::haveZYpp().


Generated on Tue May 5 14:49:18 2015 for libzypp by  doxygen 1.5.6