28
28
#ifndef SVN_CXXHL_TRISTATE_HPP
29
29
#define SVN_CXXHL_TRISTATE_HPP
31
32
namespace subversion {
33
namespace version_1_9_dev {
38
static const tristate TRUE;
39
static const tristate FALSE;
40
static const tristate UNKNOWN;
38
static const Tristate TRUE;
39
static const Tristate FALSE;
40
static const Tristate UNKNOWN;
42
tristate(const tristate& that) throw()
42
Tristate(const Tristate& that) throw()
43
43
: m_value(that.m_value)
46
bool operator==(const tristate& that) const throw()
46
bool operator==(const Tristate& that) const throw()
47
47
{ return m_value == that.m_value; }
49
bool operator!=(const tristate& that) const throw()
49
bool operator!=(const Tristate& that) const throw()
50
50
{ return !(*this == that); }
52
52
bool known() const throw()
53
53
{ return *this != UNKNOWN; }
56
explicit tristate(short int value) throw();
56
explicit Tristate(short int value) throw();
60
} // namespace version_1_9_dev
61
60
} // namespace cxxhl
62
61
} // namespace subversion
64
64
#endif // SVN_CXXHL_TRISTATE_HPP