40#include <cartobase/object/syntax.h>
57 int subobjectsfilter = -1 ) = 0;
96 static bool hasReader(
const std::string & syntax );
104 struct StaticPrivate;
105 static StaticPrivate* staticPrivate();
117 int subobjectsfilter = -1 );
static std::set< std::string > readers()
static void deleteReader(const std::string &syntax)
removes and deletes a reader
Graph * read(int subobjectsfilter=-1) const
static bool hasReader(const std::string &syntax)
static void initLowLevelReaders()
called once from the main thread first at init time.
static void registerReader(const std::string &syntax, LowLevelArgReader *reader)
sets the reader to use for graphs of a specific syntax.
ArgReader(const std::string &filename)
Wrapper for a specific GraphReader.
static void mergeTransformations(Graph &g, const PythonHeader &hdr)
Store referentials, transformations, and update the Talairach transformation in the graph,...
virtual ~LowLevelArgReader()
virtual Graph * read(const std::string &filename, int subobjectsfilter=-1)=0
in case of failure, either raise an exception or return 0
virtual void mergeMinf(Graph &g, const PythonHeader &hdr)
set / merge .minf header into the graph.
carto::SyntaxSet * _syntax
virtual Graph * read(const std::string &filename, int subobjectsfilter=-1)
in case of failure, either raise an exception or return 0
LowLevelStandardArgReader()
virtual ~LowLevelStandardArgReader()
The class for EcatSino data write operation.
std::map< std::string, Syntax > SyntaxSet