Mistake on this page?
Report an issue in GitHub or email us
Protected Types | Protected Member Functions
base Class Reference

Base class of all SafeBool instances. More...

#include <SafeBool.h>

Inheritance diagram for base:
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 * > > SafeBool< FunctionPointerWithContext< unsigned > >

Protected Types

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

Protected Member Functions

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

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

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

Nonimplemented call, use to disallow conversion between unrelated types.

void trueTag ( ) const

Special member function that indicates a true value.

Definition at line 58 of file SafeBool.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.