lsst.afw  21.0.0-42-gd49707f5a+db122c3704
Public Member Functions | List of all members
lsst::afw::typehandling::test::GenericFactory Class Referenceabstract

Abstract factory that creates GenericMap and MutableGenericMap instances as needed. More...

#include <test.h>

Public Member Functions

virtual ~GenericFactory ()=default
 
virtual std::unique_ptr< GenericMap< int > > makeGenericMap () const =0
 Create a map containing the following state: More...
 
virtual std::unique_ptr< MutableGenericMap< std::string > > makeMutableGenericMap () const =0
 Create an empty map. More...
 

Detailed Description

Abstract factory that creates GenericMap and MutableGenericMap instances as needed.

Definition at line 134 of file test.h.

Constructor & Destructor Documentation

◆ ~GenericFactory()

virtual lsst::afw::typehandling::test::GenericFactory::~GenericFactory ( )
virtualdefault

Member Function Documentation

◆ makeGenericMap()

virtual std::unique_ptr<GenericMap<int> > lsst::afw::typehandling::test::GenericFactory::makeGenericMap ( ) const
pure virtual

Create a map containing the following state:

  • KEY0: VALUE0
  • KEY1: VALUE1
  • KEY2: VALUE2
  • KEY3: VALUE3
  • KEY4: std::shared_ptr<>(VALUE4)
  • KEY5: VALUE5
  • KEY6: VALUE6

◆ makeMutableGenericMap()

virtual std::unique_ptr<MutableGenericMap<std::string> > lsst::afw::typehandling::test::GenericFactory::makeMutableGenericMap ( ) const
pure virtual

Create an empty map.


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