JuliaOption< T > Class Template Reference

The Julia option class. More...

Public Member Functions

 JuliaOption (const T defaultValue, const std::string &identifier, const std::string &description, const std::string &alias, const std::string &cppName, const bool required=false, const bool input=true, const bool noTranspose=false, const std::string &bindingName="")
 Construct a JuliaOption object. More...

 

Detailed Description


template
<
typename
T
>

class mlpack::bindings::julia::JuliaOption< T >

The Julia option class.

Definition at line 34 of file julia_option.hpp.

Constructor & Destructor Documentation

◆ JuliaOption()

JuliaOption ( const T  defaultValue,
const std::string &  identifier,
const std::string &  description,
const std::string &  alias,
const std::string &  cppName,
const bool  required = false,
const bool  input = true,
const bool  noTranspose = false,
const std::string &  bindingName = "" 
)
inline

Construct a JuliaOption object.

When constructed, it will register itself with IO. The testName parameter is not used and added for compatibility reasons.

Definition at line 42 of file julia_option.hpp.

References IO::AddFunction(), IO::AddParameter(), ParamData::alias, ANY, ParamData::cppType, core::v2::data(), ParamData::desc, ParamData::input, ParamData::loaded, core::v2::move(), ParamData::name, ParamData::noTranspose, ParamData::required, ParamData::tname, TYPENAME, ParamData::value, and ParamData::wasPassed.


The documentation for this class was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-git/src/mlpack/bindings/julia/julia_option.hpp