libzypp  17.10.2
zypp::ResTraits< TRes > Struct Template Reference

ResTraits. More...

#include <ResTraits.h>

Public Types

typedef ResKind KindType
 
typedef intrusive_ptr< TRes > PtrType
 
typedef intrusive_ptr< const TRes > constPtrType
 

Public Member Functions

template<>
const ResKind kind (ResKind::package)
 
template<>
const ResKind kind (ResKind::patch)
 
template<>
const ResKind kind (ResKind::pattern)
 
template<>
const ResKind kind (ResKind::product)
 
template<>
const ResKind kind (ResKind::srcpackage)
 
template<>
const ResKind kind (ResKind::application)
 

Static Public Member Functions

static bool isPseudoInstalled ()
 Those are denoted to be installed, if the solver verifies them as being satisfied. More...
 

Static Public Attributes

static const ResKind kind
 Defined in ResKind.cc. More...
 

Detailed Description

template<typename TRes>
struct zypp::ResTraits< TRes >

ResTraits.

Defines common types and the ResKind value.

Definition at line 79 of file ResTraits.h.

Member Typedef Documentation

◆ KindType

template<typename TRes>
typedef ResKind zypp::ResTraits< TRes >::KindType

Definition at line 81 of file ResTraits.h.

◆ PtrType

template<typename TRes>
typedef intrusive_ptr<TRes> zypp::ResTraits< TRes >::PtrType

Definition at line 82 of file ResTraits.h.

◆ constPtrType

template<typename TRes>
typedef intrusive_ptr<const TRes> zypp::ResTraits< TRes >::constPtrType

Definition at line 83 of file ResTraits.h.

Member Function Documentation

◆ isPseudoInstalled()

template<typename TRes>
static bool zypp::ResTraits< TRes >::isPseudoInstalled ( )
inlinestatic

Those are denoted to be installed, if the solver verifies them as being satisfied.

Definition at line 89 of file ResTraits.h.

◆ kind() [1/6]

template<>
const ResKind zypp::ResTraits< Package >::kind ( ResKind::package  )

◆ kind() [2/6]

template<>
const ResKind zypp::ResTraits< Patch >::kind ( ResKind::patch  )

◆ kind() [3/6]

template<>
const ResKind zypp::ResTraits< Pattern >::kind ( ResKind::pattern  )

◆ kind() [4/6]

template<>
const ResKind zypp::ResTraits< Product >::kind ( ResKind::product  )

◆ kind() [5/6]

template<>
const ResKind zypp::ResTraits< SrcPackage >::kind ( ResKind::srcpackage  )

◆ kind() [6/6]

template<>
const ResKind zypp::ResTraits< Application >::kind ( ResKind::application  )

Member Data Documentation

◆ kind

template<typename TRes>
const ResKind zypp::ResTraits< TRes >::kind
static

Defined in ResKind.cc.

Definition at line 85 of file ResTraits.h.


The documentation for this struct was generated from the following file: