14 #ifndef MLPACK_BINDINGS_CLI_PRINT_DOC_FUNCTIONS_HPP
15 #define MLPACK_BINDINGS_CLI_PRINT_DOC_FUNCTIONS_HPP
27 inline std::string
PrintValue(
const T& value,
bool quotes);
32 inline std::string
PrintDataset(
const std::string& dataset);
37 inline std::string
PrintModel(
const std::string& model);
47 template<
typename T,
typename... Args>
56 template<
typename... Args>
65 inline std::string
ParamString(
const std::string& paramName);
80 #include "print_doc_functions_impl.hpp"
std::string ParamString(const std::string ¶mName)
Print what a user would type to invoke the given option name.
std::string PrintDataset(const std::string &dataset)
Print a dataset type parameter (add .csv and return).
bool IgnoreCheck(const T &)
Return whether or not a runtime check on parameters should be ignored.
std::string PrintValue(const T &value, bool quotes)
Given a parameter type, print the corresponding value.
std::string PrintModel(const std::string &model)
Print a model type parameter (add .bin and return).
std::string ProcessOptions()
Base case for recursion.
std::string ProgramCall(const std::string &programName, Args...args)
Given a program name and arguments for it, print what its invocation would be.