#include <image_read.hh>
Static Public Member Functions | |
template<class T> bool | doit (T &output, std::istream &in, const std::string ext) |
Readers trier functor, helper for stream_wrappers.
|
Definition at line 127 of file image_read.hh.
|
Readers trier functor, helper for stream_wrappers.
First try to read by extension, then by data. Definition at line 139 of file image_read.hh.
00140 { 00141 bool result = try_readers<ReadAny,T>::by_extension(output, in, ext); 00142 if (!result) 00143 result = try_readers<ReadAny,T>::by_data(output, in); 00144 return result; 00145 } |