TECA
The Toolkit for Extreme Climate Analysis
teca_cartesian_mesh_reader_factory.h
Go to the documentation of this file.
1
#ifndef teca_cartesian_mesh_reader_factory_h
2
#define teca_cartesian_mesh_reader_factory_h
3
4
/// @file
5
6
#include "teca_config.h"
7
#include "teca_algorithm.h"
8
9
/// A factory for Cartesian mesh readers
10
struct
TECA_EXPORT
teca_cartesian_mesh_reader_factory
11
{
12
/** creates and initialized a reader from a given file name or regular
13
* expression. the file extension is examined, to determine the type of
14
* reader to create. the supported extentsions and the associated readers
15
* are as follows:
16
*
17
* bin -- teca_cartesian_mesh_reader
18
* nc -- teca_cf_reader
19
* mcf -- teca_multi_cf_reader
20
*
21
* returns a new instance of the reader with the file or regex set or a
22
* nullptr if an error is encountered
23
*/
24
static
p_teca_algorithm New(
const
std::string &file);
25
};
26
27
#endif
teca_cartesian_mesh_reader_factory
A factory for Cartesian mesh readers.
Definition:
teca_cartesian_mesh_reader_factory.h:10
teca_error::TECA_EXPORT
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.
stable
io
teca_cartesian_mesh_reader_factory.h
Generated on Wed Jun 22 2022 00:00:21 for TECA by
1.8.17