12 #ifndef ZYPP_RESOLVABLE_H 13 #define ZYPP_RESOLVABLE_H 75 std::ostream &
dumpOn( std::ostream &
str )
const override;
100 {
return p && p->isKind<TRes>(); }
123 {
return dynamic_pointer_cast<TRes>(p); }
127 {
return dynamic_pointer_cast<
const TRes>(p); }
176 #endif // ZYPP_RESOLVABLE_H TraitsType::constPtrType constPtr
A Solvable object within the sat Pool.
ResTraits< TRes >::PtrType asKind(const sat::Solvable &solvable_r)
Directly create a certain kind of ResObject from sat::Solvable.
String related utilities and Regular expression matching.
Base for resolvable objects.
intrusive_ptr< const TRes > constPtrType
bool isKind(const Resolvable::constPtr &p)
Test whether a Resolvable::Ptr is of a certain Kind.
bool isKind< Resolvable >(const Resolvable::constPtr &p)
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
Provides API related macros.
int compareByNVRA(const Resolvable::constPtr &lhs, const Resolvable::constPtr &rhs)
relates: Resolvable Compare Resolvable::constPtr according to kind, name, edition and arch...
int compareByN(const Resolvable::constPtr &lhs, const Resolvable::constPtr &rhs)
relates: Resolvable Compare Resolvable::constPtr according to kind and name.
std::ostream & dumpOn(std::ostream &str) const override
Helper for stream output.
std::ostream & dumpOn(std::ostream &str, const Capability &obj)
relates: Capability Detailed stream output
Base class for reference counted objects.
intrusive_ptr< TRes > PtrType
bool isKind< ResObject >(const Resolvable::constPtr &p)
Combining sat::Solvable and ResStatus.
std::ostream & operator<<(std::ostream &str, const Capabilities &obj)
relates: Capabilities Stream output
Base class for creating Solvable based types.
Easy-to use interface to the ZYPP dependency resolver.
Solvable satSolvable() const
Return the corresponding sat::Solvable.
int compareByNVR(const Resolvable::constPtr &lhs, const Resolvable::constPtr &rhs)
relates: Resolvable Compare according to kind, name and edition.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.