Public Member Functions | Private Attributes

mln::internal::bool_proxy Struct Reference

A boolean proxy, used to fool std::vector. More...

#include <complex_image.hh>

List of all members.

Public Member Functions

 bool_proxy ()
 bool_proxy (bool b)
 operator bool & ()
 operator const bool & () const
bool operator< (const bool_proxy &rhs)
bool & operator= (bool b)
bool operator== (const bool_proxy &rhs)

Private Attributes

bool b_
 The value.

Detailed Description

A boolean proxy, used to fool std::vector.

Definition at line 56 of file mln/core/image/complex_image.hh.


Constructor & Destructor Documentation

mln::internal::bool_proxy::bool_proxy (  )  [inline]

Definition at line 59 of file mln/core/image/complex_image.hh.

mln::internal::bool_proxy::bool_proxy ( bool  b  )  [inline]

Definition at line 60 of file mln/core/image/complex_image.hh.


Member Function Documentation

mln::internal::bool_proxy::operator bool & (  )  [inline]

Definition at line 63 of file mln/core/image/complex_image.hh.

References b_.

mln::internal::bool_proxy::operator const bool & (  )  const [inline]

Definition at line 64 of file mln/core/image/complex_image.hh.

References b_.

bool mln::internal::bool_proxy::operator< ( const bool_proxy rhs  )  [inline]

Definition at line 67 of file mln/core/image/complex_image.hh.

References b_.

bool& mln::internal::bool_proxy::operator= ( bool  b  )  [inline]

Definition at line 61 of file mln/core/image/complex_image.hh.

References b_.

bool mln::internal::bool_proxy::operator== ( const bool_proxy rhs  )  [inline]

Definition at line 66 of file mln/core/image/complex_image.hh.

References b_.


Member Data Documentation