mlpack
3.1.1
src
mlpack
core
util
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
26
class
ProgramDoc
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
mlpack::util::ProgramDoc::programName
std::string programName
The name of the program.
Definition:
program_doc.hpp:55
mlpack::util::ProgramDoc::ProgramDoc
ProgramDoc()
Construct an empty ProgramDoc object.
mlpack::util::ProgramDoc::documentation
std::function< std::string()> documentation
Documentation for what the program does.
Definition:
program_doc.hpp:59
mlpack::util::ProgramDoc::seeAlso
std::vector< std::pair< std::string, std::string > > seeAlso
Set of see also information.
Definition:
program_doc.hpp:61
mlpack
@serialization.hpp
Definition:
add_to_po.hpp:21
mlpack::util::ProgramDoc::shortDocumentation
std::string shortDocumentation
The short documentation for the program.
Definition:
program_doc.hpp:57
mlpack::util::ProgramDoc
A static object whose constructor registers program documentation with the CLI class.
Definition:
program_doc.hpp:26
Generated by
1.8.17