Struct Kernel::PersistenceHelper

Nested Relationships

This struct is a nested type of Class Kernel.

Struct Documentation

struct PersistenceHelper

Public Functions

PersistenceHelper(int nSpatialFunctions)
PersistenceHelper(afw::table::Schema const &schema_)
std::shared_ptr<afw::table::BaseRecord> write(afw::table::io::OutputArchiveHandle &handle, Kernel const &kernel) const
void writeSpatialFunctions(afw::table::io::OutputArchiveHandle &handle, afw::table::BaseRecord &record, std::vector<SpatialFunctionPtr> const &spatialFunctionList) const
std::vector<SpatialFunctionPtr> readSpatialFunctions(afw::table::io::InputArchive const &archive, afw::table::BaseRecord const &record) const

Public Members

afw::table::Schema schema
afw::table::PointKey<int> dimensions
afw::table::PointKey<int> center
afw::table::Key<afw::table::Array<int>> spatialFunctions