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