libzypp 17.38.7
Repository.cc File Reference
#include <climits>
#include <iostream>
#include <utility>
#include <zypp-core/base/Logger.h>
#include <zypp-core/base/Gettext.h>
#include <zypp-core/base/Exception.h>
#include <zypp-core/base/Xml.h>
#include <zypp-core/AutoDispose.h>
#include <zypp-core/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>

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)

Functions

std::ostream & zypp::operator<< (std::ostream &str, const Repository &obj) ZYPP_API
 relates: Repository Stream output
std::ostream & zypp::dumpAsXmlOn (std::ostream &str, const Repository &obj) ZYPP_API
 relates: Repository XML output

Macro Definition Documentation

◆ NO_REPOSITORY_RETURN

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

Definition at line 46 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:459

Definition at line 50 of file Repository.cc.