libzypp 17.31.23
Repository.cc File Reference
#include <climits>
#include <iostream>
#include <zypp/base/Logger.h>
#include <zypp/base/Gettext.h>
#include <zypp/base/Exception.h>
#include <zypp/base/Xml.h>
#include <zypp/AutoDispose.h>
#include <zypp/Pathname.h>
#include <zypp/sat/detail/PoolImpl.h>
#include <zypp/Repository.h>
#include <zypp/ResPool.h>
#include <zypp/Product.h>
#include <zypp/sat/Pool.h>
Include dependency graph for Repository.cc:

Go to the source code of this file.

Namespaces

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
namespace  zypp::detail
 

Macros

#define NO_REPOSITORY_RETURN(VAL)
 
#define NO_REPOSITORY_THROW(VAL)
 

Macro Definition Documentation

◆ NO_REPOSITORY_RETURN

#define NO_REPOSITORY_RETURN (   VAL)
Value:
sat::detail::CRepo * _repo( get() ); \
if ( ! _repo ) return VAL

Definition at line 45 of file Repository.cc.

◆ NO_REPOSITORY_THROW

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

Definition at line 49 of file Repository.cc.