relation_state.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*-----------------------------------------------------------------------------+
  2. Author: Joachim Faulhaber
  3. Copyright (c) 2009-2009: Joachim Faulhaber
  4. +------------------------------------------------------------------------------+
  5. Distributed under the Boost Software License, Version 1.0.
  6. (See accompanying file LICENCE.txt or copy at
  7. http://www.boost.org/LICENSE_1_0.txt)
  8. +-----------------------------------------------------------------------------*/
  9. /*-----------------------------------------------------------------------------+
  10. States of comparison and inclusion relations as static constants
  11. +-----------------------------------------------------------------------------*/
  12. #ifndef BOOST_ICL_RELATION_STATE_HPP_JOFA_090214
  13. #define BOOST_ICL_RELATION_STATE_HPP_JOFA_090214
  14. namespace boost{namespace icl
  15. {
  16. namespace comparison
  17. {
  18. static const int less = -1;
  19. static const int equal = 0;
  20. static const int greater = 1;
  21. }
  22. namespace inclusion
  23. {
  24. static const int unrelated = 0;
  25. static const int subset = 1;
  26. static const int superset = 2;
  27. static const int equal = 3;
  28. }
  29. }} // namespace icl boost
  30. #endif // BOOST_ICL_RELATION_STATE_HPP_JOFA_090214