BmnRoot
Loading...
Searching...
No Matches
TimesliceComponentDescriptor.h
Go to the documentation of this file.
1// Copyright 2013 Jan de Cuveland <cmail@cuveland.de>
4#pragma once
5
6#include <boost/serialization/access.hpp>
7#include <cstdint>
8
9namespace fles
10{
11
12#pragma pack(1)
13
17struct TimesliceComponentDescriptor
18{
19 uint64_t ts_num;
20 uint64_t offset;
21 uint64_t size;
22 uint64_t num_microslices;
23
26 template<class Archive>
27 void serialize(Archive& ar, const unsigned int /* version */)
28 {
29 ar & ts_num;
30 ar & offset;
31 ar & size;
32 ar & num_microslices;
33 }
34};
35
36#pragma pack()
37
38} // namespace fles
Main FLES namespace.
uint64_t num_microslices
Number of microslices.
friend class boost::serialization::access
uint64_t size
Size (in bytes) of corresponding data.
void serialize(Archive &ar, const unsigned int)
Provide boost serialization access.
uint64_t offset
Start offset (in bytes) of corresponding data.