class
CmdLineCmdLine : Control< specialized to Inciter >
Contents
The stack is a tagged tuple
Base classes
-
template<class List>class tk::TaggedTuple
- Tagged tuple, allowing tag-based access.
Public types
-
using keywords = tk::
cmd_keywords<kw::verbose, kw::charestate, kw::nonblocking, kw::benchmark, kw::feedback, kw::virtualization, kw::help, kw::helpctr, kw::helpkw, kw::control, kw::input, kw::output, kw::screen, kw::restart, kw::diagnostics_cmd, kw::quiescence, kw::lbfreq, kw::rsfreq, kw::trace, kw::version, kw::license> - Inciter command-line keywords.
-
using ignore = brigand::set<tag::
cmdinfo, tag:: ctrinfo, tag:: helpkw> - Set of tags to ignore when printing this CmdLine.
Constructors, destructors, conversion operators
-
CmdLine(tk::
ctr:: HelpFactory ctrinfo = tk:: ctr:: HelpFactory()) - Constructor: set all defaults.
Pack/Unpack: Serialize CmdLine object for Charm++
Typedef documentation
using inciter:: ctr:: CmdLine:: keywords = tk:: cmd_keywords<kw::verbose, kw::charestate, kw::nonblocking, kw::benchmark, kw::feedback, kw::virtualization, kw::help, kw::helpctr, kw::helpkw, kw::control, kw::input, kw::output, kw::screen, kw::restart, kw::diagnostics_cmd, kw::quiescence, kw::lbfreq, kw::rsfreq, kw::trace, kw::version, kw::license>
Inciter command-line keywords.
Function documentation
inciter:: ctr:: CmdLine:: CmdLine(tk:: ctr:: HelpFactory ctrinfo = tk:: ctr:: HelpFactory())
Constructor: set all defaults.
Parameters | |
---|---|
ctrinfo in | std::map of control file keywords and their info |
Anything not set here is initialized by the compiler using the default constructor for the corresponding type. The ctrinfo map argument is optional. If not given, it is an empty std::map constructed in-place and affects nothing. If given, it contains the control file keywords, all of which are moved into the relevant slot (tag::
void inciter:: ctr:: CmdLine:: pup(PUP::er& p)
Pack/Unpack serialize member function.
Parameters | |
---|---|
p in/out | Charm++'s PUP::er serializer object reference |
std::string inciter:: ctr:: CmdLine:: logname(const std::string& def,
int nrestart) const
Parameters | |
---|---|
def in | Default log file name (so we don't mess with user's) |
nrestart in | Number of times restarted |
Returns | Log file name |
Compute and return log file name