Public Types | Public Member Functions | Private Attributes

mln::value::hsi_< H, S, I > Class Template Reference

#include <hsi.hh>

Inheritance diagram for mln::value::hsi_< H, S, I >:
Inheritance graph

List of all members.

Public Types

typedef H h_type
typedef I i_type
typedef S s_type

Public Member Functions

 hsi_ ()
 Constructor without argument.
 hsi_ (const H &hue, const S &sat, const I &inty)
 Constructor from component values.
const H & hue () const
 Read-only access to the hue component.
H & hue ()
 Read-write access to the hue component.
const I & inty () const
I & inty ()
S & sat ()
const S & sat () const

Private Attributes

hue_
int_
sat_

template<typename H, typename S, typename I>
class mln::value::hsi_< H, S, I >


Member Typedef Documentation

template<typename H , typename S , typename I >
typedef H mln::value::hsi_< H, S, I >::h_type
template<typename H , typename S , typename I >
typedef I mln::value::hsi_< H, S, I >::i_type
template<typename H , typename S , typename I >
typedef S mln::value::hsi_< H, S, I >::s_type

Constructor & Destructor Documentation

template<typename H , typename S , typename I >
mln::value::hsi_< H, S, I >::hsi_ (  )  [inline]

Constructor without argument.

template<typename H , typename S , typename I >
mln::value::hsi_< H, S, I >::hsi_ ( const H &  hue,
const S &  sat,
const I &  inty 
) [inline]

Constructor from component values.


Member Function Documentation

template<typename H , typename S , typename I >
const H& mln::value::hsi_< H, S, I >::hue (  )  const [inline]

Read-only access to the hue component.

References mln::value::hsi_< H, S, I >::hue_.

template<typename H , typename S , typename I >
H& mln::value::hsi_< H, S, I >::hue (  )  [inline]

Read-write access to the hue component.

References mln::value::hsi_< H, S, I >::hue_.

template<typename H , typename S , typename I >
I& mln::value::hsi_< H, S, I >::inty (  )  [inline]
template<typename H , typename S , typename I >
const I& mln::value::hsi_< H, S, I >::inty (  )  const [inline]
template<typename H , typename S , typename I >
const S& mln::value::hsi_< H, S, I >::sat (  )  const [inline]
template<typename H , typename S , typename I >
S& mln::value::hsi_< H, S, I >::sat (  )  [inline]

Member Data Documentation

template<typename H , typename S , typename I >
H mln::value::hsi_< H, S, I >::hue_ [private]
template<typename H , typename S , typename I >
I mln::value::hsi_< H, S, I >::int_ [private]
template<typename H , typename S , typename I >
S mln::value::hsi_< H, S, I >::sat_ [private]