mlpack  3.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | Public Attributes | List of all members
BindingInfo Class Reference

The BindingInfo class is used by the Markdown documentation generator to store multiple documentation objects, indexed by both the binding name (i.e. More...

Static Public Member Functions

static util::BindingDetailsGetBindingDetails (const std::string &bindingName)
 Return a BindingDetails object for a given bindingName. More...
 
static BindingInfoGetSingleton ()
 Get the singleton. More...
 
static std::stringLanguage ()
 Get or modify the current language (don't set it to something invalid!). More...
 

Public Attributes

std::unordered_map
< std::string,
util::BindingDetails
map
 Internally-held map for mapping a binding name to a BindingDetails. More...
 

Detailed Description

The BindingInfo class is used by the Markdown documentation generator to store multiple documentation objects, indexed by both the binding name (i.e.

"knn") and the language (i.e. "cli").

Definition at line 30 of file binding_info.hpp.

Member Function Documentation

static util::BindingDetails& GetBindingDetails ( const std::string bindingName)
static

Return a BindingDetails object for a given bindingName.

static BindingInfo& GetSingleton ( )
static
static std::string& Language ( )
static

Get or modify the current language (don't set it to something invalid!).

Referenced by mlpack::bindings::markdown::DefaultParam(), mlpack::bindings::markdown::GetPrintableType(), and mlpack::bindings::markdown::PrintTypeDoc().

Member Data Documentation

std::unordered_map<std::string, util::BindingDetails> map

The documentation for this class was generated from the following file: