13 #ifndef MLPACK_BINDINGS_PYTHON_PRINT_DOC_FUNCTIONS_HPP 14 #define MLPACK_BINDINGS_PYTHON_PRINT_DOC_FUNCTIONS_HPP 30 inline std::string
PrintImport(
const std::string& bindingName);
41 inline std::string
PrintValue(
const T& value,
bool quotes);
45 inline std::string
PrintValue(
const bool& value,
bool quotes);
50 inline std::string
PrintDefault(
const std::string& paramName);
60 template<
typename T,
typename... Args>
68 template<
typename T,
typename... Args>
77 template<
typename... Args>
89 inline std::string
PrintModel(
const std::string& modelName);
95 inline std::string
PrintDataset(
const std::string& datasetName);
101 inline std::string
ParamString(
const std::string& paramName);
108 inline bool IgnoreCheck(
const std::string& paramName);
115 inline bool IgnoreCheck(
const std::vector<std::string>& constraints);
124 const std::vector<std::pair<std::string, bool>>& constraints,
125 const std::string& paramName);
132 #include "print_doc_functions_impl.hpp" std::string PrintValue(const T &value, bool quotes)
Given a parameter type, print the corresponding value.
std::string PrintOutputOptionInfo()
Print any special information about output options.
std::string PrintDefault(const std::string ¶mName)
Given a parameter name, print its corresponding default value.
std::string GetBindingName(const std::string &bindingName)
Given the name of a binding, print its Python name.
std::string PrintOutputOptions()
std::string ProgramCall(const std::string &programName, Args... args)
Given a name of a binding and a variable number of arguments (and their contents), print the corresponding function call.
std::string PrintModel(const std::string &modelName)
Given the name of a model, print it.
std::string ParamString(const std::string ¶mName)
Given the parameter name, determine what it would actually be when passed to the command line...
std::string PrintDataset(const std::string &datasetName)
Given the name of a matrix, print it.
std::string PrintInputOptions()
std::string PrintImport(const std::string &bindingName)
Print any import information for the Python binding.
bool IgnoreCheck(const std::string ¶mName)
Print whether or not we should ignore a check on the given parameter.