lsst.afw g5c39d4753b+ee3ebaee16
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | List of all members
lsst::afw::cameraGeom::Camera::Factory Class Reference
Inheritance diagram for lsst::afw::cameraGeom::Camera::Factory:
lsst::afw::table::io::PersistableFactory

Public Member Functions

 Factory ()
 
std::shared_ptr< Persistableread (InputArchive const &archive, CatalogVector const &catalogs) const override
 Construct a new object from the given InputArchive and vector of catalogs. More...
 

Static Public Member Functions

static PersistableFactory const & lookup (std::string const &name, std::string const &module="")
 Return the factory that has been registered with the given name. More...
 

Static Public Attributes

static Factory const registration
 

Protected Types

using InputArchive = io::InputArchive
 
using CatalogVector = io::CatalogVector
 

Detailed Description

Definition at line 160 of file Camera.cc.

Member Typedef Documentation

◆ CatalogVector

using lsst::afw::table::io::PersistableFactory::CatalogVector = io::CatalogVector
protectedinherited

Definition at line 231 of file Persistable.h.

◆ InputArchive

using lsst::afw::table::io::PersistableFactory::InputArchive = io::InputArchive
protectedinherited

Definition at line 230 of file Persistable.h.

Constructor & Destructor Documentation

◆ Factory()

lsst::afw::cameraGeom::Camera::Factory::Factory ( )
inline

Definition at line 163 of file Camera.cc.

Member Function Documentation

◆ lookup()

PersistableFactory const & lsst::afw::table::io::PersistableFactory::lookup ( std::string const &  name,
std::string const &  module = "" 
)
staticinherited

Return the factory that has been registered with the given name.

If the lookup fails and module is not an empty string, we will attempt to import a Python module with that name (this will only work when the C++ is being called from Python) and try again.

Definition at line 76 of file Persistable.cc.

◆ read()

std::shared_ptr< Persistable > lsst::afw::cameraGeom::Camera::Factory::read ( InputArchive const &  archive,
CatalogVector const &  catalogs 
) const
inlineoverridevirtual

Construct a new object from the given InputArchive and vector of catalogs.

Implements lsst::afw::table::io::PersistableFactory.

Definition at line 165 of file Camera.cc.

Member Data Documentation

◆ registration

Camera::Factory const lsst::afw::cameraGeom::Camera::Factory::registration
static

Definition at line 171 of file Camera.cc.


The documentation for this class was generated from the following file: