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  Atom
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  DefaultFalseBool
 Bool whose default value is false. 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  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...
class  KindOf
 Maintain string values representing different kinds of a type. 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  UserRequestException
 Base for exceptions caused by explicit user request. More...
struct  IgnoreRequestException
struct  SkipRequestException
struct  RetryRequestException
struct  AbortRequestException
class  WatchFile
 Remember a files attributes to detect content changes. More...
class  ByteCount
 Store and operate with byte count. More...
class  Capability
 Resolvable capabilitiy. More...
struct  CapOrder
 Ordering relation used by CapSet. More...
struct  CapAndItem
class  CapFactory
 Factory for creating Capability. More...
class  CapMatch
 Tri state Capability match result. More...
class  MatchesCapability
 Functor testing whether argument matches a certain Capability. More...
class  ForEachMatchInCapSet
 Functor invoking action_r on each matching Capability in a CapSet. More...
class  ForEachMatchInPool
 Functor invoking action_r on each matching Capability in a ResPool. More...
struct  OncePerPoolItem
 Functor translating CapAndItem actions into PoolItem actions avoiding multiple invocations for the same PoolItem. More...
class  ChangelogEntry
 Single entry in a change log. More...
class  CheckSum
class  CountryCode
 Country codes (iso3166-1-alpha-2). More...
class  Date
 Store and operate on date (time_t). More...
struct  Dep
 Enumeration class of dependency types. More...
struct  Dependencies
 Helper keeping CapSet for all kinds of dependencies. More...
struct  DigestReport
class  Digest
class  DiskUsage
class  DiskUsageCounter
class  Edition
 Edition represents [epoch:]version[-release]. More...
class  ExternalProgram
struct  FetcherJob
 Class to encapsulate the OnMediaLocation object and the FileChecker together. More...
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
class  NullFileChecker
class  CompositeFileChecker
struct  KeyRingReport
struct  KeyRingSignals
class  KeyRingException
class  KeyRing
 Class that represent a text and multiple translations. More...
struct  KVMap
class  Language
 Language interface. More...
class  LanguageCode
 Language codes (iso639_2/iso639_1). More...
class  Locale
struct  MediaProductEntry
class  MediaSetAccess
 Media access layer responsible for handling files distributed on a set of media. More...
class  Message
 Class representing the message to be shown during update. More...
class  NameKindProxy
 Retrieve and maintain PoolItem of a certain name and kind. More...
struct  MultiLocale
 Handle data depending on a locale. More...
struct  NVR
 Helper storing Name and Edition. More...
struct  NVRA
 Helper storing Name, Edition and Arch. More...
struct  NVRAD
 Helper storing Name, Edition, Arch and Dependencies. 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...
struct  PackageKeyword
 Package keywords. More...
class  Patch
 Class representing a patch. More...
class  Pattern
 Pattern interface. More...
class  PoolItem_Ref
 Reference to a PoolItem connecting ResObject and ResStatus. 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
class  ProvideFilePolicy
 Policy for provideFile. More...
class  BadKeyException
 Exception thrown when the supplied key is not a valid gpg key. More...
class  PublicKey
 Class that represent a GPG Public Key. 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
struct  RepoCollector
struct  RepoManagerOptions
 Repo manager settings. More...
class  RepoManager
class  Repository
class  RepoStatus
class  ResObject
 Interface base for resolvable objects (common data). More...
class  Resolvable
 Interface base for resolvable objects (identification and dependencies). More...
class  Resolver
 Resolver interface. More...
class  ResolverProblem
class  ResPool
 Access to ResObject pool. More...
class  ResPoolManager
 Manage a ResObject pool. More...
struct  PoolItemSaver
 Tem. More...
struct  SelPoolHelper
class  ResPoolProxy
class  ResStatus
 Status bitfield. More...
class  ResStore
struct  ResolvableTraits
 Base of ResTraits. More...
struct  ResTraits
 ResTraits. More...
struct  ResTraits< Resolvable >
 ResTraits specialisation for Resolvable. More...
struct  ResTraits< ResObject >
 ResTraits specialisation for ResObject. More...
class  Script
 Class representing an update script. More...
class  Selection
 Selection interface. More...
class  Signature
class  SrcPackage
 SrcPackage interface. More...
class  SystemResObject
class  Target
class  TranslatedText
 Class that represent a text and multiple translations. More...
class  UpgradeOptions
class  UpgradeStatistics
class  Url
class  VendorAttr
class  ZConfig
 Interim helper class to collect global options and settings. More...
class  ZYpp
struct  ProgressReport
struct  ProgressReportAdaptor
class  ZYppCommitPolicy
struct  ZYppCommitResult
 Result returned from ZYpp::commit. More...
class  ZYppGlobalLock
class  ZYppFactoryException
class  ZYppFactory
 ZYpp factory class (Singleton). More...

Namespaces

namespace  debug
namespace  exception_detail
namespace  externalprogram
namespace  base
namespace  functor
namespace  gettext
namespace  gzstream_detail
namespace  iostr
 Iostream related utilities.
