13 #ifndef MLPACK_BINDINGS_MARKDOWN_GET_PRINTABLE_TYPE_HPP
14 #define MLPACK_BINDINGS_MARKDOWN_GET_PRINTABLE_TYPE_HPP
36 *((std::string*) output) =
37 cli::GetPrintableType<typename std::remove_pointer<T>::type>(data);
41 *((std::string*) output) =
42 python::GetPrintableType<typename std::remove_pointer<T>::type>(data);
46 throw std::invalid_argument(
"GetPrintableType(): unknown "
59 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.