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 Name
operator&( Name::enum_type lhs, Name::enum_type rhs ) {
return Name( lhs ) &= rhs; } \
inline Name
operator&( Name::enum_type lhs, Name rhs ) {
return rhs &= lhs; } \
inline Name
operator|( Name::enum_type lhs, Name::enum_type rhs ) {
return Name( lhs ) |= rhs; } \
inline Name
operator|( Name::enum_type lhs, Name rhs ) {
return rhs |= lhs; } \
inline Name
operator^( Name::enum_type lhs, Name::enum_type rhs ) {
return Name( lhs ) ^= rhs; } \
inline Name
operator^( Name::enum_type lhs, Name rhs ) {
return rhs ^= lhs; } \
inline Name operator~( Name::enum_type 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 117 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 127 of file Flags.h.