paludis
Version 2.6.0
|
#include <options.hh>
Public Member Functions | |
Options (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.
References paludis::OptionsStore::any().
|
inline |
Return the value of the highest bit that might be enabled.
References paludis::OptionsStore::highest_bit().
|
inline |
Returns whether all bits are disabled.
References paludis::OptionsStore::any().
|
inline |
Return a copy of ourself, bitwise 'and'ed with another Options set.
References paludis::OptionsStore::intersect().
|
inline |
Disable any bits that are not enabled in the parameter.
References paludis::OptionsStore::intersect().
|
inline |
Return a copy of ourself with the specified bit enabled.
References paludis::OptionsStore::add().
|
inline |
Enable the specified bit.
References paludis::OptionsStore::add().
|
inline |
Return a copy of ourself with the specified bit disabled.
References paludis::OptionsStore::remove().
|
inline |
Disable the specified bit.
References paludis::OptionsStore::remove().
|
inline |
Returns whether the specified bit is enabled.
References paludis::OptionsStore::test().
|
inline |
Return a copy of ourself, bitwise 'or'ed with another Options set.
References paludis::OptionsStore::combine().
|
inline |
Enable any bits that are enabled in the parameter.
References paludis::OptionsStore::combine().
|
inline |
Disable any bits that are enabled in the parameter.
References paludis::OptionsStore::subtract().