![]() |
aimsdata 6.0.20
Neuroimaging data handling
|
#include <aims/io/readerasobject.h>


Public Member Functions | |
| ReaderAsObject (const std::string &filename="") | |
| virtual | ~ReaderAsObject () |
| carto::Object | read (int border=0, const std::string *format=0, int frame=-1) |
| Public Member Functions inherited from aims::Process | |
| Process () | |
Attempts to read the header of filename and, if successful, calls the operator() of the process \process. | |
| 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). | |
| bool | execute (const std::string &filename) |
| Executes the process on the object / data type found in the given file. | |
| bool | execute (Finder &f, const std::string &filename) |
| Same as above but the header has already been read (or hand-made to fake it!). | |
| const std::map< std::string, std::map< std::string, ProcFunc > > & | processTypes () const |
| Query registered process types. | |
| void | setReadOptions (carto::Object options) |
| Set reading options. | |
Static Public Member Functions | |
| template<typename T> | |
| static bool | readAsObject (Process &, const std::string &, Finder &) |
| callback functions | |
Additional Inherited Members | |
| Public Types inherited from aims::Process | |
| typedef bool(*) | ProcFunc(Process &, const std::string &, Finder &) |
| Process function type. | |
| Protected Attributes inherited from aims::Process | |
| std::map< std::string, std::map< std::string, ProcFunc > > | _execs |
| carto::Object | _options |
Definition at line 43 of file readerasobject.h.
| aims::ReaderAsObject::ReaderAsObject | ( | const std::string & | filename = "" | ) |
Referenced by readAsObject().
|
virtual |
| carto::Object aims::ReaderAsObject::read | ( | int | border = 0, |
| const std::string * | format = 0, | ||
| int | frame = -1 ) |
References aims::Process::Process(), and readAsObject().
|
inlinestatic |
callback functions
Definition at line 66 of file readerasobject.h.
References aims::Process::Process(), aims::Reader< T >::read(), ReaderAsObject(), and carto::Object::value().
Referenced by read().