namespace  _logtoolsdetail
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  cache
namespace  HACK
namespace  callback
 Callbacks light.
namespace  capability
namespace  capfilter
namespace  capmatch_detail
namespace  data
namespace  detail
namespace  target
namespace  kvmap
namespace  locks
namespace  media
namespace  name_kind_proxy_details
namespace  parser
namespace  xml
namespace  filesystem
 Types and functions for filesystem operations.
namespace  pool
namespace  range_detail
namespace  applydeltarpm
 Namespace wrapping invocations of /usr/bin/applydeltarpm.
namespace  repo
namespace  packagedelta
namespace  resfilter
namespace  solver
namespace  zypp_detail
namespace  syscontent
namespace  storage
namespace  thread
namespace  ui
namespace  url
 Url details namespace.
namespace  zypp_readonly_hack

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::set
< Capability,
CapOrder
CapSet
typedef std::list
< ChangelogEntry
Changelog
 List of ChangelogEntry.
typedef shared_ptr
< FetcherJob
FetcherJob_Ptr
typedef function
< void(const
Pathname &file)> 
FileChecker
 Functor signature used to check files.
typedef std::map
< std::string,
std::string > 
OtherDefaultLanguage
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::string Label
 Single line of (human readable) text.
typedef std::string Text
 Single line of (human readable) text.
typedef std::string License
 Offer a License text and methods to remember confirmation.
typedef std::string PackageGroup
 An rpm package group value.
typedef std::list
< std::string > 
PackageKeywords
 Candidate for string unification?
typedef std::string Vendor
 Vendor.
typedef long ZmdId
 Id used inside ZMD.
typedef PoolItem_Ref PoolItem
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 std::list
< RepoInfo
RepoInfoList
typedef ResPool ResPool_Ref
typedef
boost::logic::tribool 
TriBool
 3-state boolean logic (true, false and indeterminate).
typedef std::map
< Vendor, bool > 
TrustMap
typedef std::set
< std::string > 
VendorList

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 (ia64)
 DEF_BUILTIN (s390)
 DEF_BUILTIN (s390x)
 DEF_BUILTIN (ppc)
 DEF_BUILTIN (ppc64)
static const string canonical_arch (const string &arch)
 IMPL_PTR_TYPE (Atom)
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 _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::list< _Tp > &obj)
template<class _Key, class _Tp>
std::ostream & operator<< (std::ostream &str, const std::map< _Key, _Tp > &obj)
std::ostream & operator<< (std::ostream &str, const std::basic_ios< char > &obj)
 Print stream status bits.
std::ostream & operator<< (std::ostream &str, const SerialNumber &obj)
std::ostream & operator<< (std::ostream &str, const SerialNumberWatcher &obj)
std::ostream & operator<< (std::ostream &str, const Capability &obj)
template<class _Cap>
bool isKind (const Capability &cap)
template<class _Res>
bool refersTo (const Capability &cap)
std::ostream & operator<< (std::ostream &str, const CapFactory &obj)
std::ostream & operator<< (std::ostream &str, const CapMatch &obj)
int forEachMatchIn (CapSet::const_iterator begin_r, CapSet::const_iterator end_r, const Capability &lhs_r, function< bool(const Capability &)> action_r)
 Algorithm invoking action_r on each CapSet entry that matches a given Capability.
int forEachMatchIn (const CapSet &capset_r, const Capability &lhs_r, function< bool(const Capability &)> action_r)
 Algorithm invoking action_r on each CapSet entry that matches a given Capability.
int forEachMatchIn (const CapSet &lhs_r, const CapSet &rhs_r, function< bool(const Capability &, const Capability &)> action_r)
 Invoke action_r on each matching pair of Capabilities within two CapSets.
bool hasMatches (const CapSet &lhs_r, const Capability &rhs_r)
 Return true if the CapSet contains at least one Capabilitiy that matches.
bool hasMatches (const CapSet &lhs_r, const CapSet &rhs_r)
 Return true if the CapSets contain at least one pair of Capabilities that match.
int forEachPoolItemMatchedBy (const ResPool &pool_r, const PoolItem &poolitem_r, const Dep &poolitemdep_r, function< bool(const CapAndItem &)> action_r)
 Find all items in a ResPool matched by a certain PoolItems dependency set.
int forEachPoolItemMatching (const ResPool &pool_r, const Dep &pooldep_r, const PoolItem &poolitem_r, function< bool(const CapAndItem &)> action_r)
 Find all items in a ResPool matching a certain PoolItem.
