13 #ifndef MLPACK_BINDINGS_MARKDOWN_GET_PRINTABLE_TYPE_HPP 14 #define MLPACK_BINDINGS_MARKDOWN_GET_PRINTABLE_TYPE_HPP 37 *((std::string*) output) =
38 cli::GetPrintableType<typename std::remove_pointer<T>::type>(data);
42 *((std::string*) output) =
43 python::GetPrintableType<typename std::remove_pointer<T>::type>(data);
47 *((std::string*) output) =
48 julia::GetPrintableType<typename std::remove_pointer<T>::type>(data);
52 throw std::invalid_argument(
"GetPrintableType(): unknown " 65 GetPrintableType<T>(data, (
void*) NULL, (
void*) &output);
This structure holds all of the information about a single parameter, including its value (which is s...
static std::string & Language()
Get or modify the current language (don't set it to something invalid!).
void GetPrintableType(const util::ParamData &data, const void *, void *output)
Print the type of a parameter into the output string.