StringMapping is helper class to be able to use strings as template parameters, so this allows simplifying code which only differs in a string, such as a debug string literal.
More...
#include <StringMapping.hpp>
|
| const char * | Get (Id id) const |
StringMapping is helper class to be able to use strings as template parameters, so this allows simplifying code which only differs in a string, such as a debug string literal.
Definition at line 16 of file StringMapping.hpp.
◆ Id
| Enumerator |
|---|
| RefAdditionWorkload_Execute | |
| RefDivisionWorkload_Execute | |
| RefMaximumWorkload_Execute | |
| RefMinimumWorkload_Execute | |
| RefMultiplicationWorkload_Execute | |
| RefSubtractionWorkload_Execute | |
| MAX_STRING_ID | |
Definition at line 19 of file StringMapping.hpp.
19 {
20 RefAdditionWorkload_Execute,
21 RefDivisionWorkload_Execute,
22 RefMaximumWorkload_Execute,
23 RefMinimumWorkload_Execute,
24 RefMultiplicationWorkload_Execute,
25 RefSubtractionWorkload_Execute,
26 MAX_STRING_ID
27 };
◆ Get()
| const char * Get |
( |
Id | id | ) |
const |
|
inline |
◆ Instance()
Definition at line 11 of file StringMapping.cpp.
12{
13 static StringMapping instance;
14 return instance;
15}
The documentation for this struct was generated from the following files: