![]() |
aimsdata
5.0.5
Neuroimaging data handling
|
Default low-levels readers. More...
#include <aims/io/defaultItemR.h>
Public Member Functions | |
DefaultItemReader () | |
virtual | ~DefaultItemReader () |
virtual void | read (std::istream &is, T &item) const |
virtual void | read (std::istream &is, T *pitem, size_t n) const |
virtual ItemReader< T > * | reader (const std::string &openmode="binar", bool bswap=false) const |
void | read (const std::string &istring, T &item) const |
void | read (const std::string &istring, T *pitem, size_t n) const |
template<> | |
void | read (std::istream &, Void &) const |
template<> | |
void | read (std::istream &, Void *, size_t) const |
![]() | |
virtual | ~ItemReader () |
void | read (const std::string &istring, T &item) const |
void | read (const std::string &istring, T *pitem, size_t n) const |
Default low-levels readers.
They are a default implementation of the readers for most common types, and can be specialized for other types if needed. We have aleady specialized AimsVector readers
Definition at line 55 of file defaultItemR.h.
|
inline |
Definition at line 58 of file defaultItemR.h.
|
inlinevirtual |
Definition at line 59 of file defaultItemR.h.
|
inlinevirtual |
Reimplemented from aims::ItemReader< T >.
Reimplemented in aims::DefaultBSwapItemReader< T >, and aims::DefaultAsciiItemReader< T >.
Definition at line 61 of file defaultItemR.h.
References aims::DefaultItemReader< T >::reader().
Referenced by aims::DefaultItemReader< std::vector< T > >::read(), aims::DefaultItemReader< std::list< T > >::read(), aims::DefaultItemReader< AimsBucketItem< T > >::read(), aims::DefaultBSwapItemReader< std::vector< T > >::read(), aims::DefaultAsciiItemReader< T >::read(), aims::DefaultAsciiItemReader< std::vector< T > >::read(), aims::DefaultBSwapItemReader< T >::read(), aims::DefaultItemReader< AimsVector< T, D > >::read(), aims::DefaultBSwapItemReader< AimsVector< T, D > >::read(), aims::DefaultAsciiItemReader< std::list< T > >::~DefaultAsciiItemReader(), aims::DefaultAsciiItemReader< T >::~DefaultAsciiItemReader(), aims::DefaultBSwapItemReader< std::list< T > >::~DefaultBSwapItemReader(), and aims::DefaultItemReader< std::list< T > >::~DefaultItemReader().
|
inlinevirtual |
Implements aims::ItemReader< T >.
Reimplemented in aims::DefaultBSwapItemReader< T >, and aims::DefaultAsciiItemReader< T >.
Definition at line 166 of file defaultItemR.h.
|
inline |
Definition at line 66 of file defaultItemR.h.
References aims::ItemReader< T >::read().
|
inline |
Definition at line 68 of file defaultItemR.h.
References aims::ItemReader< T >::read().
|
inline |
Definition at line 247 of file defaultItemR.h.
|
inline |
Definition at line 253 of file defaultItemR.h.
|
virtual |
Implements aims::ItemReader< T >.
Definition at line 154 of file defaultItemR.h.
Referenced by aims::DefaultItemReader< std::vector< T > >::read(), aims::BckReader< T >::read(), aims::BckMapReader< T >::read(), aims::GenesisReader< T >::read(), aims::DefaultItemReader< T >::read(), aims::TexReader< T >::read(), aims::MeshReader< D, T >::read(), aims::FdfReader< T >::read(), aims::SpmReader< T >::read(), aims::DefaultItemReader< AimsVector< T, D > >::read(), and aims::DefaultItemReader< std::list< T > >::~DefaultItemReader().