constants.hpp 999 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Boost string_algo library constants.hpp header file ---------------------------//
  2. // Copyright Pavol Droba 2002-2003.
  3. //
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. // See http://www.boost.org/ for updates, documentation, and revision history.
  8. #ifndef BOOST_STRING_CONSTANTS_HPP
  9. #define BOOST_STRING_CONSTANTS_HPP
  10. namespace boost {
  11. namespace algorithm {
  12. //! Token compression mode
  13. /*!
  14. Specifies token compression mode for the token_finder.
  15. */
  16. enum token_compress_mode_type
  17. {
  18. token_compress_on, //!< Compress adjacent tokens
  19. token_compress_off //!< Do not compress adjacent tokens
  20. };
  21. } // namespace algorithm
  22. // pull the names to the boost namespace
  23. using algorithm::token_compress_on;
  24. using algorithm::token_compress_off;
  25. } // namespace boost
  26. #endif // BOOST_STRING_CONSTANTS_HPP