imgtools/imglib/boostlibrary/boost/tr1/regex.hpp
author srilekhas <srilekhas@symbian.org>
Wed, 18 Aug 2010 11:18:38 +0100
changeset 627 cb3264f4c6e6
parent 600 6d08f4a05d93
permissions -rw-r--r--
Merge : re-applies missing part of fix for Bug 2901,Add export for s60ibymacros.pm
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
600
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     1
//  (C) Copyright John Maddock 2005.
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     2
//  Use, modification and distribution are subject to the
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     3
//  Boost Software License, Version 1.0. (See accompanying file
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     4
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     5
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     6
#ifndef BOOST_TR1_REGEX_HPP_INCLUDED
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     7
#  define BOOST_TR1_REGEX_HPP_INCLUDED
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     8
#  include <boost/tr1/detail/config.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     9
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    10
#ifdef BOOST_HAS_TR1_REGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    11
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    12
#  ifdef BOOST_HAS_INCLUDE_NEXT
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    13
#     include_next BOOST_TR1_HEADER(regex)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    14
#  else
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    15
#     include <boost/tr1/detail/config_all.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    16
#     include BOOST_TR1_STD_HEADER(BOOST_TR1_PATH(regex))
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    17
#  endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    18
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    19
#else
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    20
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    21
#include <boost/regex.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    22
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    23
namespace std{ namespace tr1{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    24
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    25
// [7.5] Regex constants
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    26
namespace regex_constants {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    27
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    28
using ::boost::regex_constants::syntax_option_type;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    29
using ::boost::regex_constants::icase;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    30
using ::boost::regex_constants::nosubs;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    31
using ::boost::regex_constants::optimize;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    32
using ::boost::regex_constants::collate;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    33
using ::boost::regex_constants::ECMAScript;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    34
using ::boost::regex_constants::basic;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    35
using ::boost::regex_constants::extended;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    36
using ::boost::regex_constants::awk;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    37
using ::boost::regex_constants::grep;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    38
using ::boost::regex_constants::egrep;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    39
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    40
using ::boost::regex_constants::match_flag_type;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    41
using ::boost::regex_constants::match_default;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    42
using ::boost::regex_constants::match_not_bol;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    43
using ::boost::regex_constants::match_not_eol;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    44
using ::boost::regex_constants::match_not_bow;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    45
using ::boost::regex_constants::match_not_eow;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    46
using ::boost::regex_constants::match_any;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    47
using ::boost::regex_constants::match_not_null;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    48
using ::boost::regex_constants::match_continuous;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    49
using ::boost::regex_constants::match_prev_avail;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    50
using ::boost::regex_constants::format_default;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    51
using ::boost::regex_constants::format_sed;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    52
using ::boost::regex_constants::format_no_copy;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    53
using ::boost::regex_constants::format_first_only;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    54
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    55
using ::boost::regex_constants::error_type;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    56
using ::boost::regex_constants::error_collate;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    57
using ::boost::regex_constants::error_ctype;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    58
using ::boost::regex_constants::error_escape;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    59
using ::boost::regex_constants::error_backref;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    60
using ::boost::regex_constants::error_brack;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    61
using ::boost::regex_constants::error_paren;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    62
using ::boost::regex_constants::error_brace;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    63
using ::boost::regex_constants::error_badbrace;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    64
using ::boost::regex_constants::error_range;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    65
using ::boost::regex_constants::error_space;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    66
using ::boost::regex_constants::error_badrepeat;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    67
using ::boost::regex_constants::error_complexity;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    68
using ::boost::regex_constants::error_stack;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    69
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    70
} // namespace regex_constants
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    71
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    72
// [7.6] Class regex_error
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    73
using ::boost::regex_error;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    74
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    75
// [7.7] Class template regex_traits
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    76
using ::boost::regex_traits;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    77
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    78
// [7.8] Class template basic_regex
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    79
using ::boost::basic_regex;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    80
using ::boost::regex;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    81
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    82
using ::boost::wregex;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    83
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    84
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    85
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x0582)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    86
// [7.8.6] basic_regex swap
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    87
using ::boost::swap;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    88
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    89
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    90
// [7.9] Class template sub_match
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    91
using ::boost::sub_match;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    92
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    93
using ::boost::csub_match;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    94
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    95
using ::boost::wcsub_match;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    96
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    97
using ::boost::ssub_match;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    98
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    99
using ::boost::wssub_match;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   100
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   101
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   102
// [7.10] Class template match_results
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   103
using ::boost::match_results;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   104
using ::boost::cmatch;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   105
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   106
using ::boost::wcmatch;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   107
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   108
using ::boost::smatch;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   109
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   110
using ::boost::wsmatch;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   111
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   112
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   113
using ::boost::regex_match;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   114
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   115
// [7.11.3] Function template regex_search
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   116
using ::boost::regex_search;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   117
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   118
// [7.11.4] Function template regex_replace
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   119
using ::boost::regex_replace;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   120
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   121
// [7.12.1] Class template regex_iterator
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   122
using ::boost::regex_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   123
using ::boost::cregex_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   124
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   125
using ::boost::wcregex_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   126
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   127
using ::boost::sregex_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   128
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   129
using ::boost::wsregex_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   130
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   131
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   132
// [7.12.2] Class template regex_token_iterator
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   133
using ::boost::regex_token_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   134
using ::boost::cregex_token_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   135
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   136
using ::boost::wcregex_token_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   137
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   138
using ::boost::sregex_token_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   139
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   140
using ::boost::wsregex_token_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   141
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   142
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   143
} } // namespaces
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   144
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   145
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   146
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   147
#endif