34 #ifndef AIMS_IO_READER_H 
   35 #define AIMS_IO_READER_H 
   73     Reader( 
const std::string& filename );
 
   83     virtual bool read( T & obj, 
int border=0, 
const std::string* format = 0, 
 
   92     virtual T* 
read( 
int border = 0, 
const std::string* format = 0, 
 
   95     void setMode( carto::AllocatorStrategy::MappingMode mode );
 
  107     static std::string 
extension( 
const std::string & filename );
 
  111     carto::AllocatorStrategy::MappingMode       
_mode;
 
  123   reader.
read( thing );
 
Generic reader for every format of Aims object.
carto::Object options() const
const std::string & fileName() const
get input file name
void setAllocatorContext(const carto::AllocatorContext &ac)
allocator control (not used by every format yet)
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,...
const carto::AllocatorContext & allocatorContext() const
static std::string extension(const std::string &filename)
void setFileName(const std::string &fileName)
set input file name
carto::AllocatorStrategy::MappingMode _mode
carto::AllocatorContext _alloccontext
void setOptions(carto::Object options)
void setMode(carto::AllocatorStrategy::MappingMode mode)
set input file mode - soon obsolete
The class for EcatSino data write operation.
aims::Reader< T > & operator>>(aims::Reader< T > &reader, T &thing)