MarlinMT  0.1.0
marlinmt::CmdLineParser::ParseResult Struct Reference

ParseResult struct. The result of the command line parsing. More...

#include <CmdLineParser.h>

Public Attributes

std::string _programName {}
 The program name. More...
 
std::vector< std::string > _arguments {}
 All command line arguments except the program name (argv[0]) More...
 
AdditionalArgs _additionalArgs {}
 Additional command line arguments. More...
 
std::optional< std::string > _config {}
 The config argument. More...
 
unsigned int _nthreads {1}
 The number of threads. More...
 
bool _dumpExample {false}
 Whether to dump an example configuration and exit. More...
 

Detailed Description

ParseResult struct. The result of the command line parsing.

Definition at line 19 of file CmdLineParser.h.

Member Data Documentation

◆ _additionalArgs

AdditionalArgs marlinmt::CmdLineParser::ParseResult::_additionalArgs {}

Additional command line arguments.

Definition at line 25 of file CmdLineParser.h.

◆ _arguments

std::vector<std::string> marlinmt::CmdLineParser::ParseResult::_arguments {}

All command line arguments except the program name (argv[0])

Definition at line 23 of file CmdLineParser.h.

Referenced by marlinmt::CmdLineParser::parse().

◆ _config

std::optional<std::string> marlinmt::CmdLineParser::ParseResult::_config {}

The config argument.

Definition at line 27 of file CmdLineParser.h.

◆ _dumpExample

bool marlinmt::CmdLineParser::ParseResult::_dumpExample {false}

Whether to dump an example configuration and exit.

Definition at line 31 of file CmdLineParser.h.

◆ _nthreads

unsigned int marlinmt::CmdLineParser::ParseResult::_nthreads {1}

The number of threads.

Definition at line 29 of file CmdLineParser.h.

Referenced by marlinmt::BookStoreManager::bookHist(), and marlinmt::concurrency::PEPScheduler::preConfigure().

◆ _programName

std::string marlinmt::CmdLineParser::ParseResult::_programName {}

The program name.

Definition at line 21 of file CmdLineParser.h.

Referenced by marlinmt::Application::programName().


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