std::ostream & operator<< (std::ostream &str, const CapSet &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)
Dep::for_use_in_switch parse (const std::string &strval_r)
std::ostream & operator<< (std::ostream &str, const Dependencies &obj)
void filterUnwantedReq (const CapSet &from, CapSet &to)
void filterExtraProvides (const Dependencies &from, Dependencies &to)
void filterExtraSupplements (const Dependencies &from, Dependencies &to)
std::string findKernelFlavor (const CapSet &cset, const Dep &dep)
void rewriteKernelDeps (Dependencies &deps)
std::ostream & operator<< (std::ostream &str, const DiskUsage::Entry &obj)
std::ostream & operator<< (std::ostream &str, const DiskUsage &obj)
void addDu (DiskUsageCounter::MountPointSet &result_r, DiskUsage &du_r)
void delDu (DiskUsageCounter::MountPointSet &result_r, DiskUsage &du_r)
std::ostream & operator<< (std::ostream &str, const DiskUsageCounter::MountPoint &obj)
int rpmverscmp (const std::string &lhs, const std::string &rhs)
 Rpm version comparison.
std::ostream & operator<< (std::ostream &str, const Fetcher &obj)
std::ostream & operator<< (std::ostream &str, const FileChecker &obj)
 IMPL_PTR_TYPE (KeyRing)
static bool printLine (const string &line)
bool _keyRingDefaultAccept (getenv("ZYPP_KEYRING_DEFAULT_ACCEPT_ALL"))
 DEFINE_PTR_TYPE (KeyRing)
template<typename KVMapOpts>
std::ostream & operator<< (std::ostream &str, const KVMap< KVMapOpts > &obj)
 IMPL_PTR_TYPE (Language)
 DEFINE_PTR_TYPE (Language)
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)
void productsInMedia (const Url &url_r, MediaProductSet &set)
 IMPL_PTR_TYPE (MediaSetAccess)
 DEFINE_PTR_TYPE (MediaSetAccess)
 IMPL_PTR_TYPE (Message)
std::ostream & operator<< (std::ostream &str, const NameKindProxy &obj)
std::ostream & operator<< (std::ostream &str, const NVR &obj)
std::ostream & operator<< (std::ostream &str, const NVRA &obj)
std::ostream & operator<< (std::ostream &str, const NVRAD &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)
 IMPL_PTR_TYPE (Pattern)
 DEFINE_PTR_TYPE (Pattern)
std::ostream & operator<< (std::ostream &str, const CapAndItem &obj)
std::ostream & operator<< (std::ostream &str, const PoolItem_Ref &obj)
 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)
 DEFINE_PTR_TYPE (Product)
std::ostream & operator<< (std::ostream &str, const ProgressData &obj)
ProgressData makeProgressData (const InputStream &input_r)
bool yes ()
bool no ()
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)
Rel::for_use_in_switch parse (const std::string &strval_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)
static void cleanCacheInternal (cache::CacheStore &store, const RepoInfo &info, const ProgressData::ReceiverFnc &progressrcv=ProgressData::ReceiverFnc())
static std::list
< RepoInfo
repositories_in_file (const Pathname &file)
 Reads RepoInfo's from a repo file.
std::list< RepoInforeadRepoFile (const Url &repo_file)
 Parses repo_file and returns a list of RepoInfo objects corresponding to repositories found within the file.
static std::list
< RepoInfo
repositories_in_dir (const Pathname &dir)
static void assert_alias (const RepoInfo &info)
static void assert_urls (const RepoInfo &info)
static Pathname rawcache_path_for_repoinfo (const RepoManagerOptions &opt, const RepoInfo &info)
static Pathname generate_non_existing_name (const Pathname &dir, const std::string &basefilename)
 Generate a non existing filename in a directory, using a base name.
static std::string generate_filename (const RepoInfo &info)
std::ostream & operator<< (std::ostream &str, const RepoManager &obj)
std::ostream & operator<< (std::ostream &str, const Repository &obj)
bool operator== (const Repository &lhs, const Repository &rhs)
bool operator< (const Repository &lhs, const Repository &rhs)
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)
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)
 IMPL_PTR_TYPE (ResolverProblem)
ostream & operator<< (ostream &os, const ResolverProblem &problem)
ostream & operator<< (ostream &os, const ResolverProblemList &problemlist)
pool::PoolTraits::Impl_constPtr noPool ()
 the empty pool used by ResPool::ResPool()
std::ostream & operator<< (std::ostream &str, const ResPool &obj)
std::ostream & operator<< (std::ostream &str, const ResPoolManager &obj)
std::ostream & operator<< (std::ostream &str, const ResPoolProxy &obj)
std::ostream & operator<< (std::ostream &str, const ResStatus &obj)
std::ostream & operator<< (std::ostream &str, const ResStore &obj)
 DEFINE_PTR_TYPE (Resolvable)
 DEFINE_PTR_TYPE (ResObject)
 DEFINE_PTR_TYPE (Atom)
 DEFINE_PTR_TYPE (SrcPackage)
 DEFINE_PTR_TYPE (Selection)
 DEFINE_PTR_TYPE (Script)
 DEFINE_PTR_TYPE (Message)
 DEFINE_PTR_TYPE (SystemResObject)
 IMPL_PTR_TYPE (Script)
 IMPL_PTR_TYPE (Selection)
 IMPL_PTR_TYPE (SrcPackage)
 IMPL_PTR_TYPE (SystemResObject)
 IMPL_PTR_TYPE (Target)
 DEFINE_PTR_TYPE (Target)
