Stride Reference Manual  - generated for commit 9643b11
geopop::GeoGridReaderFactory Class Reference

A Factory for creating the correct implementation of a GeoGridReader based on the filename extension. More...

#include <GeoGridReaderFactory.h>

Collaboration diagram for geopop::GeoGridReaderFactory:
Collaboration graph

Public Member Functions

std::shared_ptr< GeoGridReaderCreateReader (const std::string &filename, stride::Population *pop) const
 Create a GeoGridReader based on the provided extension in the filename. More...
 

Detailed Description

A Factory for creating the correct implementation of a GeoGridReader based on the filename extension.

Definition at line 32 of file GeoGridReaderFactory.h.

Member Function Documentation

std::shared_ptr< GeoGridReader > geopop::GeoGridReaderFactory::CreateReader ( const std::string &  filename,
stride::Population pop 
) const

Create a GeoGridReader based on the provided extension in the filename.

Definition at line 36 of file GeoGridReaderFactory.cpp.

Referenced by stride::ImportPopBuilder::Build().

Here is the caller graph for this function:


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