Definition at line 910 of file mlogger.cxx.
◆ WriterCRC32Zlib()
Definition at line 913 of file mlogger.cxx.
914 {
917
919
923 }
TH1X EXPRT * h1_book(const char *name, const char *title, int bins, double min, double max)
◆ ~WriterCRC32Zlib()
WriterCRC32Zlib::~WriterCRC32Zlib |
( |
| ) |
|
|
inline |
Definition at line 925 of file mlogger.cxx.
926 {
928 printf(
"WriterCRC32Zlib: destructor\n");
930 }
◆ wr_close()
int WriterCRC32Zlib::wr_close |
( |
LOG_CHN * |
log_chn, |
|
|
int |
run_number |
|
) |
| |
|
inlinevirtual |
Implements WriterInterface.
Definition at line 974 of file mlogger.cxx.
975 {
977 std::string f = x + ".crc32zlib";
978
980 printf(
"WriterCRC32Zlib: close path [%s], level %d, file [%s]\n",
log_chn->path.c_str(),
fLevel, f.c_str());
981
983
984 cm_msg(
MLOG,
"CRC32Zlib",
"File \'%s\' CRC32-zlib checksum: 0x%08lx, %.0f bytes", x.c_str(), (
unsigned long)
fCrc32,
fBytesIn);
985
989 } else {
992 }
993
994
995
997
1000
1003 }
1004
1006 }
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 WriterCRC32Zlib::wr_get_chain |
( |
| ) |
|
|
inlinevirtual |
◆ wr_get_file_ext()
std::string WriterCRC32Zlib::wr_get_file_ext |
( |
| ) |
|
|
inlinevirtual |
◆ wr_open()
int WriterCRC32Zlib::wr_open |
( |
LOG_CHN * |
log_chn, |
|
|
int |
run_number |
|
) |
| |
|
inlinevirtual |
Implements WriterInterface.
Definition at line 932 of file mlogger.cxx.
933 {
935
938
940
943
946 }
947
949
951
953 }
virtual int wr_open(LOG_CHN *log_chn, int run_number)=0
◆ wr_write()
Implements WriterInterface.
Definition at line 955 of file mlogger.cxx.
956 {
958 printf(
"WriterCRC32Zlib: write path [%s], size %d\n",
log_chn->path.c_str(), size);
959
961
963
966
969 }
970
972 }
virtual int wr_write(LOG_CHN *log_chn, const void *data, const int size)=0
◆ fCrc32
uLong WriterCRC32Zlib::fCrc32 |
|
private |
◆ fLevel
int WriterCRC32Zlib::fLevel |
|
private |
◆ fWr
The documentation for this class was generated from the following file: