onboardapi  9.10.0
by Rheinmetall
M_BuiltInTest::TestResult Namespace Reference

Enumerations

enum  Type {
  Undefined , OK , Warning , Reduced_Performance_Error ,
  Fatal_Error
}
 Test result type enumeration. More...
 

Functions

std::string toString (M_BuiltInTest::TestResult::Type val)
 
M_BuiltInTest::TestResult::Type fromString (const std::string &val)
 

Enumeration Type Documentation

◆ Type

Test result type enumeration.

Enumerator
Undefined 

Unknown – test has not yet been completed or could not be initiated.

OK 

OK – no failure was detected.

Warning 

Warning – a situation which warrants a warning was detected.

Reduced_Performance_Error 

Reduced performance – an error was detected which results in reduced performance.

Fatal_Error 

Fatal error – a failure was detected which results in complete loss of functionality.

Function Documentation

◆ fromString()

M_BuiltInTest::TestResult::Type M_BuiltInTest::TestResult::fromString ( const std::string &  val)
inline

◆ toString()

std::string M_BuiltInTest::TestResult::toString ( M_BuiltInTest::TestResult::Type  val)
inline