Home
Base module

DiagnosticState

State definitions for diagnostic providers.

DiagnosticState

#include <icy/diagnosticmanager.h>
struct DiagnosticState

Defined in src/base/include/icy/diagnosticmanager.h:26

Inherits: State

State definitions for diagnostic providers.

List of all members

NameKindOwner
strfunctionDeclared here
TypeenumDeclared here
operator<<friendInherited from State
StatefunctionInherited from State
StatefunctionInherited from State
operator=functionInherited from State
~StatefunctionInherited from State
idfunctionInherited from State
setfunctionInherited from State
strfunctionInherited from State
toStringfunctionInherited from State
equalsfunctionInherited from State
betweenfunctionInherited from State
operator==functionInherited from State
operator==functionInherited from State
_idvariableInherited from State
IDtypedefInherited from State

Inherited from State

KindNameDescription
friendoperator<< inline
functionState
functionStateCopy constructor.
functionoperator=Copy assignment.
function~State virtualDefaulted destructor.
functionid constReturns the current state ID.
functionsetSets the state ID.
functionstr virtual constReturns a human-readable string for the given state ID. Override in derived classes to provide meaningful names.
functiontoString virtual constReturns a human-readable string for the current state ID.
functionequals constReturns true if the current state ID equals the given ID.
functionbetween constReturns true if the current state ID is in the inclusive range [lid, rid].
functionoperator== const inline
functionoperator== const inline
variable_id
typedefID

Public Methods

ReturnNameDescription
std::stringstr const inline overrideReturns a human-readable string for the given state ID.

str

const inline override

inline std::string str(unsigned int id) const override

Defined in src/base/include/icy/diagnosticmanager.h:40

Returns a human-readable string for the given state ID.

Parameters

Returns

State name string.

Exceptions

  • std::logic_error for unknown IDs.

Public Types

NameDescription
Type

Type

enum Type

Defined in src/base/include/icy/diagnosticmanager.h:28

ValueDescription
None
Checking
Passed
Failed