Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

base Class Reference

Base class of all SafeBool instances. More...

#include <SafeBool.h>

Inherited by SafeBool< T >, SafeBool< CallChainOfFunctionPointersWithContext< ContextType > >, SafeBool< FunctionPointerWithContext< ble::connection_handle_t > >, SafeBool< FunctionPointerWithContext< const DiscoveredCharacteristic * > >, SafeBool< FunctionPointerWithContext< const DiscoveredService * > >, SafeBool< FunctionPointerWithContext< ContextType > >, SafeBool< FunctionPointerWithContext< GattReadAuthCallbackParams * > >, SafeBool< FunctionPointerWithContext< GattWriteAuthCallbackParams * > >, and SafeBool< FunctionPointerWithContext< OnEventsToProcessCallbackContext * > >.

Protected Types

typedef void(base::* BoolType_t )() const
 The bool type is a pointer to method that can be used in boolean context.

Protected Member Functions

void invalidTag () const
 Nonimplemented call, use to disallow conversion between unrelated types.
void trueTag () const
 Special member function that indicates a true value.

Friends

class SafeBool

Detailed Description

Base class of all SafeBool instances.

This nontemplate base class exists to reduce the number of instantiation of the trueTag function.

Definition at line 40 of file SafeBool.h.


Member Typedef Documentation

typedef void(base::* BoolType_t)() const [protected]

The bool type is a pointer to method that can be used in boolean context.

Definition at line 48 of file SafeBool.h.


Member Function Documentation

void invalidTag (  ) const [protected]

Nonimplemented call, use to disallow conversion between unrelated types.

void trueTag (  ) const [protected]

Special member function that indicates a true value.

Definition at line 58 of file SafeBool.h.