libzypp 17.38.6
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/ng/sat/pool.h>
#include <zypp/ng/sat/repository.h>
#include <zypp/ng/sat/lookupattr.h>
Include dependency graph for repository.cc:

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<>
Poolzyppng::sat::detail::poolFromType (Repository &r)
template<>
const Poolzyppng::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 60 of file repository.cc.

◆ NO_REPOSITORY_THROW

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

Definition at line 64 of file repository.cc.