UrlByScheme & g_urlSchemeRepository ()
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)
bool addTrustedVendor (const std::string &str_r)
bool trusted (const Vendor &vendor_r)
bool hasLcPrefix (const std::string &str_r, const std::string &pref_r)
 Helper: Lowercase prefix.
bool isSUSE (const Vendor &vnd_r)
 Helper: SuSE and equivalent vendors.
std::ostream & operator<< (std::ostream &str, const ZYppCommitPolicy &obj)
std::ostream & operator<< (std::ostream &str, const ZYppCommitResult &obj)
std::ostream & operator<< (std::ostream &str, const ZYppFactory &obj)

Variables

const Arch Arch_noarch (_noarch)
const Arch Arch_x86_64 (_x86_64)
const Arch Arch_athlon (_athlon)
const Arch Arch_i686 (_i686)
const Arch Arch_i586 (_i586)
const Arch Arch_i486 (_i486)
const Arch Arch_i386 (_i386)
const Arch Arch_s390x (_s390x)
const Arch Arch_s390 (_s390)
const Arch Arch_ppc64 (_ppc64)
const Arch Arch_ppc (_ppc)
const Arch Arch_ia64 (_ia64)
std::map
< std::string,
Dep::for_use_in_switch
_table
static
OtherDefaultLanguage 
otherDefaultLanguage
std::map
< std::string,
Rel::for_use_in_switch
_table
TrustMap _trustMap
VendorList _trustedVendors
static ZYppGlobalLock globalLock


Detailed Description

Easy-to use interface to the ZYPP dependency resolver.

Author: Stefan Hundhammer <sh@suse.de>


Typedef Documentation

typedef gzstream_detail::fXstream<std::istream,gzstream_detail::fgzstreambuf> zypp::ifgzstream

istream reading gzip files as well as plain files.

Definition at line 271 of file GzStream.h.

typedef gzstream_detail::fXstream<std::ostream,gzstream_detail::fgzstreambuf> zypp::ofgzstream

ostream writing gzip files.

Definition at line 276 of file GzStream.h.

typedef std::set<Capability,CapOrder> zypp::CapSet

Definition at line 22 of file CapSetFwd.h.

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

List of ChangelogEntry.

Definition at line 53 of file Changelog.h.

typedef shared_ptr<FetcherJob> zypp::FetcherJob_Ptr

Definition at line 49 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 33 of file FileChecker.h.

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

Definition at line 23 of file Locale.cc.

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.

typedef std::set<MediaProductEntry> zypp::MediaProductSet

A set of available products in media.

Definition at line 52 of file MediaProducts.h.

typedef PoolItem_Ref zypp::PoolItem

Definition at line 109 of file PoolItem.h.

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 std::list<RepoInfo> zypp::RepoInfoList

Definition at line 327 of file RepoInfo.h.

typedef ResPool zypp::ResPool_Ref

Todo:
rename class and eliminate typedef.

Definition at line 207 of file ResPool.h.

typedef std::map<Vendor,bool> zypp::TrustMap [static]

Definition at line 47 of file VendorAttr.cc.

typedef std::set<std::string> zypp::VendorList [static]

Definition at line 50 of file VendorAttr.cc.


Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

static const string zypp::canonical_arch ( const string &  arch  )  [static]

Definition at line 290 of file Arch.cc.

zypp::IMPL_PTR_TYPE ( Atom   ) 

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

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

Iteration aborts if fnc_r returns false.

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

Definition at line 30 of file Algorithm.h.

Referenced by zypp::PoolItemSaver::diffState(), zypp::solver::detail::Helper::findReinstallItem(), zypp::solver::detail::Helper::findUpdateItem(), zypp::ResPool::forEachMatchIn(), forEachMatchIn(), forEachPoolItemMatchedBy(), forEachPoolItemMatching(), zypp::solver::detail::hint_match(), zypp::solver::detail::Helper::isBestUninstalledItem(), zypp::locks::AddLockToPool::operator()(), zypp::solver::detail::ProblemSolutionUnlock::ProblemSolutionUnlock(), zypp::solver::detail::QueueItemUninstall::process(), zypp::solver::detail::QueueItemRequire::process(), zypp::solver::detail::QueueItemInstall::process(), zypp::solver::detail::QueueItemConflict::process(), zypp::solver::detail::InstallOrder::rdfsvisit(), zypp::solver::detail::ResolverContext::requirementIsMet(), zypp::solver::detail::ResolverContext::requirementIsPossible(), and zypp::solver::detail::setForInstallation().

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.

Referenced by zypp::solver::detail::ConflictProcess::operator()().

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

Definition at line 102 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 275 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 284 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 293 of file Exception.h.

References zypp::Exception::log().

std::streamoff zypp::@27::_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 87 of file LogTools.h.

Referenced by dumpRangeLine(), zypp::Exception::historyAsString(), zypp::_logtoolsdetail::DumpValues< _Map >::operator<<(), zypp::_logtoolsdetail::DumpKeys< _Map >::operator<<(), zypp::_logtoolsdetail::DumpMap< _Map >::operator<<(), and operator<<().

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 110 of file LogTools.h.

