47     out << 
FILL(6,
'0') << ++row << 
FILL() << 
' ' << 
object << endl;
 
   58 int main(
int argc, 
char **argv)
 
   62   using namespace KM3NETDAQ;
 
   97     JParser<> zap(
"Auxiliary application to examine datalog file.");
 
   99     zap[
'f'] = 
make_field(datalogstringFile,    
"datalog file");
 
  100     zap[
'e'] = 
make_field(
egrep,                
"filter, precede with '!' to invert") = 
"";
 
  109   catch(
const exception& error) {
 
  110     FATAL(error.what() << endl);
 
  117     for (
const auto& filename : datalogstringFile) {
 
  118       datalogs.
load(filename);
 
  121   catch(
const exception& error) {
 
  122     FATAL(error.what() << endl);
 
  126     JDatalogs_t::iterator __end = datalogs.end();
 
  128     for (JDatalogs_t::iterator 
i = datalogs.begin(); 
i != __end; ) {
 
  130       bool status = UTC(
i->utc);
 
  132       if (!
egrep.empty()) {
 
  134         if (
egrep[0] != 
'!' && !regex_match(
i->data, regex(
".*" + 
egrep.substr(0) + 
".*"))) { status = 
false; }
 
  135         if (
egrep[0] == 
'!' &&  regex_match(
i->data, regex(
".*" + 
egrep.substr(1) + 
".*"))) { status = 
false; }
 
  150           status = 
i->match(datalog);
 
  156         iter_swap(
i, --__end);
 
  159     datalogs.erase(__end, datalogs.end());
 
  164   for (
const auto& datalog : datalogs) {
 
  165     print(cout, datalog);
 
Utility class to parse command line options. 
 
int main(int argc, char *argv[])
 
JComparator< JResult_t T::*, JComparison::lt > make_comparator(JResult_t T::*member)
Helper method to create comparator between values of data member. 
 
#define gmake_property(A)
macros to convert (template) parameter to JPropertiesElement object 
 
static const std::string MESSAGE_TAG
Message logging tag. 
 
Utility class to parse parameter values. 
 
void load(const std::string &file_name)
Load message from input file. 
 
bool match(const JReplyMessage &message) const 
Get match. 
 
Empty structure for specification of parser element that is initialised (i.e. does not require input)...
 
Utility class to parse parameter values. 
 
Auxiliary data structure for logger message. 
 
Type definition of range. 
 
static const JNET::JTag RC_REPLY
 
Auxiliary data structure for datalog strings. 
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
bool match(const JLoggerMessage &message) const 
Get match. 
 
General purpose messaging. 
 
Auxiliary data structure for sequence of same character. 
 
std::string toString() const 
Convert tag to string. 
 
General purpose message reporting. 
 
Auxiliary class to define a range between two values. 
 
Utility class to parse command line options. 
 
Auxiliary data structure for reply message. 
 
Container for datalog strings.