program_doc.hpp
Go to the documentation of this file.
1 
12 #ifndef MLPACK_CORE_UTIL_PROGRAM_DOC_HPP
13 #define MLPACK_CORE_UTIL_PROGRAM_DOC_HPP
14 
15 namespace mlpack {
16 namespace util {
17 
27 {
28  public:
44  ProgramDoc(const std::string& programName,
45  const std::string& shortDocumentation,
46  const std::function<std::string()>& documentation,
47  const std::vector<std::pair<std::string, std::string>>& seeAlso);
48 
52  ProgramDoc();
53 
55  std::string programName;
57  std::string shortDocumentation;
59  std::function<std::string()> documentation;
61  std::vector<std::pair<std::string, std::string>> seeAlso;
62 };
63 
64 } // namespace util
65 } // namespace mlpack
66 
67 #endif
std::vector< std::pair< std::string, std::string > > seeAlso
Set of see also information.
Definition: program_doc.hpp:61
strip_type.hpp
Definition: add_to_po.hpp:21
ProgramDoc()
Construct an empty ProgramDoc object.
std::function< std::string()> documentation
Documentation for what the program does.
Definition: program_doc.hpp:59
std::string programName
The name of the program.
Definition: program_doc.hpp:55
std::string shortDocumentation
The short documentation for the program.
Definition: program_doc.hpp:57
A static object whose constructor registers program documentation with the CLI class.
Definition: program_doc.hpp:26