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::string representation of the enumeration value t, and removes a leading 'k' if present.

Template Parameters:

T – The enumeration type.

Parameters:

t – The enumeration value.

Returns:

A std::string representing the candidate name.