#include <image_write.hh>
Static Public Member Functions | |
template<class T> | |
static bool | doit (const T &input, std::ostream &out, const std::string ext) |
Writers trier functor, helper for stream_wrappers. |
Definition at line 131 of file image_write.hh.
static bool oln::io::internal::writers_trier::doit | ( | const T & | input, | |
std::ostream & | out, | |||
const std::string | ext | |||
) | [inline, static] |
Writers trier functor, helper for stream_wrappers.
Definition at line 143 of file image_write.hh.
00144 { 00145 bool result = try_writers<WriteAny,T>::by_extension(input, out, ext); 00146 if (!result) 00147 result = try_writers<WriteAny,T>::by_data(input, out, ext); 00148 return result; 00149 }