imgtools/imglib/boostlibrary/boost/regex/v4/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
/*
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     2
 *
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     3
 * Copyright (c) 1998-2002
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     4
 * John Maddock
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     5
 *
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     6
 * Use, modification and distribution are subject to the 
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     7
 * Boost Software License, Version 1.0. (See accompanying file 
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     8
 * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
     9
 *
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    10
 */
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    11
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    12
 /*
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    13
  *   LOCATION:    see http://www.boost.org for most recent version.
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    14
  *   FILE         regex.cpp
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    15
  *   VERSION      see <boost/version.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    16
  *   DESCRIPTION: Declares boost::basic_regex<> and associated
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    17
  *                functions and classes. This header is the main
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    18
  *                entry point for the template regex code.
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    19
  */
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    20
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    21
#ifndef BOOST_RE_REGEX_HPP_INCLUDED
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    22
#define BOOST_RE_REGEX_HPP_INCLUDED
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    23
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    24
#ifdef __cplusplus
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    25
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    26
// what follows is all C++ don't include in C builds!!
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    27
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    28
#ifndef BOOST_REGEX_CONFIG_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    29
#include <boost/regex/config.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    30
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    31
#ifndef BOOST_REGEX_WORKAROUND_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    32
#include <boost/regex/v4/regex_workaround.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    33
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    34
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    35
#ifndef BOOST_REGEX_FWD_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    36
#include <boost/regex_fwd.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    37
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    38
#ifndef BOOST_REGEX_TRAITS_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    39
#include <boost/regex/regex_traits.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    40
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    41
#ifndef BOOST_REGEX_RAW_BUFFER_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    42
#include <boost/regex/v4/error_type.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    43
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    44
#ifndef BOOST_REGEX_V4_MATCH_FLAGS
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    45
#include <boost/regex/v4/match_flags.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    46
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    47
#ifndef BOOST_REGEX_RAW_BUFFER_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    48
#include <boost/regex/v4/regex_raw_buffer.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    49
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    50
#ifndef BOOST_RE_PAT_EXCEPT_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    51
#include <boost/regex/pattern_except.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    52
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    53
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    54
#ifndef BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    55
#include <boost/regex/v4/char_regex_traits.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    56
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    57
#ifndef BOOST_REGEX_V4_STATES_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    58
#include <boost/regex/v4/states.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    59
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    60
#ifndef BOOST_REGEX_V4_REGBASE_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    61
#include <boost/regex/v4/regbase.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    62
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    63
#ifndef BOOST_REGEX_V4_ITERATOR_TRAITS_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    64
#include <boost/regex/v4/iterator_traits.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    65
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    66
#ifndef BOOST_REGEX_V4_BASIC_REGEX_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    67
#include <boost/regex/v4/basic_regex.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    68
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    69
#ifndef BOOST_REGEX_V4_BASIC_REGEX_CREATOR_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    70
#include <boost/regex/v4/basic_regex_creator.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    71
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    72
#ifndef BOOST_REGEX_V4_BASIC_REGEX_PARSER_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    73
#include <boost/regex/v4/basic_regex_parser.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    74
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    75
#ifndef BOOST_REGEX_V4_SUB_MATCH_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    76
#include <boost/regex/v4/sub_match.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    77
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    78
#ifndef BOOST_REGEX_FORMAT_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    79
#include <boost/regex/v4/regex_format.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    80
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    81
#ifndef BOOST_REGEX_V4_MATCH_RESULTS_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    82
#include <boost/regex/v4/match_results.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    83
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    84
#ifndef BOOST_REGEX_V4_PROTECTED_CALL_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    85
#include <boost/regex/v4/protected_call.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    86
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    87
#ifndef BOOST_REGEX_MATCHER_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    88
#include <boost/regex/v4/perl_matcher.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    89
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    90
//
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    91
// template instances:
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    92
//
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    93
#define BOOST_REGEX_CHAR_T char
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    94
#ifdef BOOST_REGEX_NARROW_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    95
#  define BOOST_REGEX_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    96
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    97
#include <boost/regex/v4/instances.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    98
#undef BOOST_REGEX_CHAR_T
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    99
#ifdef BOOST_REGEX_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   100
#  undef BOOST_REGEX_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   101
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   102
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   103
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   104
#define BOOST_REGEX_CHAR_T wchar_t
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   105
#ifdef BOOST_REGEX_WIDE_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   106
#  define BOOST_REGEX_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   107
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   108
#include <boost/regex/v4/instances.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   109
#undef BOOST_REGEX_CHAR_T
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   110
#ifdef BOOST_REGEX_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   111
#  undef BOOST_REGEX_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   112
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   113
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   114
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   115
#if !defined(BOOST_NO_WREGEX) && defined(BOOST_REGEX_HAS_OTHER_WCHAR_T)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   116
#define BOOST_REGEX_CHAR_T unsigned short
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   117
#ifdef BOOST_REGEX_US_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   118
#  define BOOST_REGEX_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   119
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   120
#include <boost/regex/v4/instances.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   121
#undef BOOST_REGEX_CHAR_T
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   122
#ifdef BOOST_REGEX_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   123
#  undef BOOST_REGEX_INSTANTIATE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   124
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   125
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   126
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   127
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   128
namespace boost{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   129
#ifdef BOOST_REGEX_NO_FWD
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   130
typedef basic_regex<char, regex_traits<char> > regex;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   131
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   132
typedef basic_regex<wchar_t, regex_traits<wchar_t> > wregex;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   133
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   134
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   135
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   136
typedef match_results<const char*> cmatch;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   137
typedef match_results<std::string::const_iterator> smatch;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   138
#ifndef BOOST_NO_WREGEX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   139
typedef match_results<const wchar_t*> wcmatch;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   140
typedef match_results<std::wstring::const_iterator> wsmatch;
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
} // namespace boost
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   144
#ifndef BOOST_REGEX_MATCH_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   145
#include <boost/regex/v4/regex_match.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   146
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   147
#ifndef BOOST_REGEX_V4_REGEX_SEARCH_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   148
#include <boost/regex/v4/regex_search.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   149
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   150
#ifndef BOOST_REGEX_ITERATOR_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   151
#include <boost/regex/v4/regex_iterator.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   152
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   153
#ifndef BOOST_REGEX_TOKEN_ITERATOR_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   154
#include <boost/regex/v4/regex_token_iterator.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   155
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   156
#ifndef BOOST_REGEX_V4_REGEX_GREP_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   157
#include <boost/regex/v4/regex_grep.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   158
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   159
#ifndef BOOST_REGEX_V4_REGEX_REPLACE_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   160
#include <boost/regex/v4/regex_replace.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   161
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   162
#ifndef BOOST_REGEX_V4_REGEX_MERGE_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   163
#include <boost/regex/v4/regex_merge.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   164
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   165
#ifndef BOOST_REGEX_SPLIT_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   166
#include <boost/regex/v4/regex_split.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   167
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   168
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   169
#endif  // __cplusplus
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   170
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   171
#endif  // include
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   172
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   173
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   174
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   175
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   176
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   177
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   178
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   179
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   180
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   181
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   182
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   183
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   184
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   185
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   186
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   187
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   188
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   189
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   190
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   191
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   192
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   193
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   194
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   195
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   196
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   197
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   198
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   199
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   200
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   201
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   202