References dumpRange().

Referenced by zypp::packagedelta::operator<<().

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

Definition at line 116 of file LogTools.h.

References dumpRange(), and zypp::solver::detail::str.

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

Definition at line 120 of file LogTools.h.

References dumpRange(), and zypp::solver::detail::str.

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

Definition at line 124 of file LogTools.h.

References dumpRange(), and zypp::solver::detail::str.

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

Definition at line 329 of file LogTools.h.

References zypp::solver::detail::str.

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 341 of file LogTools.h.

References zypp::solver::detail::str.

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.

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

Definition at line 81 of file Capability.cc.

References zypp::Capability::_pimpl.

template<class _Cap>
bool zypp::isKind ( const Capability &  cap  )  [inline]

Definition at line 143 of file Capability.h.

References zypp::Capability::kind().

template<class _Res>
bool zypp::refersTo ( const Capability &  cap  )  [inline]

Definition at line 147 of file Capability.h.

References zypp::Capability::refers().

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

Definition at line 313 of file CapFactory.cc.

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

Definition at line 32 of file CapMatch.cc.

References zypp::CapMatch::_result, zypp::CapMatch::IRRELEVANT, and zypp::CapMatch::MATCH.

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

Definition at line 28 of file CapSet.cc.

References zypp::filesystem::copy().

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

Definition at line 120 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]

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

Definition at line 29 of file Dep.cc.

References zypp::Dep::CONFLICTS_e, zypp::Dep::ENHANCES_e, zypp::Dep::FRESHENS_e, zypp::Dep::OBSOLETES_e, zypp::Dep::PREREQUIRES_e, zypp::Dep::PROVIDES_e, zypp::Dep::RECOMMENDS_e, zypp::Dep::REQUIRES_e, zypp::Dep::SUGGESTS_e, zypp::Dep::SUPPLEMENTS_e, zypp::str::toLower(), and ZYPP_THROW.

Referenced by zypp::Language::availableInstance(), and zypp::Language::installedInstance().

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

Definition at line 28 of file Dependencies.cc.

References zypp::Dep::CONFLICTS, zypp::Dep::ENHANCES, zypp::Dep::FRESHENS, zypp::Dep::OBSOLETES, zypp::Dep::PREREQUIRES, zypp::Dep::PROVIDES, zypp::Dep::RECOMMENDS, zypp::Dep::REQUIRES, zypp::Dep::SUGGESTS, and zypp::Dep::SUPPLEMENTS.

void zypp::@174::filterUnwantedReq ( const CapSet &  from,
CapSet &  to 
) [static]

Definition at line 42 of file ResolvableImpl.cc.

void zypp::@174::filterExtraProvides ( const Dependencies &  from,
Dependencies &  to 
) [static]

Definition at line 140 of file ResolvableImpl.cc.

References languages, zypp::Dep::PROVIDES, and zypp::Dep::SUPPLEMENTS.

void zypp::@174::filterExtraSupplements ( const Dependencies &  from,
Dependencies &  to 
) [static]

Definition at line 162 of file ResolvableImpl.cc.

References zypp::Dep::SUPPLEMENTS.

std::string zypp::@174::findKernelFlavor ( const CapSet &  cset,
const Dep &  dep 
) [static]

Definition at line 188 of file ResolvableImpl.cc.

References zypp::Edition::noedition, and zypp::Dep::REQUIRES.

Referenced by rewriteKernelDeps().

void zypp::@174::rewriteKernelDeps ( Dependencies &  deps  )  [static]

Definition at line 209 of file ResolvableImpl.cc.

References findKernelFlavor(), zypp::CapFactory::parse(), zypp::Dep::PROVIDES, and zypp::Dep::REQUIRES.

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

Definition at line 20 of file DiskUsage.cc.

References zypp::DiskUsage::Entry::_files, zypp::DiskUsage::Entry::_size, and zypp::DiskUsage::Entry::path.

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

Definition at line 80 of file DiskUsage.cc.

References zypp::DiskUsage::_dirs.

void zypp::@192::addDu ( DiskUsageCounter::MountPointSet &  result_r,
DiskUsage &  du_r 
) [inline, static]

Definition at line 37 of file DiskUsageCounter.cc.

References zypp::DiskUsage::Entry::_size, zypp::DiskUsage::extract(), and for_.

Referenced by zypp::DiskUsageCounter::disk_usage().

void zypp::@192::delDu ( DiskUsageCounter::MountPointSet &  result_r,
DiskUsage &  du_r 
) [inline, static]

Definition at line 51 of file DiskUsageCounter.cc.

References zypp::DiskUsage::Entry::_size, zypp::DiskUsage::extract(), and for_.

Referenced by zypp::DiskUsageCounter::disk_usage().

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

Definition at line 266 of file DiskUsageCounter.cc.

