13 #ifndef MLPACK_BINDINGS_CLI_STRING_TYPE_PARAM_HPP
14 #define MLPACK_BINDINGS_CLI_STRING_TYPE_PARAM_HPP
29 const typename boost::disable_if<util::IsStdVector<T>>::type* = 0,
30 const typename boost::disable_if<data::HasSerialize<T>>::type* = 0);
37 const typename boost::enable_if<util::IsStdVector<T>>::type* = 0);
44 const typename boost::enable_if<data::HasSerialize<T>>::type* = 0);
56 *outstr = StringTypeParamImpl<T>();
85 inline void StringTypeParam<std::tuple<mlpack::data::DatasetInfo, arma::mat>>(
95 #include "string_type_param_impl.hpp"
void StringTypeParam< bool >(util::ParamData &, const void *, void *output)
Return "bool".
void StringTypeParam(util::ParamData &, const void *, void *output)
Return a string containing the type of a parameter.
The core includes that mlpack expects; standard C++ includes and Armadillo.
This structure holds all of the information about a single parameter, including its value (which is s...
void StringTypeParam< double >(util::ParamData &, const void *, void *output)
Return "double".
void StringTypeParam< int >(util::ParamData &, const void *, void *output)
Return "int".
std::string StringTypeParamImpl(const typename boost::disable_if< util::IsStdVector< T >>::type *=0, const typename boost::disable_if< data::HasSerialize< T >>::type *=0)
Return a string containing the type of the parameter.
src mlpack core util version hpp VERSION_HPP_CONTENTS string(REGEX REPLACE".*#define MLPACK_VERSION_MAJOR ([0-9]+).*""\\1"MLPACK_VERSION_MAJOR"${VERSION_HPP_CONTENTS}") string(REGEX REPLACE".* MLPACK_VERSION_MINOR "$