libzypp 17.37.18
zypp::base Namespace Reference

Namespaces

namespace  logger
namespace  sysconfig

Classes

class  Flags
 A type-safe way of storing OR-combinations of enum values (like QTs QFlags). More...
class  LogControl
 Maintain logfile related options. More...
struct  LogControlImpl
 LogControl implementation (thread_local Singleton). More...
struct  ProfilingFormater
struct  ProvideNumericId
 Base class for objects providing a numeric Id. More...
class  ReferenceCounted
 Base class for reference counted objects. More...
class  Unit
 Simple handling of Units. More...

Typedefs

using NonCopyable = boost::noncopyable
 Ensure derived classes cannot be copied.

Functions

template<typename TEnum>
std::ostream & operator<< (std::ostream &str, const Flags< TEnum > &obj)
template<typename TEnum>
std::ostream & operator<< (std::ostream &str, const typename Flags< TEnum >::Enum &obj)
std::ostream & operator<< (std::ostream &str, const LogControl &obj)
template<typename Enum>
std::string stringify (const Flags< Enum > &flag_r, const std::initializer_list< std::pair< Flags< Enum >, std::string > > &flaglist_r={}, std::string intro_r="[", std::string sep_r="|", const std::string &extro_r="]")
 Stringify Build a string of OR'ed names of each flag value set in flag_r.
std::ostream & operator<< (std::ostream &str, const LogControl &obj) ZYPP_API
 Stream output.
void intrusive_ptr_add_ref (const ReferenceCounted *ptr_r)
 intrusive_ptr hook to add_ref.
void intrusive_ptr_release (const ReferenceCounted *ptr_r)
 intrusive_ptr hook to release.
std::ostream & operator<< (std::ostream &str, const ReferenceCounted &obj)
 Stream output.

Typedef Documentation

◆ NonCopyable

using zypp::base::NonCopyable = boost::noncopyable

Ensure derived classes cannot be copied.

Use private inheritance.

Definition at line 26 of file NonCopyable.h.

Function Documentation

◆ operator<<() [1/5]

template<typename TEnum>
std::ostream & zypp::base::operator<< ( std::ostream & str,
const Flags< TEnum > & obj )
inline

Definition at line 166 of file Flags.h.

◆ operator<<() [2/5]

template<typename TEnum>
std::ostream & zypp::base::operator<< ( std::ostream & str,
const typename Flags< TEnum >::Enum & obj )
inline

Definition at line 170 of file Flags.h.

◆ operator<<() [3/5]

std::ostream & zypp::base::operator<< ( std::ostream & str,
const LogControl & obj )
related

Definition at line 966 of file LogControl.cc.