References zypp::DiskUsageCounter::MountPoint::block_size, zypp::DiskUsageCounter::MountPoint::dir, zypp::DiskUsageCounter::MountPoint::pkg_size, zypp::DiskUsageCounter::MountPoint::total_size, and zypp::DiskUsageCounter::MountPoint::used_size.

int zypp::@195::rpmverscmp ( const std::string &  lhs,
const std::string &  rhs 
) [static]

Rpm version comparison.

lhs and rhs are expected to be either version or release strings. Not both separated by a '-'.

Returns:
-1,0,1 if version strings are <,==,>
Todo:
review

Definition at line 40 of file Edition.cc.

Referenced by zypp::Edition::compare(), and zypp::Edition::match().

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

Definition at line 302 of file Fetcher.cc.

References zypp::Fetcher::_pimpl.

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

Definition at line 132 of file FileChecker.cc.

zypp::IMPL_PTR_TYPE ( KeyRing   ) 

static bool zypp::printLine ( const string &  line  )  [static]

Definition at line 45 of file KeyRing.cc.

References MIL.

bool zypp::@203::_keyRingDefaultAccept ( getenv("ZYPP_KEYRING_DEFAULT_ACCEPT_ALL")   )  [static]

Referenced by zypp::KeyRingReport::askUserToImportKey(), and zypp::KeyRingReport::askUserToTrustKey().

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.

References zypp::solver::detail::str.

zypp::IMPL_PTR_TYPE ( Language   ) 

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::attachDesiredMedia(), 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::IMPL_PTR_TYPE ( Message   ) 

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

Definition at line 77 of file NameKindProxy.cc.

References zypp::NameKindProxy::availableBegin(), zypp::NameKindProxy::availableEnd(), zypp::NameKindProxy::availableSize(), zypp::NameKindProxy::installedBegin(), zypp::NameKindProxy::installedEnd(), zypp::NameKindProxy::installedSize(), zypp::NameKindProxy::kind(), and zypp::NameKindProxy::name().

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

Definition at line 34 of file NVR.cc.

References zypp::NVR::edition, and zypp::NVR::name.

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

Definition at line 36 of file NVRA.cc.

References zypp::NVRA::arch, zypp::NVR::edition, and zypp::NVR::name.

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

Definition at line 29 of file NVRAD.cc.

References zypp::NVRA::arch, zypp::NVR::edition, and zypp::NVR::name.

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

Definition at line 28 of file OnMediaLocation.cc.

References zypp::OnMediaLocation::checksum(), zypp::OnMediaLocation::downloadSize(), zypp::OnMediaLocation::filename(), and zypp::OnMediaLocation::medianr().

zypp::IMPL_PTR_TYPE ( Package   ) 

zypp::IMPL_PTR_TYPE ( Patch   ) 

zypp::IMPL_PTR_TYPE ( Pattern   ) 

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

Definition at line 28 of file PoolImpl.cc.

References zypp::CapAndItem::cap, and zypp::CapAndItem::item.

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

Definition at line 199 of file PoolItem.cc.

References zypp::PoolItem_Ref::_pimpl.

zypp::IMPL_PTR_TYPE ( ProblemSolution   ) 

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

Definition at line 41 of file ProblemSolution.cc.

References zypp::ProblemSolution::_actions, zypp::ProblemSolution::_description, and zypp::ProblemSolution::_details.

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   ) 

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

Definition at line 107 of file ProgressData.cc.

References zypp::str::form(), zypp::ProgressData::hasRange(), zypp::ProgressData::max(), zypp::ProgressData::min(), zypp::ProgressData::name(), zypp::base::ProvideNumericId< _Derived, _NumericIdType >::numericId(), and zypp::ProgressData::val().

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

Definition at line 125 of file ProgressData.cc.

References zypp::InputStream::name(), zypp::ProgressData::name(), zypp::ProgressData::range(), and zypp::InputStream::size().

Referenced by zypp::parser::TagParser::parse(), zypp::parser::susetags::ContentFileReader::parse(), and zypp::parser::IniParser::parse().

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

Definition at line 32 of file ProvideFilePolicy.cc.

Referenced by zypp::ProvideFilePolicy::failOnChecksumErrorCB(), and zypp::solver::detail::ConflictProcess::operator()().

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

Definition at line 33 of file ProvideFilePolicy.cc.

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

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

Definition at line 68 of file Range.h.

References zypp::Range< _Tp, _Compare >::overlaps().

Referenced by zypp::capability::NamedCap::matches(), and zypp::Range< _Tp, _Compare >::overlaps().

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

Definition at line 75 of file Range.h.

References zypp::Rel::ANY, zypp::Rel::EQ, zypp::Rel::NONE, zypp::Range< _Tp, _Compare >::op, and zypp::Range< _Tp, _Compare >::value.

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.

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

Definition at line 28 of file Rel.cc.

References zypp::Rel::ANY_e, zypp::Rel::EQ_e, zypp::Rel::GE_e, zypp::Rel::GT_e, zypp::Rel::LE_e, zypp::Rel::LT_e, zypp::Rel::NE_e, zypp::Rel::NONE_e, and ZYPP_THROW.

