#include <aims/io/readerasobject.h>
|
| ReaderAsObject (const std::string &filename="") |
|
virtual | ~ReaderAsObject () |
|
carto::Object | read (int border=0, const std::string *format=0, int frame=-1) |
|
| Process () |
| Attempts to read the header of filename and, if successful, calls the operator() of the process \process. More...
|
|
virtual | ~Process () |
|
void | registerProcessType (const std::string &objType, const std::string &dataType, ProcFunc procFunc) |
| Registers the process to call on a given (object type, data type) couple (just fills the map) More...
|
|
bool | execute (const std::string &filename) |
| Executes the process on the object / data type found in the given file. More...
|
|
bool | execute (Finder &f, const std::string &filename) |
| Same as above but the header has already been read (or hand-made to fake it!) More...
|
|
const std::map< std::string, std::map< std::string, ProcFunc > > & | processTypes () const |
| Query registered process types. More...
|
|
void | setReadOptions (carto::Object options) |
| Set reading options. More...
|
|
Definition at line 43 of file readerasobject.h.
◆ ReaderAsObject()
aims::ReaderAsObject::ReaderAsObject |
( |
const std::string & |
filename = "" | ) |
|
◆ ~ReaderAsObject()
virtual aims::ReaderAsObject::~ReaderAsObject |
( |
| ) |
|
|
virtual |
◆ read()
carto::Object aims::ReaderAsObject::read |
( |
int |
border = 0 , |
|
|
const std::string * |
format = 0 , |
|
|
int |
frame = -1 |
|
) |
| |
◆ readAsObject()
template<typename T >
bool aims::ReaderAsObject::readAsObject |
( |
Process & |
p, |
|
|
const std::string & |
fname, |
|
|
Finder & |
|
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: