12 #ifndef ZYPP_RESTRAITS_H
13 #define ZYPP_RESTRAITS_H
76 template<
typename _Res>
97 typedef intrusive_ptr<Resolvable>
PtrType;
118 template<
typename _Res>
129 template<
typename _Res>
131 {
return( resKind<_Res>() == val_r ); }
133 template<
typename _Res>
134 inline bool isKind(
const std::string & val_r )
135 {
return( resKind<_Res>() == val_r ); }
137 template<
typename _Res>
139 {
return( resKind<_Res>() == val_r ); }
145 #endif // ZYPP_RESTRAITS_H
bool isKind(const ResKind &val_r)
Convenient test for ResKinds.
static const ResKind kind
intrusive_ptr< const ResObject > constPtrType
Interface base for resolvable objects (identification and dependencies).
static bool isPseudoInstalled()
Those are denoted to be installed, if the solver verifies them as being satisfied.
intrusive_ptr< Resolvable > PtrType
intrusive_ptr< ResObject > PtrType
static const ResKind pattern
ResKind resKind()
Convenient access to well known ResKinds.
Interface base for resolvable objects (common data).
bool isPseudoInstalled(ResKind kind_r)
Those are denoted to be installed, if the solver verifies them as being satisfied.
intrusive_ptr< _Res > PtrType
intrusive_ptr< const Resolvable > constPtrType
static const ResKind patch
intrusive_ptr< const _Res > constPtrType