#include <image_read.hh>
Static Public Member Functions | |
template<class T> | |
static 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.
static bool oln::io::internal::readers_trier::doit | ( | T & | output, | |
std::istream & | in, | |||
const std::string | ext | |||
) | [inline, static] |
Readers trier functor, helper for stream_wrappers.
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 }