CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
anonymous_namespace{debug.hh}::DebugLevelTemplateArgument Struct Reference

Compatibility wrapper that can be constructed from a boolean or a DebugLevel. More...

#include <debug.hh>

Public Member Functions

consteval DebugLevelTemplateArgument (bool enabled)
 Construct from a boolean, enables all debug reporting for true.
consteval DebugLevelTemplateArgument (DebugLevel level)
 Construct from a DebugLevel, captures the argument.
consteval operator DebugLevel () const

Public Attributes

const DebugLevel Value
 The DebugLevel that this encapsulates.

Detailed Description

Compatibility wrapper that can be constructed from a boolean or a DebugLevel.

Definition at line 710 of file debug.hh.

Constructor & Destructor Documentation

◆ DebugLevelTemplateArgument() [1/2]

anonymous_namespace{debug.hh}::DebugLevelTemplateArgument::DebugLevelTemplateArgument ( bool enabled)
inlineconsteval

Construct from a boolean, enables all debug reporting for true.

Definition at line 720 of file debug.hh.

References anonymous_namespace{debug.hh}::Information, and Value.

◆ DebugLevelTemplateArgument() [2/2]

anonymous_namespace{debug.hh}::DebugLevelTemplateArgument::DebugLevelTemplateArgument ( DebugLevel level)
inlineconsteval

Construct from a DebugLevel, captures the argument.

Definition at line 728 of file debug.hh.

References Value.

Member Function Documentation

◆ operator DebugLevel()

anonymous_namespace{debug.hh}::DebugLevelTemplateArgument::operator DebugLevel ( ) const
inlineconsteval

Definition at line 730 of file debug.hh.

Member Data Documentation

◆ Value

const DebugLevel anonymous_namespace{debug.hh}::DebugLevelTemplateArgument::Value

The DebugLevel that this encapsulates.

Definition at line 715 of file debug.hh.

Referenced by DebugLevelTemplateArgument(), and DebugLevelTemplateArgument().


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