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

An interface for writing the GeoGrid to a file, can be implemented with multiple file types. More...

#include <GeoGridWriter.h>

Inheritance diagram for geopop::GeoGridWriter:
Inheritance graph
Collaboration diagram for geopop::GeoGridWriter:
Collaboration graph

Public Member Functions

virtual ~GeoGridWriter ()=default
 Construct the Writer. More...
 
virtual void Write (GeoGrid &geoGrid, std::ostream &stream)=0
 Write the GeoGrid to ostream. More...
 

Detailed Description

An interface for writing the GeoGrid to a file, can be implemented with multiple file types.

Protobuf and json are currently implemented.

Definition at line 29 of file GeoGridWriter.h.

Constructor & Destructor Documentation

virtual geopop::GeoGridWriter::~GeoGridWriter ( )
virtualdefault

Construct the Writer.

Member Function Documentation

virtual void geopop::GeoGridWriter::Write ( GeoGrid geoGrid,
std::ostream &  stream 
)
pure virtual

Write the GeoGrid to ostream.

Implemented in geopop::GeoGridProtoWriter, and geopop::GeoGridJSONWriter.


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