Referenced by iobind::parser::xml_escape_parser::escape(), zypp::parser::susetags::FileReaderBase::BaseImpl::CapImplCache::get(), zypp::capability::parse(), and iobind::parser::xml_escape_parser::unescape().

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

Definition at line 304 of file RepoInfo.cc.

References zypp::RepoInfo::dumpOn().

static void zypp::cleanCacheInternal ( cache::CacheStore store,
const RepoInfo info,
const ProgressData::ReceiverFnc progressrcv = ProgressData::ReceiverFnc() 
) [static]

Internal version of clean cache Takes an extra CacheStore reference, so we avoid internally having 2 CacheStores writing to the same database.

Definition at line 108 of file RepoManager.cc.

References _, zypp::RepoInfo::alias(), zypp::cache::CacheStore::cleanRepository(), zypp::str::form(), zypp::cache::CacheStore::isCached(), zypp::cache::CacheStore::lookupRepository(), MIL, zypp::RepoInfo::name(), zypp::ProgressData::name(), report, and zypp::ProgressData::sendTo().

Referenced by zypp::RepoManager::buildCache(), and zypp::RepoManager::cleanCache().

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 135 of file RepoManager.cc.

References MIL, and zypp::RepoCollector::repos.

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

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 145 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().

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

List of RepoInfo's from a directory Goes trough every file in a directory and adds all RepoInfo's contained in that file.

Parameters:
dir pathname of the directory to read.

Definition at line 170 of file RepoManager.cc.

References MIL, zypp::filesystem::readdir(), repositories_in_file(), and ZYPP_THROW.

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

static void zypp::assert_alias ( const RepoInfo info  )  [static]

Definition at line 191 of file RepoManager.cc.

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

Referenced by zypp::RepoManager::addRepository(), zypp::RepoManager::buildCache(), zypp::RepoManager::checkIfToRefreshMetadata(), rawcache_path_for_repoinfo(), and zypp::RepoManager::refreshMetadata().

static void zypp::assert_urls ( const RepoInfo info  )  [static]

Definition at line 199 of file RepoManager.cc.

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

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

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

Calculates the raw cache path for a repository

Definition at line 210 of file RepoManager.cc.

References zypp::RepoInfo::alias(), assert_alias(), and zypp::RepoManagerOptions::repoRawCachePath.

Referenced by zypp::RepoManager::buildCache(), zypp::RepoManager::checkIfToRefreshMetadata(), zypp::RepoManager::cleanMetadata(), zypp::RepoManager::knownRepositories(), zypp::RepoManager::metadataPath(), zypp::RepoManager::metadataStatus(), zypp::RepoManager::refreshMetadata(), and zypp::RepoManager::touchIndexFile().

static Pathname zypp::generate_non_existing_name ( const Pathname dir,
const std::string &  basefilename 
) [static]

Generate a non existing filename in a directory, using a base name.

For example if a directory contains 3 files

