oln::io::internal::get_pnm_type< I > Class Template Reference

#include <pnm_common.hh>

Collaboration diagram for oln::io::internal::get_pnm_type< I >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef mlc::bool_switch_<
mlc::bool_case_< mlc::internal::wrap<
typename mlc::internal::is_a_<
sizeof(mlc::form::get< ntg::unsigned_integer
>)) >::check< typename ntg::type_traits<
typename mlc::exact< I
>::ret::value_type >::abstract_type,
ntg::unsigned_integer
> >::ret, get_it< PnmInteger >,
mlc::bool_case_< mlc::internal::wrap<
typename mlc::internal::is_a_<
sizeof(mlc::form::get< ntg::binary
>)) >::check< typename ntg::type_traits<
typename mlc::exact< I
>::ret::value_type >::abstract_type,
ntg::binary > >::ret, get_it<
PnmBinary >, mlc::bool_case_<
mlc::internal::wrap< typename
mlc::internal::is_a_< sizeof(mlc::form::get< ntg::vectorial
>)) >::check< typename ntg::type_traits<
typename mlc::exact< I
>::ret::value_type >::abstract_type,
ntg::vectorial > >::ret,
get_it< PnmVectorial >, mlc::bool_case_<
true, get_it< PnmInvalid
> > > > > >::ret 
tmp_type

Static Public Attributes

static const pnm_type ret = tmp_type::ret

Detailed Description

template<class I>
class oln::io::internal::get_pnm_type< I >

A metaswitch that return the pnm type associated to an image type.

Todo:
FIXME: this could be done by using labels images eg: read(binary_image_with_dim<2>& ima) { // ... }

Definition at line 78 of file pnm_common.hh.


The documentation for this class was generated from the following file:
Generated on Tue Feb 20 20:27:21 2007 for Olena by  doxygen 1.5.1