#include <CmdLine.h>
Definition at line 152 of file CmdLine.h.
◆ OneShotIStream() [1/2]
cmdline::OneShotIStream::OneShotIStream |
( |
| ) |
|
|
inline |
◆ OneShotIStream() [2/2]
cmdline::OneShotIStream::OneShotIStream |
( |
const std::string & |
s | ) |
|
|
inline |
◆ isValid()
bool cmdline::OneShotIStream::isValid |
( |
void |
| ) |
const |
|
inline |
◆ operator void *()
cmdline::OneShotIStream::operator void * |
( |
| ) |
const |
|
inline |
◆ operator>>()
template<typename T >
bool cmdline::OneShotIStream::operator>> |
( |
T & |
obj | ) |
|
|
inline |
Definition at line 161 of file CmdLine.h.
163 throw CmdLineError() <<
"can't reuse command line argument \"" <<
str_ <<
'"';
166 std::istringstream is(
str_);
168 if (is.bad() || is.fail())
169 throw CmdLineError() <<
"failed to parse command line argument \"" <<
str_ <<
'"'
171 <<
", " << demangle(
obj) <<
" expected"
174 if (is.peek() != EOF)
175 throw CmdLineError() <<
"extra characters in command line argument \"" <<
str_ <<
'"'
177 <<
", " << demangle(
obj) <<
" expected"
References getGTfromDQMFile::obj, cmdline::OneShotExtract(), readout_, str_, and valid_.
◆ readout_
bool cmdline::OneShotIStream::readout_ |
|
private |
◆ str_
std::string cmdline::OneShotIStream::str_ |
|
private |
◆ valid_
bool cmdline::OneShotIStream::valid_ |
|
private |