mw::nar::Flags_tc< T, F >
Class TemplateUtility class for managing flags.[Details]
#include <narFlags.h>
Public Methods | |
void | Clear() |
Clears flags. | |
bool | IsAllOn(F flags) const |
Returns true if all of the specified flags are set. | |
bool | IsAnyOn(F flags) const |
Returns true if any of the specified flags are set. | |
void | Set(bool b, F flags) |
Sets the specified Boolean value in the specified flags. | |
void | Toggle (F flags) |
Toggles the specified flags. | |
void | TurnOff (F flags) |
Clears the specified flags. | |
void | TurnOn (F flags) |
Sets the specified flags. |
template<typename T, typename F>
class mw::nar::Flags_tc< T, F >
Utility class for managing flags.
T | Type indicating variable size. | |
F | Flag type (enum). |
© 2011-2012 Nintendo. All rights reserved.
CONFIDENTIAL