39 {
return str <<
"'(" <<
obj._root <<
")" <<
obj._sub <<
"'"; }
182 std::ostream &
dumpOn( std::ostream &
str )
const override;
259 unsigned dbHdrNum() const;
std::ostream & operator<<(std::ostream &str, const zypp::sat::detail::CDataiterator *obj)
Subclass to retrieve rpm database content.
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Edition represents [epoch:]version[-release]
TraitsType::constPtrType constPtr
Base class for reference counted objects.
librpmDb internal database handle
Manage access to librpm database.
intrusive_ptr< const librpmDb > constPtr
bool findByFile(const std::string &file_r)
Reset to iterate all packages that own a certain file.
bool findByRequiredBy(const std::string &tag_r)
Reset to iterate all packages that require a certain tag.
const Pathname & dbPath() const
db_const_iterator & operator=(const db_const_iterator &)
const Pathname & root() const
static bool globalInit()
Initialize lib librpm (read configfiles etc.).
db_const_iterator(const db_const_iterator &)
bool findPackage(const std::string &name_r, const Edition &ed_r)
Find package by name and edition.
bool findPackage(const Package::constPtr &which_r)
Abbr.
bool findByName(const std::string &name_r)
Reset to iterate all packages with a certain name.
bool findAll()
Reset to iterate all packages.
bool findByConflicts(const std::string &tag_r)
Reset to iterate all packages that conflict with a certain tag.
db_const_iterator() ZYPP_DEPRECATED
Open the default rpmdb below the host system (at /).
bool findByProvides(const std::string &tag_r)
Reset to iterate all packages that provide a certain tag.
std::ostream & dumpOn(std::ostream &str) const override
Dump debug info.
static librpmDb::constPtr dbOpenCreate(const Pathname &root_r, const Pathname &dbPath_r=Pathname())
Assert the rpmdb below the system at root_r exists.
static std::string expand(const std::string ¯o_r)
static void dbAccess(librpmDb::Ptr &ptr_r)
INTENTIONALLY UNDEFINED<\B> because of bug in Ptr classes which allows implicit conversion from librp...
static librpmDb::constPtr dbOpenIf(const Pathname &root_r, const Pathname &dbPath_r=Pathname())
Open the rpmdb below the system at root_r (if it exists).
bool findPackage(const std::string &name_r)
Find package by name.
~librpmDb() override
Destructor.
static Pathname suggestedDbPath(const Pathname &root_r)
static bool dbExists(const Pathname &root_r, const Pathname &dbPath_r=Pathname())
void unref_to(unsigned refCount_r) const override
Trigger from Rep, after refCount was decreased.
String related utilities and Regular expression matching.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
std::ostream & operator<<(std::ostream &str, const librpmDb::db_const_iterator &obj)
_dumpPath dumpPath(const Pathname &root_r, const Pathname &sub_r)
dumpPath iomaip to dump '(root_r)sub_r' output,
Easy-to use interface to the ZYPP dependency resolver.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
_dumpPath(const Pathname &root_r, const Pathname &sub_r)
#define ZYPP_DEPRECATED
The ZYPP_DEPRECATED macro can be used to trigger compile-time warnings with gcc >= 3....