Auxiliary data structure for datalog strings.
More...
#include <JDatalogString.hh>
Auxiliary data structure for datalog strings.
Definition at line 32 of file JDatalogString.hh.
static const char* const JDB::JDatalogString::getName |
( |
| ) |
|
|
inlinestatic |
bool JDB::JDatalogString::match |
( |
const JDatalogString & |
datalog | ) |
const |
|
inline |
Get match.
- Parameters
-
- Returns
- true if datalog matches; else false
Definition at line 43 of file JDatalogString.hh.
49 if (!datalog.
data .empty() && !regex_match(
data, regex(datalog.
data))) {
return false; }
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JDatalogString & |
object |
|
) |
| |
|
friend |
Read datalog from input.
- Parameters
-
in | input stream |
object | datalog |
- Returns
- input stream
Definition at line 62 of file JDatalogString.hh.
71 while (
in.peek() != EOF && isspace((
char)
in.peek())) {
in.ignore(1); }
Auxiliary data structure for datalog strings.
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JDatalogString & |
object |
|
) |
| |
|
friend |
Write datalog to output.
- Parameters
-
out | output stream |
object | datalog |
- Returns
- output stream
Definition at line 84 of file JDatalogString.hh.
88 JDateAndTime
utc(
object.
utc / 1000, 1.0e-3 * (
float) (
object.
utc%1000) ,
true);
91 out <<
object.utc <<
' ';
93 out <<
object.source <<
' ';
94 out <<
object.parameter <<
' ';
int JDB::JDatalogString::run |
long int JDB::JDatalogString::utc |
The documentation for this struct was generated from the following file: