- merge 3728:3847 in trunk.
[platform/upstream/libzypp.git] / zypp / TriBool.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file       zypp/TriBool.h
10  *
11 */
12 #ifndef ZYPP_TRIBOOL_H
13 #define ZYPP_TRIBOOL_H
14
15 #include <boost/logic/tribool.hpp>
16
17 ///////////////////////////////////////////////////////////////////
18 namespace zypp
19 { /////////////////////////////////////////////////////////////////
20
21   /** 3-state boolean logic (\c true, \c false and \c indeterminate).
22    * \code
23    * namespace zypp
24    * {
25    *   typedef boost::logic::tribool TriBool;
26    *   using   boost::logic::tribool;
27    *   using   boost::logic::indeterminate;
28    * }
29    * \endcode
30    * \see http://www.boost.org/doc/html/tribool.html
31    * \ingroup BOOST
32   */
33   typedef boost::logic::tribool TriBool;
34   using   boost::logic::tribool;
35   using   boost::logic::indeterminate;
36
37   /////////////////////////////////////////////////////////////////
38 } // namespace zypp
39 ///////////////////////////////////////////////////////////////////
40 #endif // ZYPP_TRIBOOL_H