|-- bar |-- foo `-- moo

If you try to generate a unique filename for this directory, based on "ruu" you will get "ruu", but if you use the base "foo" you will get "foo_1"

Parameters:
dir Directory where the file needs to be unique
basefilename string to base the filename on.

Definition at line 870 of file RepoManager.cc.

References zypp::str::numstring().

Referenced by zypp::RepoManager::addRepositories(), and zypp::RepoManager::addRepository().

static std::string zypp::generate_filename ( const RepoInfo info  )  [static]

Generate a related filename from a repo info From a repo info, it will try to use the alias as a filename escaping it if necessary. Other fallbacks can be added to this function in case there is no way to use the alias

Definition at line 892 of file RepoManager.cc.

References zypp::RepoInfo::alias(), and MIL.

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

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

Definition at line 1193 of file RepoManager.cc.

References zypp::RepoManager::_pimpl.

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

Definition at line 66 of file Repository.cc.

References zypp::RepoInfo::alias(), and zypp::Repository::info().

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

Definition at line 71 of file Repository.cc.

References zypp::RepoInfo::alias(), and zypp::Repository::info().

bool zypp::operator< ( const Repository &  lhs,
const Repository &  rhs 
) [related]

Definition at line 76 of file Repository.cc.

References zypp::RepoInfo::alias(), and zypp::Repository::info().

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 115 of file RepoStatus.cc.

References zypp::CheckSum::checksum(), zypp::RepoStatus::checksum(), 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 133 of file RepoStatus.cc.

References zypp::RepoStatus::_pimpl.

zypp::IMPL_PTR_TYPE ( ResObject   ) 

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

Definition at line 176 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   ) 

zypp::IMPL_PTR_TYPE ( ResolverProblem   ) 

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

Definition at line 38 of file ResolverProblem.cc.

References zypp::ResolverProblem::_description, zypp::ResolverProblem::_details, and zypp::ResolverProblem::_solutions.

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

Definition at line 49 of file ResolverProblem.cc.

pool::PoolTraits::Impl_constPtr zypp::@478::noPool (  )  [static]

the empty pool used by ResPool::ResPool()

Definition at line 28 of file ResPool.cc.

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

Definition at line 123 of file ResPool.cc.

References zypp::ResPool::_pimpl.

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

Definition at line 59 of file ResPoolManager.cc.

References zypp::ResPoolManager::_pimpl.

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

Definition at line 311 of file ResPoolProxy.cc.

References zypp::ResPoolProxy::_pimpl.

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

Definition at line 85 of file ResStatus.cc.

References zypp::ResStatus::isByApplHigh(), zypp::ResStatus::isByApplLow(), zypp::ResStatus::isBySolver(), zypp::ResStatus::isByUser(), zypp::ResStatus::isEstablishedIncomplete(), zypp::ResStatus::isEstablishedSatisfied(), zypp::ResStatus::isEstablishedUneeded(), zypp::ResStatus::isImpossible(), zypp::ResStatus::isInstalled(), zypp::ResStatus::isLocked(), zypp::ResStatus::isSeen(), zypp::ResStatus::isToBeInstalledSoft(), zypp::ResStatus::isToBeUninstalledDueToObsolete(), zypp::ResStatus::isToBeUninstalledDueToUnlink(), zypp::ResStatus::isToBeUninstalledDueToUpgrade(), and zypp::ResStatus::transacts().

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

Definition at line 96 of file ResStore.cc.

References zypp::ResStore::size().

zypp::IMPL_PTR_TYPE ( Script   ) 

zypp::IMPL_PTR_TYPE ( Selection   ) 

zypp::IMPL_PTR_TYPE ( SrcPackage   ) 

zypp::IMPL_PTR_TYPE ( SystemResObject   ) 

zypp::IMPL_PTR_TYPE ( Target   ) 

zypp::DEFINE_PTR_TYPE ( Target   ) 

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

Definition at line 264 of file Url.cc.

Referenced by zypp::Url::getRegisteredSchemes(), zypp::Url::isRegisteredScheme(), zypp::Url::parseUrl(), zypp::Url::registerScheme(), and zypp::Url::setScheme().

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

Definition at line 793 of file Url.cc.

References zypp::Url::asString().

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

needed for std::set

Definition at line 798 of file Url.cc.

References zypp::Url::asCompleteString().

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

needed for find

Definition at line 803 of file Url.cc.

References zypp::Url::asCompleteString().

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

Definition at line 808 of file Url.cc.

References zypp::Url::asCompleteString().

bool zypp::@678::addTrustedVendor ( const std::string &  str_r  )  [static]

Definition at line 53 of file VendorAttr.cc.

References zypp::str::toLower(), and zypp::str::trim().

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

bool zypp::@678::trusted ( const Vendor &  vendor_r  )  [static]

Definition at line 63 of file VendorAttr.cc.

References zypp::str::toLower().

Referenced by zypp::VendorAttr::autoProtect(), and zypp::VendorAttr::isKnown().

bool zypp::hasLcPrefix ( const std::string &  str_r,
const std::string &  pref_r 
) [inline]

Helper: Lowercase prefix.

Definition at line 151 of file VendorAttr.cc.

References zypp::str::toLower().

Referenced by isSUSE().

bool zypp::isSUSE ( const Vendor &  vnd_r  )  [inline]

Helper: SuSE and equivalent vendors.

Definition at line 155 of file VendorAttr.cc.

References hasLcPrefix().

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

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

Definition at line 21 of file ZYppCommitPolicy.cc.

References zypp::ZYppCommitPolicy::dryRun(), zypp::ZYppCommitPolicy::restrictToMedia(), and zypp::ZYppCommitPolicy::rpmNoSignature().

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

Definition at line 21 of file ZYppCommitResult.cc.

References zypp::ZYppCommitResult::_errors, zypp::ZYppCommitResult::_remaining, zypp::ZYppCommitResult::_result, and zypp::ZYppCommitResult::_srcremaining.

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

Definition at line 351 of file ZYppFactory.cc.


Variable Documentation

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

Referenced by zypp::repo::RepoVariablesStringReplacer::operator()(), and zypp::solver::detail::QueueItemRequire::process().

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

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

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

Referenced by zypp::zypp_detail::defaultArchitecture().

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

Referenced by zypp::zypp_detail::defaultArchitecture().

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

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

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

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

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

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

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

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

Definition at line 27 of file Dep.cc.

Referenced by zypp::Rel::asString(), zypp::Dep::asString(), zypp::solver::detail::UniqTable::has(), and zypp::solver::detail::UniqTable::remember().

OtherDefaultLanguage zypp::otherDefaultLanguage [static]

Definition at line 24 of file Locale.cc.

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

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

Definition at line 26 of file Rel.cc.

TrustMap zypp::_trustMap [static]

Definition at line 48 of file VendorAttr.cc.

VendorList zypp::_trustedVendors [static]

Definition at line 51 of file VendorAttr.cc.

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

ZYppGlobalLock zypp::globalLock [static]

Definition at line 270 of file ZYppFactory.cc.

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


Generated on Tue Sep 25 19:23:13 2007 for libzypp by  doxygen 1.5.3