39 {
return str <<
"'(" << obj.
_root <<
")" << obj.
_sub <<
"'"; }
85 static std::string
expand(
const std::string & macro_r );
158 void unref_to(
unsigned refCount_r )
const override;
182 std::ostream &
dumpOn( std::ostream &
str )
const override;
286 bool findByFile(
const std::string & file_r );
291 bool findByProvides(
const std::string & tag_r );
296 bool findByRequiredBy(
const std::string & tag_r );
301 bool findByConflicts(
const std::string & tag_r );
313 bool findByName(
const std::string & name_r );
324 bool findPackage(
const std::string & name_r );
330 bool findPackage(
const std::string & name_r,
const Edition & ed_r );
std::ostream & operator<<(std::ostream &str, const zypp::sat::detail::CDataiterator *obj)
Edition represents [epoch:]version[-release]
TraitsType::constPtrType constPtr
Base class for reference counted objects.
librpmDb internal database handle
Subclass to retrieve rpm database content.
unsigned dbHdrNum() const
Returns the current headers index in database, 0 if no header.
db_const_iterator & operator=(const db_const_iterator &)
bool hasDB() const
Whether an underlying rpmdb exists.
const RpmHeader::constPtr & operator*() const
Returns the current RpmHeader::constPtr or NULL, if no more entries available.
db_const_iterator(const db_const_iterator &)
intrusive_ptr< const librpmDb > constPtr
const Pathname & dbPath() const
const Pathname & root() const
static bool globalInit()
Initialize lib librpm (read configfiles etc.).
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)
librpmDb(const Pathname &root_r, const Pathname &dbPath_r, bool readonly_r=true)
Private constructor!
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).
~librpmDb() override
Destructor.
intrusive_ptr< librpmDb > Ptr
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....