Auxiliary data structure for datalog strings.
More...
#include <JDatalogString.hh>
Auxiliary data structure for datalog strings.
Definition at line 33 of file JDatalogString.hh.
◆ getName()
static const char* const JDB::JDatalogString::getName |
( |
| ) |
|
|
inlinestatic |
◆ match()
bool JDB::JDatalogString::match |
( |
const JDatalogString & |
datalog | ) |
const |
|
inline |
Get match.
- Parameters
-
- Returns
- true if datalog matches; else false
Definition at line 44 of file JDatalogString.hh.
50 if (!datalog.
data .empty() && !regex_match(
data, regex(datalog.
data))) {
return false; }
◆ operator>>
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 63 of file JDatalogString.hh.
72 while (in.peek() != EOF && isspace((
char) in.peek())) { in.ignore(1); }
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
Auxiliary data structure for datalog strings.
◆ operator<<
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 85 of file JDatalogString.hh.
92 out <<
object.utc <<
' ';
94 out <<
object.source <<
' ';
95 out <<
object.parameter <<
' ';
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class for date and time.
◆ run
int JDB::JDatalogString::run |
◆ utc
long int JDB::JDatalogString::utc |
◆ source
std::string JDB::JDatalogString::source |
◆ parameter
std::string JDB::JDatalogString::parameter |
◆ data
std::string JDB::JDatalogString::data |
The documentation for this struct was generated from the following file: