zypp::sat::detail Namespace Reference


Classes

class  PoolImpl
struct  PoolMember
 Backlink to the associated PoolImpl. More...
class  DIWrap
 Wrapper around sat _Dataiterator. More...
class  SolvableIterator
class  WhatProvidesIterator
 WhatProvides iterator. More...

Typedefs

typedef int IdType
 Generic Id type.
typedef unsigned SolvableIdType
 Id type to connect Solvable and sat-solvable.
typedef SolvableIdType size_type
typedef ::_Repo * RepoIdType
 Id type to connect Repo and sat-repo.

Functions

 BOOST_MPL_ASSERT_RELATION (noId,==, STRID_NULL)
 BOOST_MPL_ASSERT_RELATION (emptyId,==, STRID_EMPTY)
 BOOST_MPL_ASSERT_RELATION (noSolvableId,==, ID_NULL)
 BOOST_MPL_ASSERT_RELATION (systemSolvableId,==, SYSTEMSOLVABLE)
 BOOST_MPL_ASSERT_RELATION (solvablePrereqMarker,==, SOLVABLE_PREREQMARKER)
 BOOST_MPL_ASSERT_RELATION (solvableFileMarker,==, SOLVABLE_FILEMARKER)
 BOOST_MPL_ASSERT_RELATION (CapDetail::CAP_AND,==, REL_AND)
 BOOST_MPL_ASSERT_RELATION (CapDetail::CAP_OR,==, REL_OR)
 BOOST_MPL_ASSERT_RELATION (CapDetail::CAP_WITH,==, REL_WITH)
 BOOST_MPL_ASSERT_RELATION (CapDetail::CAP_NAMESPACE,==, REL_NAMESPACE)
 BOOST_MPL_ASSERT_RELATION (CapDetail::CAP_ARCH,==, REL_ARCH)
static void logSat (struct _Pool *, void *data, int type, const char *logString)
void _locale_hack (const LocaleSet &locales_r, std::tr1::unordered_set< IdString > &locale2Solver)
static void _getLocaleDeps (Capability cap_r, std::tr1::unordered_set< sat::detail::IdType > &store_r)
static const IdType noId (0)
static const IdType emptyId (1)
static const IdType solvablePrereqMarker (15)
 Internal ids satlib includes in dependencies.
static const IdType solvableFileMarker (16)
bool isDepMarkerId (IdType id_r)
 Test for internal ids satlib includes in dependencies.
static const SolvableIdType noSolvableId (0)
 Id to denote Solvable::noSolvable.
static const SolvableIdType systemSolvableId (1)
 Id to denote the usually hidden Solvable::systemSolvable.
static const RepoIdType noRepoId (0)
 Id to denote Repo::noRepository.
std::ostream & operator<< (std::ostream &str, const DIWrap &obj)
std::ostream & operator<< (std::ostream &str, const WhatProvidesIterator &obj)

Typedef Documentation

Generic Id type.

Definition at line 82 of file PoolMember.h.

Id type to connect Solvable and sat-solvable.

Indext into solvable array.

Definition at line 98 of file PoolMember.h.

Definition at line 99 of file PoolMember.h.

Id type to connect Repo and sat-repo.

Definition at line 106 of file PoolMember.h.


Function Documentation

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( noId  ,
STRID_NULL   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( emptyId  ,
STRID_EMPTY   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( noSolvableId  ,
ID_NULL   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( systemSolvableId  ,
SYSTEMSOLVABLE   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( solvablePrereqMarker  ,
SOLVABLE_PREREQMARKER   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( solvableFileMarker  ,
SOLVABLE_FILEMARKER   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( CapDetail::CAP_AND  ,
REL_AND   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( CapDetail::CAP_OR  ,
REL_OR   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( CapDetail::CAP_WITH  ,
REL_WITH   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( CapDetail::CAP_NAMESPACE  ,
REL_NAMESPACE   
)

zypp::sat::detail::BOOST_MPL_ASSERT_RELATION ( CapDetail::CAP_ARCH  ,
REL_ARCH   
)

static void zypp::sat::detail::logSat ( struct _Pool *  ,
void *  data,
int  type,
const char *  logString 
) [static]

Definition at line 85 of file PoolImpl.cc.

References _DBG, _ERR, and _MIL.

Referenced by zypp::sat::detail::PoolImpl::PoolImpl().

void zypp::sat::detail::_locale_hack ( const LocaleSet &  locales_r,
std::tr1::unordered_set< IdString > &  locale2Solver 
)

static void zypp::sat::detail::_getLocaleDeps ( Capability  cap_r,
std::tr1::unordered_set< sat::detail::IdType > &  store_r 
) [static]

static const IdType zypp::sat::detail::noId (  )  [static]

static const IdType zypp::sat::detail::emptyId (  )  [static]

static const IdType zypp::sat::detail::solvablePrereqMarker ( 15   )  [static]

Internal ids satlib includes in dependencies.

MPL check in PoolImpl.cc

Referenced by isDepMarkerId(), and zypp::sat::Solvable::prerequires().

static const IdType zypp::sat::detail::solvableFileMarker ( 16   )  [static]

Referenced by isDepMarkerId().

bool zypp::sat::detail::isDepMarkerId ( IdType  id_r  )  [inline]

Test for internal ids satlib includes in dependencies.

Definition at line 92 of file PoolMember.h.

References solvableFileMarker(), and solvablePrereqMarker().

Referenced by zypp::Capabilities::const_iterator::const_iterator(), zypp::Capabilities::const_iterator::increment(), and zypp::Capabilities::size().

static const SolvableIdType zypp::sat::detail::noSolvableId (  )  [static]

static const SolvableIdType zypp::sat::detail::systemSolvableId (  )  [static]

Id to denote the usually hidden Solvable::systemSolvable.

Referenced by zypp::sat::Solvable::asString(), and zypp::sat::Solvable::isSystem().

static const RepoIdType zypp::sat::detail::noRepoId (  )  [static]

Id to denote Repo::noRepository.

Referenced by zypp::sat::LookupAttr::Impl::begin(), and zypp::Repository::eraseFromPool().

std::ostream& zypp::sat::detail::operator<< ( std::ostream &  str,
const DIWrap &  obj 
) [related]

Definition at line 336 of file LookupAttr.cc.

References zypp::sat::detail::DIWrap::get().

std::ostream& zypp::sat::detail::operator<< ( std::ostream &  str,
const WhatProvidesIterator &  obj 
)


doxygen