Definition at line 41 of file InputGenDriver.H.
|
| static constexpr const char * | programType = "Input Generation" |
| |
Inherits NEM::DRV::NemDriver.
◆ InputGenDriver() [1/2]
| NEM::DRV::InputGenDriver::InputGenDriver |
( |
std::string |
service, |
|
|
jsoncons::json |
opts |
|
) |
| |
◆ InputGenDriver() [2/2]
| NEM::DRV::InputGenDriver::InputGenDriver |
( |
| ) |
|
|
privatedefault |
◆ execute()
| void NEM::DRV::InputGenDriver::execute |
( |
| ) |
const |
|
overridevirtual |
Implements NEM::DRV::NemDriver.
Definition at line 58 of file InputGenDriver.C.
References opts_, service_, nemAux::Timer::start(), nemAux::Timer::stop(), and nemAux::toLower().
59 std::string srvName = this->
service_;
63 if (srvName ==
"epic_2016") {
65 ep16Prep::readJSON(this->
opts_);
67 std::cerr <<
"Compile the code with EPIC module enabled." << std::endl;
70 }
else if (srvName ==
"epic_2016_post") {
73 NEM::EPC::ep16Post::readJSON(this->
opts_, ret);
75 std::cerr <<
"Compile the code with EPIC module enabled." << std::endl;
79 std::cerr <<
"The input generation service " << srvName <<
"is unsupported."
void toLower(std::string &str)
◆ getOpts()
| const jsoncons::json & NEM::DRV::InputGenDriver::getOpts |
( |
| ) |
const |
◆ getProgramType()
| jsoncons::string_view NEM::DRV::InputGenDriver::getProgramType |
( |
| ) |
const |
|
overrideprivatevirtual |
◆ getService()
| const std::string & NEM::DRV::InputGenDriver::getService |
( |
| ) |
const |
◆ readJSON()
| std::unique_ptr< NemDriver > NEM::DRV::NemDriver::readJSON |
( |
const jsoncons::json & |
inputjson | ) |
|
|
staticinherited |
◆ setOpts()
| void NEM::DRV::InputGenDriver::setOpts |
( |
jsoncons::json |
opts | ) |
|
◆ setService()
| void NEM::DRV::InputGenDriver::setService |
( |
std::string |
service | ) |
|
◆ opts_
| jsoncons::json NEM::DRV::InputGenDriver::opts_ {} |
|
private |
◆ programType
| constexpr const char* NEM::DRV::InputGenDriver::programType = "Input Generation" |
|
staticprivate |
◆ service_
| std::string NEM::DRV::InputGenDriver::service_ {} |
|
private |
The documentation for this class was generated from the following files: