mlpack  3.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
binding_details.hpp
Go to the documentation of this file.
1 
12 #ifndef MLPACK_CORE_UTIL_BINDING_DETAILS_HPP
13 #define MLPACK_CORE_UTIL_BINDING_DETAILS_HPP
14 
15 #include <mlpack/prereqs.hpp>
16 #include "program_doc.hpp"
17 
18 namespace mlpack {
19 namespace util {
20 
25 {
33  std::function<std::string()> longDescription;
35  std::vector<std::function<std::string()>> example;
38  std::vector<std::pair<std::string, std::string>> seeAlso;
39 };
40 
41 } // namespace util
42 } // namespace mlpack
43 
44 #endif
std::vector< std::function< std::string()> > example
Documentation on how to use the binding.
The core includes that mlpack expects; standard C++ includes and Armadillo.
std::function< std::string()> longDescription
Long string containing documentation on what it is.
std::string shortDescription
A short two-sentence description of the binding, what it does, and what it is useful for...
std::vector< std::pair< std::string, std::string > > seeAlso
A set of pairs of strings with useful &quot;see also&quot; information; each pair is &lt;description, url&gt;.
This structure holds all of the information about bindings documentation.
std::string programName
Name of the binding.
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 "$
Definition: CMakeLists.txt:79