Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
base Class Reference
Base class for all intances of SafeBool. More...
#include <SafeBool.h>
Inherited by SafeBool< T >, SafeBool< CallChainOfFunctionPointersWithContext< const GattClient * > >, SafeBool< CallChainOfFunctionPointersWithContext< const GattHVXCallbackParams * > >, SafeBool< CallChainOfFunctionPointersWithContext< const GattReadCallbackParams * > >, SafeBool< CallChainOfFunctionPointersWithContext< const GattServer * > >, SafeBool< CallChainOfFunctionPointersWithContext< const GattWriteCallbackParams * > >, SafeBool< CallChainOfFunctionPointersWithContext< const SecurityManager * > >, SafeBool< CallChainOfFunctionPointersWithContext< ContextType > >, SafeBool< CallChainOfFunctionPointersWithContext< unsigned > >, SafeBool< FunctionPointerWithContext< const DiscoveredCharacteristic * > >, SafeBool< FunctionPointerWithContext< const DiscoveredService * > >, SafeBool< FunctionPointerWithContext< const GattClient * > >, SafeBool< FunctionPointerWithContext< const GattHVXCallbackParams * > >, SafeBool< FunctionPointerWithContext< const GattReadCallbackParams * > >, SafeBool< FunctionPointerWithContext< const GattServer * > >, SafeBool< FunctionPointerWithContext< const GattWriteCallbackParams * > >, SafeBool< FunctionPointerWithContext< const SecurityManager * > >, SafeBool< FunctionPointerWithContext< ContextType > >, SafeBool< FunctionPointerWithContext< GattAttribute::Handle_t > >, SafeBool< FunctionPointerWithContext< GattReadAuthCallbackParams * > >, SafeBool< FunctionPointerWithContext< GattWriteAuthCallbackParams * > >, SafeBool< FunctionPointerWithContext< OnEventsToProcessCallbackContext * > >, and SafeBool< FunctionPointerWithContext< unsigned > >.
Protected Types | |
typedef void(base::* | BoolType_t )() const |
The bool type is a pointer to method which can be used in boolean context. | |
Protected Member Functions | |
void | invalidTag () const |
Non implemented call, use to disallow conversion between unrelated types. | |
void | trueTag () const |
Member function which indicate true value. | |
Friends | |
class | SafeBool |
Detailed Description
Base class for all intances of SafeBool.
This base class reduces instantiation of trueTag function.
Definition at line 27 of file SafeBool.h.
Member Typedef Documentation
typedef void(base::* BoolType_t)() const [protected] |
The bool type is a pointer to method which can be used in boolean context.
Definition at line 35 of file SafeBool.h.
Member Function Documentation
void invalidTag | ( | ) | const [protected] |
Non implemented call, use to disallow conversion between unrelated types.
void trueTag | ( | ) | const [protected] |
Member function which indicate true value.
Definition at line 45 of file SafeBool.h.
Generated on Tue Jul 12 2022 20:03:34 by
