Base module
DiagnosticState
State definitions for diagnostic providers.
DiagnosticState
#include <icy/diagnosticmanager.h>struct DiagnosticStateDefined in src/base/include/icy/diagnosticmanager.h:26
Inherits:
State
State definitions for diagnostic providers.
List of all members
| Name | Kind | Owner |
|---|---|---|
str | function | Declared here |
Type | enum | Declared here |
operator<< | friend | Inherited from State |
State | function | Inherited from State |
State | function | Inherited from State |
operator= | function | Inherited from State |
~State | function | Inherited from State |
id | function | Inherited from State |
set | function | Inherited from State |
str | function | Inherited from State |
toString | function | Inherited from State |
equals | function | Inherited from State |
between | function | Inherited from State |
operator== | function | Inherited from State |
operator== | function | Inherited from State |
_id | variable | Inherited from State |
ID | typedef | Inherited from State |
Inherited from State
| Kind | Name | Description |
|---|---|---|
friend | operator<< inline | |
function | State | |
function | State | Copy constructor. |
function | operator= | Copy assignment. |
function | ~State virtual | Defaulted destructor. |
function | id const | Returns the current state ID. |
function | set | Sets the state ID. |
function | str virtual const | Returns a human-readable string for the given state ID. Override in derived classes to provide meaningful names. |
function | toString virtual const | Returns a human-readable string for the current state ID. |
function | equals const | Returns true if the current state ID equals the given ID. |
function | between const | Returns true if the current state ID is in the inclusive range [lid, rid]. |
function | operator== const inline | |
function | operator== const inline | |
variable | _id | |
typedef | ID |
Public Methods
| Return | Name | Description |
|---|---|---|
std::string | str const inline override | Returns a human-readable string for the given state ID. |
str
const inline override
inline std::string str(unsigned int id) const overrideDefined in src/base/include/icy/diagnosticmanager.h:40
Returns a human-readable string for the given state ID.
Parameters
idA DiagnosticState::Type value.
Returns
State name string.
Exceptions
std::logic_errorfor unknown IDs.
Public Types
| Name | Description |
|---|---|
Type |
Type
enum TypeDefined in src/base/include/icy/diagnosticmanager.h:28
| Value | Description |
|---|---|
None | |
Checking | |
Passed | |
Failed |
