lsst.daf.persistence  16.0-7-g88875c5
Public Member Functions | List of all members
lsst::daf::persistence::FormatterRegistration Class Reference

Construct a static instance of this helper class to register a Formatter subclass in the FormatterRegistry. More...

#include <Formatter.h>

Public Member Functions

 FormatterRegistration (std::string const &persistableName, std::type_info const &persistableType, Formatter::FactoryPtr factory)
 Constructor. More...
 

Detailed Description

Construct a static instance of this helper class to register a Formatter subclass in the FormatterRegistry.

Definition at line 138 of file Formatter.h.

Constructor & Destructor Documentation

◆ FormatterRegistration()

lsst::daf::persistence::FormatterRegistration::FormatterRegistration ( std::string const &  persistableName,
std::type_info const &  persistableType,
Formatter::FactoryPtr  factory 
)

Constructor.

Registers Formatter subclass factory function.

Parameters
[in]persistableNameName of the Persistable subclass
[in]persistableTypetypeid() of the Persistable subclass
[in]factoryFactory function for the Formatter, taking a Policy

Definition at line 56 of file Formatter.cc.


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