10 #ifndef DOXYGEN_SHOULD_SKIP_THIS
15 uint32_t columnHeaderOffset;
19 std::string storageManagerName;
21 uint32_t rowsPerBlock;
22 uint32_t antennaCount;
26 uint16_t versionMajor, versionMinor;
29 uint8_t weightBitCount;
31 uint8_t normalization;
32 double studentTNu, distributionTruncation;
34 uint32_t calculateColumnHeaderOffset()
const {
36 storageManagerName.size() + 2 * 2 +
41 virtual void Serialize(std::ostream &stream)
const final override {
42 SerializeToUInt32(stream, headerSize);
43 SerializeToUInt32(stream, columnHeaderOffset);
44 SerializeToUInt32(stream, columnCount);
45 SerializeTo32bString(stream, storageManagerName);
46 SerializeToUInt32(stream, rowsPerBlock);
47 SerializeToUInt32(stream, antennaCount);
48 SerializeToUInt32(stream, blockSize);
49 SerializeToUInt16(stream, versionMajor);
50 SerializeToUInt16(stream, versionMinor);
51 SerializeToUInt8(stream, dataBitCount);
52 SerializeToUInt8(stream, weightBitCount);
53 SerializeToUInt8(stream, distribution);
54 SerializeToUInt8(stream, normalization);
55 SerializeToDouble(stream, studentTNu);
56 SerializeToDouble(stream, distributionTruncation);
59 virtual void Unserialize(std::istream &stream)
final override {
60 headerSize = UnserializeUInt32(stream);
61 columnHeaderOffset = UnserializeUInt32(stream);
62 columnCount = UnserializeUInt32(stream);
64 Unserialize32bString(stream, storageManagerName);
66 rowsPerBlock = UnserializeUInt32(stream);
67 antennaCount = UnserializeUInt32(stream);
68 blockSize = UnserializeUInt32(stream);
71 versionMajor = UnserializeUInt16(stream);
72 versionMinor = UnserializeUInt16(stream);
74 dataBitCount = UnserializeUInt8(stream);
75 weightBitCount = UnserializeUInt8(stream);
76 distribution = UnserializeUInt8(stream);
77 normalization = UnserializeUInt8(stream);
78 studentTNu = UnserializeDouble(stream);
79 distributionTruncation = UnserializeDouble(stream);
88 uint32_t columnHeaderSize;
90 virtual void Serialize(std::ostream &stream)
const override {
91 SerializeToUInt32(stream, columnHeaderSize);
94 virtual void Unserialize(std::istream &stream)
override {
95 columnHeaderSize = UnserializeUInt32(stream);
98 virtual uint32_t calculateSize()
const {
return 4; }