Example Class Reference

Public Member Functions

 Example (const std::string &bindingName, const std::function< std::string()> &example)
 Construct a Example object. More...

 

Detailed Description

Definition at line 67 of file program_doc.hpp.

Constructor & Destructor Documentation

◆ Example()

Example ( const std::string &  bindingName,
const std::function< std::string()> &  example 
)

Construct a Example object.

When constructed, it will register itself with IO for the given bindingName.

Parameters
bindingNameName of the binding.
exampleDocumentation on how to use the binding.

The documentation for this class was generated from the following file:
  • /home/ryan/src/mlpack.org/_src/mlpack-git/src/mlpack/core/util/program_doc.hpp