![]() |
Project
|
#include <CompressedClustersHelpers.h>
Static Public Member Functions | |
template<typename Op , typename BufferType > | |
static size_t | apply (Op op, BufferType &ptr, CompressedClustersROOT &c) |
template<typename ContainerType > | |
static size_t | flattenTo (ContainerType &container, CompressedClustersROOT &clusters) |
template<typename ContainerType > | |
static size_t | restoreFrom (ContainerType &container, CompressedClustersROOT &clusters) |
Restore the array pointers from the data in the container. | |
Definition at line 30 of file CompressedClustersHelpers.h.
|
inlinestatic |
Apply an operation to the layout of the class This method is the single place defining the mapping of the class layout to an underlying buffer for the flatten/restore functionality
op | the operation to be applied, e.g. calculate raw buffer size, copy to and restore from buffer |
ptr | buffer pointer, passed onto to operation |
counters | the counters object CompressedClustersCounters |
Definition at line 39 of file CompressedClustersHelpers.h.
|
inlinestatic |
Create a flat copy of the class The target container is resized accordingly
Definition at line 53 of file CompressedClustersHelpers.h.
|
inlinestatic |
Restore the array pointers from the data in the container.
Definition at line 69 of file CompressedClustersHelpers.h.