12#ifndef ZYPP_RESTRAITS_H
13#define ZYPP_RESTRAITS_H
78 template<
typename TRes>
93 template<>
const ResKind ResTraits<Package>::kind
ZYPP_API;
94 template<>
const ResKind ResTraits<Patch>::kind
ZYPP_API;
95 template<>
const ResKind ResTraits<Pattern>::kind
ZYPP_API;
96 template<>
const ResKind ResTraits<Product>::kind
ZYPP_API;
97 template<>
const ResKind ResTraits<SrcPackage>::kind
ZYPP_API;
98 template<>
const ResKind ResTraits<Application>::kind
ZYPP_API;
128 template<
typename TRes>
139 template<
typename TRes>
143 template<
typename TRes>
144 inline bool isKind(
const std::string & val_r )
147 template<
typename TRes>
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(const 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.
const ResKind ResTraits< Package >::kind(ResKind::package)
bool isKind(const ResKind &val_r)
Convenient test for ResKinds.
ResKind resKind()
Convenient access to well known ResKinds.
intrusive_ptr< ResObject > PtrType
intrusive_ptr< const ResObject > constPtrType
intrusive_ptr< Resolvable > PtrType
intrusive_ptr< const Resolvable > constPtrType
static const ResKind kind ZYPP_API
intrusive_ptr< Self > PtrType
intrusive_ptr< const Self > constPtrType
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.