13 #ifndef MLPACK_BINDINGS_CLI_PRINT_TYPE_DOC_HPP
14 #define MLPACK_BINDINGS_CLI_PRINT_TYPE_DOC_HPP
27 const util::ParamData& data,
28 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
29 const typename boost::disable_if<util::IsStdVector<T>>::type* = 0,
30 const typename boost::disable_if<data::HasSerialize<T>>::type* = 0,
31 const typename boost::disable_if<std::is_same<T,
32 std::tuple<data::DatasetInfo, arma::mat>>>::type* = 0);
39 const util::ParamData& data,
40 const typename std::enable_if<util::IsStdVector<T>::value>::type* = 0);
47 const util::ParamData& data,
48 const typename std::enable_if<arma::is_arma_type<T>::value>::type* = 0);
55 const util::ParamData& data,
56 const typename std::enable_if<std::is_same<T,
57 std::tuple<data::DatasetInfo, arma::mat>>::value>::type* = 0);
64 const util::ParamData& data,
65 const typename boost::disable_if<arma::is_arma_type<T>>::type* = 0,
66 const typename boost::enable_if<data::HasSerialize<T>>::type* = 0);
76 *((std::string*) output) =
77 PrintTypeDoc<typename std::remove_pointer<T>::type>(data);
84 #include "print_type_doc_impl.hpp"
std::string PrintTypeDoc(const util::ParamData &data, const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::disable_if< util::IsStdVector< T >>::type *=0, const typename boost::disable_if< data::HasSerialize< T >>::type *=0, const typename boost::disable_if< std::is_same< T, std::tuple< data::DatasetInfo, arma::mat >>>::type *=0)
Return a string representing the command-line type of an option.
This structure holds all of the information about a single parameter, including its value (which is s...