mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
FairMQ: Implement DeviceRunner
This commit is contained in:
committed by
Mohammad Al-Turany
parent
7f23a70670
commit
4ae2e025c9
@@ -39,6 +39,18 @@ FairMQProgOptions::~FairMQProgOptions()
|
||||
{
|
||||
}
|
||||
|
||||
void FairMQProgOptions::ParseAll(const std::vector<std::string>& cmdLineArgs, bool allowUnregistered)
|
||||
{
|
||||
std::vector<const char*> argv(cmdLineArgs.size());
|
||||
|
||||
std::transform(cmdLineArgs.begin(), cmdLineArgs.end(), argv.begin(), [](const std::string& str)
|
||||
{
|
||||
return str.c_str();
|
||||
});
|
||||
|
||||
ParseAll(argv.size(), const_cast<char**>(argv.data()), allowUnregistered);
|
||||
}
|
||||
|
||||
void FairMQProgOptions::ParseAll(const int argc, char const* const* argv, bool allowUnregistered)
|
||||
{
|
||||
// init description
|
||||
|
Reference in New Issue
Block a user