14 #ifndef MLPACK_BINDINGS_MARKDOWN_PRINT_DOC_FUNCTIONS_HPP 15 #define MLPACK_BINDINGS_MARKDOWN_PRINT_DOC_FUNCTIONS_HPP 32 inline std::string
PrintLanguage(
const std::string& language);
37 inline std::string
PrintImport(
const std::string& bindingName);
58 inline std::string
PrintValue(
const T& value,
bool quotes);
64 inline std::string
PrintDefault(
const std::string& paramName);
69 inline std::string
PrintDataset(
const std::string& dataset);
74 inline std::string
PrintModel(
const std::string& model);
80 template<
typename... Args>
95 inline std::string
ParamString(
const std::string& paramName);
100 inline std::string
ParamType(util::ParamData& d);
113 #include "print_doc_functions_impl.hpp" std::string PrintImport(const std::string &bindingName)
Print any imports that need to be done before using the binding.
std::string ParamString(const std::string ¶mName)
Print what a user would type to invoke the given option name.
std::string PrintModel(const std::string &model)
Print a model type parameter (add .bin and return).
Linear algebra utility functions, generally performed on matrices or vectors.
std::string PrintValue(const T &value, bool quotes)
Given a parameter type, print the corresponding value.
std::string GetBindingName(const std::string &language, const std::string &name)
Given a language name and a binding name, return the name of that binding for that language...
std::string PrintTypeDocs()
Print details about the different types for a language.
std::string ProgramCall(const std::string &programName, Args... args)
Given a program name and arguments for it, print what its invocation would be.
The core includes that mlpack expects; standard C++ includes and Armadillo.
std::string PrintLanguage(const std::string &language)
Print the name of the given language.
std::string PrintOutputOptionInfo(const std::string &language)
Print any special information about output options.
std::string PrintDataset(const std::string &dataset)
Print a dataset type parameter (add .csv and return).
std::string PrintInputOptionInfo(const std::string &language)
Print any special information about input options.
bool IgnoreCheck(const T &t)
Return whether or not a runtime check on parameters should be ignored.
std::string ParamType(util::ParamData &d)
Print the user-encountered type of an option.
std::string PrintDefault(const std::string ¶mName)
Print the default value of an option, unless it is required (in which case Markdown italicized '–' i...