oln::io::internal::try_readers< R, T > Struct Template Reference

Image's reader. More...

#include <image_read.hh>

List of all members.

Static Public Member Functions

bool by_extension (T &output, std::istream &in, const std::string &ext)
 Read an object from a stream. Try do deduce the image format from the extension.
  • output The new object to write.
  • in The stream.
  • ext The extension's filename.


bool by_data (T &output, std::istream &in)
 Read an object from a stream. Try to match the file format referring to the data only.
  • output The new object to write.
  • in The stream.



Detailed Description

template<reader_id R, typename T>
struct oln::io::internal::try_readers< R, T >

Image's reader.

Parameters:
R Type of reader.

Definition at line 58 of file image_read.hh.


The documentation for this struct was generated from the following file:
Generated on Thu Apr 15 20:16:25 2004 for Olena by doxygen 1.3.6-20040222