LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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: