soma-io
5.0.5
|
Format Checker. More...
#include <soma-io/checker/formatchecker.h>
Public Member Functions | |
virtual DataSourceInfo | check (DataSourceInfo dsi, DataSourceInfoLoader &f, carto::Object options=carto::none()) const =0 |
virtual | ~FormatChecker () |
Format Checker.
Checks a file for a particular format, and if compatible, returns a DataSourceInfo. FormatChecker is used by DataSourceInfoLoader and never needs to be used alone.
Format-specific FormatChecker are derived from this class and registered into the DataSourceInfoLoader dictionary.
Definition at line 55 of file formatchecker.h.
|
inlinevirtual |
Definition at line 63 of file formatchecker.h.
|
pure virtual |
Implemented in soma::JsonFormatChecker, soma::PythonFormatChecker, and soma::XMLFormatChecker.