lsst.afw  14.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::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 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

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

Definition at line 33 of file KernelPersistenceHelper.cc.

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

Definition at line 45 of file KernelPersistenceHelper.cc.

Member Function Documentation

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.

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.

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

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

Definition at line 42 of file KernelPersistenceHelper.h.

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

Definition at line 41 of file KernelPersistenceHelper.h.

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

Definition at line 40 of file KernelPersistenceHelper.h.

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: