Template Function RMGTools::GetCandidates

Function Documentation

template<typename T>
std::string RMGTools::GetCandidates(const char delim = ' ')

Generates a delimited list of candidate enumeration names.

This function returns a std::string listing all the enumeration names for type T, separated by the specified delimiter. If an enumeration name begins with 'k', that letter is removed.

Template Parameters:

T – The enumeration type.

Parameters:

delim – The delimiter used to separate candidate names (default is a space).

Returns:

A std::string containing the candidate enumeration names separated by the given delimiter.