LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
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)
 

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

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.

59  {
61  persistableType,
62  factory);
63 }
static FormatterRegistry & getInstance(void)
void registerFormatter(std::string const &persistableName, std::type_info const &persistableType, Formatter::FactoryPtr factory)

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