#include "xmlcodec.h"
Go to the source code of this file.
Defines | |
| #define | DISPLAY_COMPRESSION_SUMMARY |
| Display a brief compression summary. More... | |
| #define | DISPLAY_DECOMPRESSION_SUMMARY |
| Display a brief decompression summary. More... | |
This file contains the definitions of XmlCodec class methods.
Definition in file xmlcodec.cpp.
|
|
Value: { \
OUTPUTENL("Compression performance"); \
OUTPUTENL(" Input data size: \t\t\t" << parseResult << " B"); \
double outSize = arithCodec->numberOfOutputBytes() + strlen(VERSION) + 2*SIZEOF_CHAR; \
OUTPUTENL(" Output data size: \t\t\t" << outputDevice->bytesWritten() << " B"); \
OUTPUTENL(" Compression ratio: \t\t\t1:" << (double)(outSize)/parseResult \
<< " (" << (double)(outSize*100)/parseResult << "%)"); \
OUTPUTENL(" Compression rate: \t\t\t" << (outSize / parseResult) * 8 << " bpc"); \
}
Definition at line 35 of file xmlcodec.cpp. Referenced by XmlCodec::encode, and XmlCodec::encodePush. |
|
|
Value: { \
OUTPUTENL("Decompression performance"); \
OUTPUTENL(" Input data size: \t\t\t" << inDevice->bytesRead() << " B"); \
OUTPUTENL(" Restored data size: \t\t\t" << funnelDevice->bytesWritten() \
<< " B (passed to the model for final processing)"); \
}
Definition at line 48 of file xmlcodec.cpp. Referenced by XmlCodec::decode. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002