CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
DebugFormatArgumentAdaptor< T > Struct Template Reference

Enum specialisation, prints the enum as a string and then the numeric value. More...

#include <debug.hh>

Static Public Member Functions

static DebugFormatArgument construct (T value)
static DebugFormatArgument construct (T value)
static DebugFormatArgument construct (ptraddr_t value)

Detailed Description

template<DebugConcepts::IsEnum T>
struct DebugFormatArgumentAdaptor< T >

Enum specialisation, prints the enum as a string and then the numeric value.

Specialisation for things that can be converted to addresses, prints as an unsigned number.

Pointer specialisation, prints the pointer as a full capability.

This specialisation uses the generic printing facility in the library call and passes a callback that will map the enumeration to a string.

Definition at line 399 of file debug.hh.

Member Function Documentation

◆ construct() [1/3]

template<DebugConcepts::IsEnum T>
DebugFormatArgument DebugFormatArgumentAdaptor< T >::construct ( ptraddr_t value)
inlinestatic

Definition at line 512 of file debug.hh.

◆ construct() [2/3]

template<DebugConcepts::IsEnum T>
DebugFormatArgument DebugFormatArgumentAdaptor< T >::construct ( T value)
inlinestatic

Definition at line 481 of file debug.hh.

◆ construct() [3/3]

template<DebugConcepts::IsEnum T>
DebugFormatArgument DebugFormatArgumentAdaptor< T >::construct ( T value)
inlinestatic

Definition at line 401 of file debug.hh.


The documentation for this struct was generated from the following file: