37 #ifndef AIMS_IO_ARGR_H
38 #define AIMS_IO_ARGR_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 void deleteReader(const std::string &syntax)
removes and deletes a reader
static std::set< std::string > readers()
static bool hasReader(const std::string &syntax)
static void initLowLevelReaders()
called once from the main thread first at init time.
Graph * read(int subobjectsfilter=-1) const
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.
Wrapper for the standard GraphReader.
carto::SyntaxSet * _syntax
LowLevelStandardArgReader()
virtual Graph * read(const std::string &filename, int subobjectsfilter=-1)
in case of failure, either raise an exception or return 0
virtual ~LowLevelStandardArgReader()
The class for EcatSino data write operation.
std::map< std::string, Syntax > SyntaxSet