Go to the source code of this file.
Namespaces |
namespace | zypp |
| Easy-to use interface to the ZYPP dependency resolver.
|
namespace | zypp::base |
Functions |
template<typename Enum > |
std::ostream & | zypp::base::operator<< (std::ostream &str, const Flags< Enum > &obj) |
Detailed Description
Definition in file Flags.h.
Macro Definition Documentation
#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 ); }
Definition at line 117 of file Flags.h.
#define ZYPP_DECLARE_FLAGS_AND_OPERATORS |
( |
|
Name, |
|
|
|
Enum |
|
) |
| |
Value:
ZYPP_DECLARE_OPERATORS_FOR_FLAGS(Name)
Definition at line 127 of file Flags.h.