libzypp
13.10.6
|
A type-safe way of storing OR-combinations of enum values (like QTs QFlags). More...
#include <Flags.h>
Public Types | |
typedef Enum | enum_type |
Public Member Functions | |
Flags () | |
Flags (Enum flag_r) | |
Flags (unsigned flag_r) | |
Flags & | operator&= (Flags rhs) |
Flags & | operator&= (Enum rhs) |
Flags & | operator|= (Flags rhs) |
Flags & | operator|= (Enum rhs) |
Flags & | operator^= (Flags rhs) |
Flags & | operator^= (Enum rhs) |
operator unsigned () const | |
Flags | operator& (Flags rhs) const |
Flags | operator& (Enum rhs) const |
Flags | operator| (Flags rhs) const |
Flags | operator| (Enum rhs) const |
Flags | operator^ (Flags rhs) const |
Flags | operator^ (Enum rhs) const |
Flags | operator~ () const |
Flags & | setFlag (Flags flag_r, bool newval_r) |
Flags & | setFlag (Enum flag_r, bool newval_r) |
Flags & | setFlag (Flags flag_r) |
Flags & | setFlag (Enum flag_r) |
Flags & | unsetFlag (Flags flag_r) |
Flags & | unsetFlag (Enum flag_r) |
bool | testFlag (Flags flag_r) const |
bool | testFlag (Enum flag_r) const |
Private Attributes | |
unsigned | _val |
A type-safe way of storing OR-combinations of enum values (like QTs QFlags).
typedef Enum zypp::base::Flags< Enum >::enum_type |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |