34#ifndef AIMS_IO_READERASOBJECT_H
35#define AIMS_IO_READERASOBJECT_H
52 template <
typename T>
static
56 std::string _filename;
59 const std::string *_format;
72 r.
read( ord._result->carto::GenericObject::value<T>(), ord._border,
73 ord._format, ord._frame );
Generic finder / checker for all data objects and file formats This will replace the old AimsFinder.
Process()
Attempts to read the header of filename and, if successful, calls the operator() of the process \proc...
virtual ~ReaderAsObject()
static bool readAsObject(Process &, const std::string &, Finder &)
callback functions
ReaderAsObject(const std::string &filename="")
carto::Object read(int border=0, const std::string *format=0, int frame=-1)
Generic reader for every format of Aims object.
virtual bool read(T &obj, int border=0, const std::string *format=0, int frame=-1)
Finds the correct format and reads the object. if format is specified, this format is tried first,...
The class for EcatSino data write operation.