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