mlpack 3.4.2
binding_info.hpp
Go to the documentation of this file.
1
15#ifndef MLPACK_BINDINGS_MARKDOWN_BINDING_NAME_HPP
16#define MLPACK_BINDINGS_MARKDOWN_BINDING_NAME_HPP
17
18#include <mlpack/prereqs.hpp>
20
21namespace mlpack {
22namespace bindings {
23namespace markdown {
24
31{
32 public:
35 const std::string& bindingName);
36
38 static std::string& Language();
39
42
44 std::unordered_map<std::string, util::BindingDetails> map;
45
46 private:
48 BindingInfo() { }
49
53 std::string language;
54};
55
56} // namespace markdown
57} // namespace bindings
58} // namespace mlpack
59
60#endif
The BindingInfo class is used by the Markdown documentation generator to store multiple documentation...
std::unordered_map< std::string, util::BindingDetails > map
Internally-held map for mapping a binding name to a BindingDetails.
static util::BindingDetails & GetBindingDetails(const std::string &bindingName)
Return a BindingDetails object for a given bindingName.
static std::string & Language()
Get or modify the current language (don't set it to something invalid!).
static BindingInfo & GetSingleton()
Get the singleton.
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
The core includes that mlpack expects; standard C++ includes and Armadillo.
This structure holds all of the information about bindings documentation.