zypp::DefaultFalseBool Class Reference

Bool whose default value is false. More...

#include <DefaultFalseBool.h>

List of all members.

Public Member Functions

 DefaultFalseBool ()
 DefaultCtor.
 ~DefaultFalseBool ()
 Dtor.
 operator bool () const
bool operator= (bool a)

Private Attributes

bool _b


Detailed Description

Bool whose default value is false.

Useful for map<T, bool> where if the entry is not present you get a undefined bool

Definition at line 29 of file DefaultFalseBool.h.


Constructor & Destructor Documentation

zypp::DefaultFalseBool::DefaultFalseBool (  )  [inline]

DefaultCtor.

Definition at line 33 of file DefaultFalseBool.h.

zypp::DefaultFalseBool::~DefaultFalseBool (  )  [inline]

Dtor.

Definition at line 37 of file DefaultFalseBool.h.


Member Function Documentation

zypp::DefaultFalseBool::operator bool (  )  const [inline]

Definition at line 40 of file DefaultFalseBool.h.

References _b.

bool zypp::DefaultFalseBool::operator= ( bool  a  )  [inline]

Definition at line 43 of file DefaultFalseBool.h.

References _b.


Member Data Documentation

bool zypp::DefaultFalseBool::_b [private]

Definition at line 50 of file DefaultFalseBool.h.

Referenced by operator bool(), and operator=().


The documentation for this class was generated from the following file:
Generated on Tue Sep 25 19:23:14 2007 for libzypp by  doxygen 1.5.3