parameter_type.hpp File Reference
Include dependency graph for parameter_type.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ParameterType< T >
 Utility struct to return the type that CLI11 should accept for a given input type. More...

 
struct  ParameterType< arma::Col< eT > >
 For vector types, CLI11 will accept a std::string, not an arma::Col<eT> (since it is not clear how to specify a vector on the command-line). More...

 
struct  ParameterType< arma::Mat< eT > >
 For matrix types, CLI11 will accept a std::string, not an arma::mat (since it is not clear how to specify a matrix on the command-line). More...

 
struct  ParameterType< arma::Row< eT > >
 For row vector types, CLI11 will accept a std::string, not an arma::Row<eT> (since it is not clear how to specify a vector on the command-line). More...

 
struct  ParameterType< std::tuple< mlpack::data::DatasetMapper< PolicyType, std::string >, arma::Mat< eT > > >
 For matrix+dataset info types, we should accept a std::string. More...

 
struct  ParameterTypeDeducer< HasSerialize, T >
 
struct  ParameterTypeDeducer< true, T >
 

Namespaces

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

Detailed Description

Author
Ryan Curtin

Template metaprogramming structures to find the type (as seen by CLI11) of a particular option type.

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.

Definition in file parameter_type.hpp.