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 
21 namespace mlpack {
22 namespace bindings {
23 namespace markdown {
24 
31 {
32  public:
35  const std::string& bindingName);
36 
38  static std::string& Language();
39 
41  static BindingInfo& GetSingleton();
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
static BindingInfo & GetSingleton()
Get the singleton.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
std::unordered_map< std::string, util::BindingDetails > map
Internally-held map for mapping a binding name to a BindingDetails.
The BindingInfo class is used by the Markdown documentation generator to store multiple documentation...
static util::BindingDetails & GetBindingDetails(const std::string &bindingName)
Return a BindingDetails object for a given bindingName.
This structure holds all of the information about bindings documentation.
static std::string & Language()
Get or modify the current language (don&#39;t set it to something invalid!).