|
paludis Version 3.0.2
The one true package mangler
|
#include <options.hh>
Public Member Functions | |
| Options (const Options &)=default | |
| Options & | operator= (const Options &)=default |
| Options (std::initializer_list< E_ > e) | |
| Options | operator+ (const E_ &e) const |
| Options & | operator+= (const E_ &e) |
| Options | operator- (const E_ &e) const |
| Options & | operator-= (const E_ &e) |
| Options | operator| (const Options< E_ > &e) const |
| Options & | operator|= (const Options< E_ > &e) |
| Options | operator& (const Options< E_ > &e) const |
| Options & | operator&= (const Options< E_ > &e) |
| Options & | subtract (const Options< E_ > &e) |
| bool | operator[] (const E_ &e) const |
| bool | any () const |
| bool | none () const |
| E_ | highest_bit () const |
Holds a series of true/false values mapped on an enum type, like a std::bitset<> without the static size requirement.
|
inline |
Returns whether any bit is enabled.
|
inline |
Return the value of the highest bit that might be enabled.
|
inline |
Returns whether all bits are disabled.
|
inline |
Return a copy of ourself, bitwise 'and'ed with another Options set.
|
inline |
Disable any bits that are not enabled in the parameter.
|
inline |
Return a copy of ourself with the specified bit enabled.
|
inline |
Enable the specified bit.
|
inline |
Return a copy of ourself with the specified bit disabled.
|
inline |
Disable the specified bit.
|
inline |
Returns whether the specified bit is enabled.
|
inline |
Return a copy of ourself, bitwise 'or'ed with another Options set.
|
inline |
Enable any bits that are enabled in the parameter.
|
inline |
Disable any bits that are enabled in the parameter.
Referenced by paludis::Options< FetchPart >::subtract().