mlpack
Namespaces | Functions
string_type_param_impl.hpp File Reference
#include "string_type_param.hpp"
Include dependency graph for string_type_param_impl.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 

Functions

template<typename T >
std::string mlpack::bindings::cli::StringTypeParamImpl (const typename std::enable_if<!util::IsStdVector< T >::value >::type *=0, const typename std::enable_if<!data::HasSerialize< T >::value >::type *=0)
 Return a string containing the type of the parameter.
 
template<typename T >
std::string mlpack::bindings::cli::StringTypeParamImpl (const typename std::enable_if< util::IsStdVector< T >::value >::type *=0)
 Return a string containing the type of the parameter, for vector options.
 
template<typename T >
std::string mlpack::bindings::cli::StringTypeParamImpl (const typename std::enable_if< data::HasSerialize< T >::value >::type *=0)
 Return a string containing the type of the parameter,.
 
template<>
void mlpack::bindings::cli::StringTypeParam< int > (util::ParamData &, const void *, void *output)
 Return "int".
 
template<>
void mlpack::bindings::cli::StringTypeParam< bool > (util::ParamData &, const void *, void *output)
 Return "bool".
 
template<>
void mlpack::bindings::cli::StringTypeParam< std::string > (util::ParamData &, const void *, void *output)
 Return "string".
 
template<>
void mlpack::bindings::cli::StringTypeParam< double > (util::ParamData &, const void *, void *output)
 Return "double".
 
template<>
void mlpack::bindings::cli::StringTypeParam< std::tuple< mlpack::data::DatasetInfo, arma::mat > > (util::ParamData &, const void *, void *output)
 Return "string";.
 

Detailed Description

Author
Ryan Curtin

Implementations of StringTypeParam().

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.