Definition at line 1026 of file mlogger.cxx.
◆ WriterCRC32C()
Definition at line 1029 of file mlogger.cxx.
1030 {
1033
1035
1039 }
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
◆ ~WriterCRC32C()
WriterCRC32C::~WriterCRC32C |
( |
| ) |
|
|
inline |
◆ wr_close()
Implements WriterInterface.
Definition at line 1090 of file mlogger.cxx.
1091 {
1093 std::string f = x + ".crc32c";
1094
1096 printf(
"WriterCRC32C: close path [%s], level %d, file [%s]\n",
log_chn->path.c_str(),
fLevel, f.c_str());
1097
1099
1100 cm_msg(
MLOG,
"CRC32C",
"File \'%s\' CRC32C checksum: 0x%08lx, %.0f bytes", x.c_str(), (
unsigned long)
fCrc32,
fBytesIn);
1101
1105 } else {
1108 }
1109
1110
1111
1113
1116
1119 }
1120
1122 }
virtual int wr_close(LOG_CHN *log_chn, int run_number)=0
INT cm_msg(INT message_type, const char *filename, INT line, const char *routine, const char *format,...)
static FILE * fopen_wx(const char *filename)
static std::string xpathname(const char *xpath, int level)
◆ wr_get_chain()
std::string WriterCRC32C::wr_get_chain |
( |
| ) |
|
|
inlinevirtual |
◆ wr_get_file_ext()
std::string WriterCRC32C::wr_get_file_ext |
( |
| ) |
|
|
inlinevirtual |
◆ wr_open()
Implements WriterInterface.
Definition at line 1048 of file mlogger.cxx.
1049 {
1051
1054
1056
1059
1062 }
1063
1065
1067
1069 }
virtual int wr_open(LOG_CHN *log_chn, int run_number)=0
◆ wr_write()
Implements WriterInterface.
Definition at line 1071 of file mlogger.cxx.
1072 {
1074 printf(
"WriterCRC32C: write path [%s], size %d\n",
log_chn->path.c_str(), size);
1075
1077
1079
1082
1085 }
1086
1088 }
virtual int wr_write(LOG_CHN *log_chn, const void *data, const int size)=0
uint32_t crc32c(uint32_t crc, const void *buf, size_t len)
◆ fCrc32
◆ fLevel
◆ fWr
The documentation for this class was generated from the following file: