#include <calculators.hpp>
template<class ReaderType>
v_1_0_0::FileReaderProvider class
Abstract base class for classes that create opaque readers.
A subclass must specify the ReaderType and can then easily use create() to create an appropriate FileReader by just specifying the filename.
Base classes
- class v_1_0_0::ReaderAndFormatHolder
- Interface for a class that holds formats and readers.
-
template<class ReaderType>class v_1_0_0::SelectionPerformer<ReaderType>
- Interface for a class that performs a selection.
Protected functions
- auto create(const std::string& filename) const -> std::unique_ptr<ReaderType>
- Create a FileReader capable of reading
filename
.
Function documentation
template<class ReaderType>
std::unique_ptr<ReaderType> arcsdec:: v_1_0_0:: FileReaderProvider<ReaderType>:: create(const std::string& filename) const protected
Create a FileReader capable of reading filename
.
Parameters | |
---|---|
filename in | The file to read |
Returns | A FileReader for the input file |