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_

Detailed Description

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

Definition at line 50 of file hsi.hh.


Member Typedef Documentation

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

Definition at line 54 of file hsi.hh.

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

Definition at line 56 of file hsi.hh.

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

Definition at line 55 of file hsi.hh.


Constructor & Destructor Documentation

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

Constructor without argument.

Definition at line 59 of file hsi.hh.

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.

Definition at line 64 of file hsi.hh.


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.

Definition at line 72 of file hsi.hh.

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.

Definition at line 86 of file hsi.hh.

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

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

Definition at line 94 of file hsi.hh.

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

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

Definition at line 80 of file hsi.hh.

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

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

Definition at line 76 of file hsi.hh.

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

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

Definition at line 90 of file hsi.hh.

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


Member Data Documentation

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

Definition at line 100 of file hsi.hh.

Referenced by mln::value::hsi_< H, S, I >::hue().

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

Definition at line 102 of file hsi.hh.

Referenced by mln::value::hsi_< H, S, I >::inty().

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

Definition at line 101 of file hsi.hh.

Referenced by mln::value::hsi_< H, S, I >::sat().