12#ifndef ZYPP_RESTRAITS_H
13#define ZYPP_RESTRAITS_H
15#include <zypp/base/PtrTypes.h>
78 template<
typename TRes>
128 template<
typename TRes>
139 template<
typename TRes>
141 {
return( resKind<TRes>() == val_r ); }
143 template<
typename TRes>
144 inline bool isKind(
const std::string & val_r )
145 {
return( resKind<TRes>() == val_r ); }
147 template<
typename TRes>
149 {
return( resKind<TRes>() == val_r ); }
Class representing an application (appdata.xml)
Class representing a patch.
Combining sat::Solvable and ResStatus.
static const ResKind patch
Base for resolvable objects.
Base for resolvable objects.
bool isPseudoInstalled(ResKind kind_r)
Those are denoted to be installed, if the solver verifies them as being satisfied.
Easy-to use interface to the ZYPP dependency resolver.
bool isKind(const ResKind &val_r)
Convenient test for ResKinds.
ResKind resKind()
Convenient access to well known ResKinds.
intrusive_ptr< const ResObject > constPtrType
intrusive_ptr< ResObject > PtrType
intrusive_ptr< Resolvable > PtrType
intrusive_ptr< const Resolvable > constPtrType
intrusive_ptr< const TRes > constPtrType
static const ResKind kind
Defined in ResKind.cc.
intrusive_ptr< TRes > PtrType
static bool isPseudoInstalled()
Those are denoted to be installed, if the solver verifies them as being satisfied.
#define DEFINE_PTR_TYPE(NAME)
Forward declaration of Ptr types.