lsst.afw g5c39d4753b+955d02b84f
Public Member Functions | Public Attributes | List of all members
lsst::afw::math::Kernel::PersistenceHelper Struct Reference

#include <KernelPersistenceHelper.h>

Public Member Functions

 PersistenceHelper (int nSpatialFunctions)
 
 PersistenceHelper (afw::table::Schema const &schema_)
 
std::shared_ptr< afw::table::BaseRecordwrite (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< SpatialFunctionPtrreadSpatialFunctions (afw::table::io::InputArchive const &archive, afw::table::BaseRecord const &record) const
 

Public Attributes

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

Detailed Description

Definition at line 39 of file KernelPersistenceHelper.h.

Constructor & Destructor Documentation

◆ PersistenceHelper() [1/2]

lsst::afw::math::Kernel::PersistenceHelper::PersistenceHelper ( int  nSpatialFunctions)
explicit

Definition at line 33 of file KernelPersistenceHelper.cc.

◆ PersistenceHelper() [2/2]

lsst::afw::math::Kernel::PersistenceHelper::PersistenceHelper ( afw::table::Schema const &  schema_)
explicit

Definition at line 45 of file KernelPersistenceHelper.cc.

Member Function Documentation

◆ readSpatialFunctions()

std::vector< std::shared_ptr< Kernel::SpatialFunction > > lsst::afw::math::Kernel::PersistenceHelper::readSpatialFunctions ( afw::table::io::InputArchive const &  archive,
afw::table::BaseRecord const &  record 
) const

Definition at line 75 of file KernelPersistenceHelper.cc.

◆ write()

std::shared_ptr< afw::table::BaseRecord > lsst::afw::math::Kernel::PersistenceHelper::write ( afw::table::io::OutputArchiveHandle handle,
Kernel const &  kernel 
) const

Definition at line 53 of file KernelPersistenceHelper.cc.

◆ writeSpatialFunctions()

void lsst::afw::math::Kernel::PersistenceHelper::writeSpatialFunctions ( afw::table::io::OutputArchiveHandle handle,
afw::table::BaseRecord record,
std::vector< SpatialFunctionPtr > const &  spatialFunctionList 
) const

Definition at line 66 of file KernelPersistenceHelper.cc.

Member Data Documentation

◆ center

afw::table::PointKey<int> lsst::afw::math::Kernel::PersistenceHelper::center

Definition at line 42 of file KernelPersistenceHelper.h.

◆ dimensions

afw::table::PointKey<int> lsst::afw::math::Kernel::PersistenceHelper::dimensions

Definition at line 41 of file KernelPersistenceHelper.h.

◆ schema

afw::table::Schema lsst::afw::math::Kernel::PersistenceHelper::schema

Definition at line 40 of file KernelPersistenceHelper.h.

◆ spatialFunctions

afw::table::Key<afw::table::Array<int> > lsst::afw::math::Kernel::PersistenceHelper::spatialFunctions

Definition at line 43 of file KernelPersistenceHelper.h.


The documentation for this struct was generated from the following files: