|
libzypp
17.34.1
|
#include <zypp-core/base/Easy.h>

Go to the source code of this file.
Macros | |
| #define | LIBZYPP_NG_EXPORT |
| #define | LIBZYPP_NG_NO_EXPORT |
| #define | ZYPP_DECLARE_PRIVATE(Class) |
| #define | ZYPP_IMPL_PRIVATE(Class) |
| #define | ZYPP_DECLARE_PUBLIC(Class) |
| #define | Z_D() auto const d = d_func() |
| #define | Z_Z() auto const z = z_func() |
| #define | ZYPP_FWD_DECL_REFS(T) |
| #define | ZYPP_FWD_DECL_TYPE_WITH_REFS(T) |
| #define | ZYPP_FWD_DECL_TEMPL_TYPE_WITH_REFS_ARG1(T, TArg1) |
| #define | ZYPP_ADD_PRIVATE_CONSTR_HELPER() struct private_constr_t { private_constr_t () noexcept = default; } |
| #define | ZYPP_PRIVATE_CONSTR_ARG private_constr_t |
| #define | ZYPP_PRIVATE_CONSTR_ARG_VAL private_constr_t{} |
| #define | ZYPP_ADD_CREATE_FUNC(Class) |
| #define | ZYPP_DECL_PRIVATE_CONSTR(Class) Class( private_constr_t ) |
| #define | ZYPP_IMPL_PRIVATE_CONSTR(Class) Class::Class( private_constr_t ) |
| #define | ZYPP_DECL_PRIVATE_CONSTR_ARGS(Class, ...) Class( private_constr_t, __VA_ARGS__ ) |
| #define | ZYPP_IMPL_PRIVATE_CONSTR_ARGS(Class, ...) Class::Class( private_constr_t, __VA_ARGS__ ) |
Functions | |
| template<typename T > | |
| T * | zyppGetPtrHelper (T *ptr) |
| template<typename Ptr > | |
| auto | zyppGetPtrHelper (const Ptr &ptr) -> decltype(ptr.operator->()) |
| template<typename Ptr > | |
| auto | zyppGetPtrHelper (Ptr &ptr) -> decltype(ptr.operator->()) |
| #define LIBZYPP_NG_EXPORT |
Definition at line 7 of file zyppglobal.h.
| #define LIBZYPP_NG_NO_EXPORT |
Definition at line 8 of file zyppglobal.h.
| #define ZYPP_DECLARE_PRIVATE | ( | Class | ) |
Definition at line 86 of file zyppglobal.h.
| #define ZYPP_IMPL_PRIVATE | ( | Class | ) |
Definition at line 91 of file zyppglobal.h.
| #define ZYPP_DECLARE_PUBLIC | ( | Class | ) |
Definition at line 97 of file zyppglobal.h.
| #define Z_D | ( | ) | auto const d = d_func() |
Definition at line 104 of file zyppglobal.h.
| #define Z_Z | ( | ) | auto const z = z_func() |
Definition at line 105 of file zyppglobal.h.
| #define ZYPP_FWD_DECL_REFS | ( | T | ) |
Helper macro to declare Ref types
Definition at line 110 of file zyppglobal.h.
| #define ZYPP_FWD_DECL_TYPE_WITH_REFS | ( | T | ) |
Definition at line 117 of file zyppglobal.h.
| #define ZYPP_FWD_DECL_TEMPL_TYPE_WITH_REFS_ARG1 | ( | T, | |
| TArg1 | |||
| ) |
Definition at line 121 of file zyppglobal.h.
| #define ZYPP_ADD_PRIVATE_CONSTR_HELPER | ( | ) | struct private_constr_t { private_constr_t () noexcept = default; } |
Defines a dummy struct that can be used to make a public constructor unusable outside the class.
Definition at line 145 of file zyppglobal.h.
| #define ZYPP_PRIVATE_CONSTR_ARG private_constr_t |
Use this to add the private constr argument to a constructor
Definition at line 151 of file zyppglobal.h.
| #define ZYPP_PRIVATE_CONSTR_ARG_VAL private_constr_t{} |
Use this to pass the private constr arg to a constructor
Definition at line 157 of file zyppglobal.h.
| #define ZYPP_ADD_CREATE_FUNC | ( | Class | ) |
Helper macro to add the default Class::create() static function commonly used in libzypp.
Definition at line 196 of file zyppglobal.h.
| #define ZYPP_DECL_PRIVATE_CONSTR | ( | Class | ) | Class( private_constr_t ) |
Definition at line 212 of file zyppglobal.h.
| #define ZYPP_IMPL_PRIVATE_CONSTR | ( | Class | ) | Class::Class( private_constr_t ) |
Definition at line 213 of file zyppglobal.h.
| #define ZYPP_DECL_PRIVATE_CONSTR_ARGS | ( | Class, | |
| ... | |||
| ) | Class( private_constr_t, __VA_ARGS__ ) |
Definition at line 214 of file zyppglobal.h.
| #define ZYPP_IMPL_PRIVATE_CONSTR_ARGS | ( | Class, | |
| ... | |||
| ) | Class::Class( private_constr_t, __VA_ARGS__ ) |
Definition at line 215 of file zyppglobal.h.
|
inline |
Definition at line 82 of file zyppglobal.h.
|
inline |
Definition at line 83 of file zyppglobal.h.
|
inline |
Definition at line 84 of file zyppglobal.h.