DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
data.cpp File Reference
#include "oks/object.hpp"
#include "oks/xml.hpp"
#include "oks/attribute.hpp"
#include "oks/relationship.hpp"
#include "oks/class.hpp"
#include "oks/kernel.hpp"
#include "oks/cstring.hpp"
#include "oks_utils.hpp"
#include "logging/Logging.hpp"
#include <string.h>
#include <stdlib.h>
#include <string>
#include <sstream>
#include <stdexcept>
#include <limits>
#include <boost/date_time/posix_time/time_formatters.hpp>
#include <boost/date_time/posix_time/time_parsers.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
Include dependency graph for data.cpp:

Go to the source code of this file.

Namespaces

namespace  dunedaq
 Including Qt Headers.
 

Macros

#define _OksBuildDll_
 
#define CMP_OBJ(OP, c1, c2, id1, id2)
 
#define CMP_DATA(OP)
 

Functions

 dunedaq::ERS_DECLARE_ISSUE (oks, DeprecatedFormat, "the file "<< file<< " contains OKS time data stored in deprecated format \'"<< data<< "\'. Please refresh it using an oks application. Support for such format will be removed in a future release.",((const char *) file)((const char *) data)) namespace oks
 

Macro Definition Documentation

◆ _OksBuildDll_

#define _OksBuildDll_

Definition at line 1 of file data.cpp.

◆ CMP_DATA

#define CMP_DATA ( OP)
Value:
switch(type) { \
case string_type: return (*data.STRING OP *d.data.STRING); \
case u32_int_type: return (data.U32_INT OP d.data.U32_INT); \
case s32_int_type: return (data.S32_INT OP d.data.S32_INT); \
case u16_int_type: return (data.U16_INT OP d.data.U16_INT); \
case s16_int_type: return (data.S16_INT OP d.data.S16_INT); \
case s8_int_type: return (data.S8_INT OP d.data.S8_INT); \
case u8_int_type: return (data.U8_INT OP d.data.U8_INT); \
case s64_int_type: return (data.S64_INT OP d.data.S64_INT); \
case u64_int_type: return (data.U64_INT OP d.data.U64_INT); \
case float_type: return (data.FLOAT OP d.data.FLOAT); \
case double_type: return (data.DOUBLE OP d.data.DOUBLE); \
case bool_type: return (data.BOOL OP d.data.BOOL); \
case date_type: return (data.DATE OP d.data.DATE); \
case time_type: return (data.TIME OP d.data.TIME); \
case enum_type: return (*data.ENUMERATION OP *d.data.ENUMERATION); \
case class_type: return (data.CLASS->get_name() OP d.data.CLASS->get_name()); \
case object_type: \
case uid_type: \
case uid2_type: \
return CMP_OBJ ( OP, __cn(), d.__cn(), __oid(), d.__oid() ); \
default: return false; \
}
#define CMP_OBJ(OP, c1, c2, id1, id2)

◆ CMP_OBJ

#define CMP_OBJ ( OP,
c1,
c2,
id1,
id2 )
Value:
(c1 OP c2) || (!(c2 OP c1) && id1 OP id2)