libpniio
Static Public Member Functions
pni::io::tiff::ifd_entry_reader< RTYPE, ETYPE > Class Template Reference

IFD entry reader template. More...

#include <ifd_entry_reader.hpp>

Static Public Member Functions

static void read (std::vector< RTYPE > &r, std::ifstream &stream)
 read entry data More...
 

Detailed Description

template<typename RTYPE, typename ETYPE>
class pni::io::tiff::ifd_entry_reader< RTYPE, ETYPE >

This template reads IFD entries of a particular type and returns the result as a vector of a particular result type.

Member Function Documentation

template<typename RTYPE , typename ETYPE >
void pni::io::tiff::ifd_entry_reader< RTYPE, ETYPE >::read ( std::vector< RTYPE > &  r,
std::ifstream &  stream 
)
static

This static method reads IFD entry data from a stream. It assumes that the stream is already properly positioned at the begining of the entries data section. The method does no repositioning of the stream once it is finished. This must be done by the calling function or method.

Parameters
rnumber of elements to read
streaminput stream from which to read data
Returns
vector of RTYPE values holding the result

The documentation for this class was generated from the following file: