#include <BitFlags.h>
Public Types | |
| typedef unsigned int | Flags |
Public Member Functions | |
| BitFlags () | |
| Constructor. Turns off all the flags. | |
| BitFlags (const Flags flags) | |
| void | set (const Flags flags) |
| Flags | get () const |
| bool | all (const Flags flags) const |
| bool | any (const Flags flags) const |
|
|
Constructor. Flags are set according to the given parameter.
|
|
|
Check whether all the flags in a set are turned on.
|
|
|
Check whether any of the flags in a set are turned on.
|
|
|
Get the current value of all the statistics-related flags.
|
|
|
Set the flags to a certain set of values. Best used in conjunction with get().
|
1.3.9.1