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