libzypp: zypp/ng/sat/repository.cc File Reference

libzypp 17.38.11

repository.cc File Reference
`#include <climits>`
`#include <iostream>`
`#include <utility>`
`#include <zypp-core/base/LogTools.h>`
`#include <zypp-core/base/Gettext.h>`
`#include <zypp-core/base/Exception.h>`
`#include <zypp-core/AutoDispose.h>`
`#include <zypp-core/Pathname.h>`
`#include <zypp-core/ng/base/precondition.h>`
`#include <zypp-core/ng/base/ranges.h>`
`#include <zypp/ng/sat/pool.h>`
`#include <zypp/ng/sat/repository.h>`
`#include <zypp/ng/sat/lookupattr.h>`

Go to the source code of this file.

## Namespaces
namespace | zyppng
namespace | zyppng::sat
| This file contains private API, this might break at any time between releases.
namespace | zyppng::sat::detail
| CLASS NAME : detail::DIWrap.

## Macros
#define | NO_REPOSITORY_RETURN(VAL)
#define | NO_REPOSITORY_THROW(VAL)

## Functions
template<>
Pool & | zyppng::sat::detail::poolFromType (Repository &r)
template<>
const Pool & | zyppng::sat::detail::poolFromType (const Repository &r)

## Macro Definition Documentation

## ◆ NO_REPOSITORY_RETURN

#define NO_REPOSITORY_RETURN | ( |  | VAL | ) |

Value:
detail::CRepo * _repo( get() ); \
if ( ! _repo ) return VAL

Definition at line 61 of file repository.cc.

## ◆ NO_REPOSITORY_THROW

#define NO_REPOSITORY_THROW | ( |  | VAL | ) |

Value:
detail::CRepo * _repo( get() ); \
if ( ! _repo ) ZYPP_THROW( VAL )
ZYPP_THROW
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
Definition Exception.h:459

Definition at line 65 of file repository.cc.