Go to the source code of this file.
|
| zypp |
| Easy-to use interface to the ZYPP dependency resolver.
|
|
| zypp::base |
|
#define ZYPP_DECLARE_OPERATORS_FOR_FLAGS |
( |
|
Name | ) |
|
Value:inline constexpr Name
operator&( Name::Enum lhs, Name::Enum rhs ) {
return Name( lhs ) & rhs; } \
inline constexpr Name
operator&( Name::Enum lhs, Name rhs ) {
return rhs & lhs; } \
inline constexpr Name
operator|( Name::Enum lhs, Name::Enum rhs ) {
return Name( lhs ) | rhs; } \
inline constexpr Name
operator|( Name::Enum lhs, Name rhs ) {
return rhs | lhs; } \
inline constexpr Name
operator^( Name::Enum lhs, Name::Enum rhs ) {
return Name( lhs ) ^ rhs; } \
inline constexpr Name
operator^( Name::Enum lhs, Name rhs ) {
return rhs ^ lhs; } \
inline constexpr Name operator~( Name::Enum lhs ) { return ~Name( lhs ); }
BitField< _IntT > operator^(const BitField< _IntT > &lhs, const BitField< _IntT > &rhs)
Match operator|(const Match &lhs, const Match &rhs)
BitField< _IntT > operator&(const BitField< _IntT > &lhs, const BitField< _IntT > &rhs)
Definition at line 118 of file Flags.h.
#define ZYPP_DECLARE_FLAGS_AND_OPERATORS |
( |
|
Name, |
|
|
|
Enum |
|
) |
| |
Value:
#define ZYPP_DECLARE_OPERATORS_FOR_FLAGS(Name)
#define ZYPP_DECLARE_FLAGS(Name, Enum)
Definition at line 128 of file Flags.h.