Functions

mln::io::fld::internal Namespace Reference

Functions

void abort_fld_reader (const char *msg, unsigned line=0)
void abort_load (const char *msg, const char *filename)
template<typename I >
void load_raw (std::ifstream &file, I &ima)
template<typename I >
void load_raw_contiguous (std::ifstream &file, I &ima)
template<typename I >
void load_raw_uncontiguous (std::ifstream &file, I &ima)
template<typename I >
fld::fld_header make_header (const I &ima)
template<class V >
void read_value (std::ifstream &file, value::Scalar< V > &v)
template<unsigned int n>
void read_value (std::ifstream &file, value::rgb< n > &v)
template<typename V >
void read_value (std::ifstream &file, V &v)
template<typename I >
void save_data_contiguous (std::ofstream &file, const I &ima)

Function Documentation

void mln::io::fld::internal::abort_fld_reader ( const char *  msg,
unsigned  line = 0 
)

Definition at line 63 of file fld/load_header.hh.

Referenced by mln::io::fld::read_header().

void mln::io::fld::internal::abort_load ( const char *  msg,
const char *  filename 
)

Definition at line 88 of file fld/load.hh.

Referenced by mln::io::fld::load().

template<typename I >
void mln::io::fld::internal::load_raw ( std::ifstream &  file,
I &  ima 
) [inline]

Definition at line 185 of file fld/load.hh.

References load_raw_contiguous(), and load_raw_uncontiguous().

Referenced by mln::io::fld::load().

template<typename I >
void mln::io::fld::internal::load_raw_contiguous ( std::ifstream &  file,
I &  ima 
) [inline]

Definition at line 146 of file fld/load.hh.

Referenced by load_raw().

template<typename I >
void mln::io::fld::internal::load_raw_uncontiguous ( std::ifstream &  file,
I &  ima 
) [inline]

Definition at line 137 of file fld/load.hh.

References read_value().

Referenced by load_raw().

template<typename I >
fld::fld_header mln::io::fld::internal::make_header ( const I &  ima  )  [inline]
template<class V >
void mln::io::fld::internal::read_value ( std::ifstream &  file,
value::Scalar< V > &  v 
) [inline]

Definition at line 115 of file fld/load.hh.

References mln::exact().

template<unsigned int n>
void mln::io::fld::internal::read_value ( std::ifstream &  file,
value::rgb< n > &  v 
) [inline]
template<typename V >
void mln::io::fld::internal::read_value ( std::ifstream &  file,
V &  v 
) [inline]

Definition at line 127 of file fld/load.hh.

template<typename I >
void mln::io::fld::internal::save_data_contiguous ( std::ofstream &  file,
const I &  ima 
) [inline]

Definition at line 66 of file fld/save.hh.

Referenced by mln::io::fld::save().