Template Function RMGTools::GetCandidate¶
Function Documentation¶
-
template<typename T>
std::string RMGTools::GetCandidate(T t)¶ Retrieves the candidate name for an enumeration value.
This function obtains the
std::stringrepresentation of the enumeration valuet, and removes a leading'k'if present.- Template Parameters:
T – The enumeration type.
- Parameters:
t – The enumeration value.
- Returns:
A
std::stringrepresenting the candidate name.