A boolean proxy, used to fool std::vector. More...
#include <complex_image.hh>
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. |
A boolean proxy, used to fool std::vector.
Definition at line 56 of file mln/core/image/complex_image.hh.
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.
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_.
bool mln::internal::bool_proxy::b_ [private] |
The value.
Definition at line 71 of file mln/core/image/complex_image.hh.
Referenced by operator bool &(), operator const bool &(), operator<(), operator=(), and operator==().