// Copyright 2013 Jan de Cuveland #pragma once #include #include namespace fles { #pragma pack(1) //! Timeslice component descriptor struct. struct TimesliceComponentDescriptor { uint64_t ts_num; ///< Timeslice index. uint64_t offset; ///< Start offset (in bytes) of corresponding data. uint64_t size; ///< Size (in bytes) of corresponding data. uint64_t num_microslices; ///< Number of microslices. friend class boost::serialization::access; template void serialize(Archive& ar, const unsigned int /* version */) { ar& ts_num; ar& offset; ar& size; ar& num_microslices; } }; #pragma pack() } // namespace fles {