imgtools/imglib/boostlibrary/boost/regex/v4/fileiter.hpp
author lorewang
Thu, 11 Nov 2010 13:49:10 +0800
changeset 679 85cca48b4293
parent 600 6d08f4a05d93
permissions -rw-r--r--
merge after pull
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         fileiter.hpp
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 various platform independent file and
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    17
  *                directory iterators, plus binary file input in
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    18
  *                the form of class map_file.
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_FILEITER_HPP_INCLUDED
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    22
#define BOOST_RE_FILEITER_HPP_INCLUDED
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    23
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    24
#ifndef BOOST_REGEX_CONFIG_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    25
#include <boost/regex/config.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    26
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    27
#include <boost/assert.hpp>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    28
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    29
#ifndef BOOST_REGEX_NO_FILEITER
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    30
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    31
#if (defined(__CYGWIN__) || defined(__CYGWIN32__)) && !defined(BOOST_REGEX_NO_W32)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    32
#error "Sorry, can't mix <windows.h> with STL code and gcc compiler: if you ran configure, try again with configure --disable-ms-windows"
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    33
#define BOOST_REGEX_FI_WIN32_MAP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    34
#define BOOST_REGEX_FI_POSIX_DIR
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    35
#elif (defined(__WIN32__) || defined(_WIN32) || defined(WIN32)) && !defined(BOOST_REGEX_NO_W32)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    36
#define BOOST_REGEX_FI_WIN32_MAP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    37
#define BOOST_REGEX_FI_WIN32_DIR
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    38
#else
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    39
#define BOOST_REGEX_FI_POSIX_MAP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    40
#define BOOST_REGEX_FI_POSIX_DIR
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    41
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    42
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    43
#if defined(BOOST_REGEX_FI_WIN32_MAP)||defined(BOOST_REGEX_FI_WIN32_DIR)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    44
#include <windows.h>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    45
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    46
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    47
#if defined(BOOST_REGEX_FI_WIN32_DIR)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    48
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    49
#include <cstddef>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    50
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    51
namespace boost{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    52
   namespace re_detail{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    53
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    54
#ifndef BOOST_NO_ANSI_APIS
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    55
typedef WIN32_FIND_DATAA _fi_find_data;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    56
#else
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    57
typedef WIN32_FIND_DATAW _fi_find_data;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    58
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    59
typedef HANDLE _fi_find_handle;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    60
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    61
   } // namespace re_detail
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    62
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    63
} // namespace boost
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    64
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    65
#define _fi_invalid_handle INVALID_HANDLE_VALUE
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    66
#define _fi_dir FILE_ATTRIBUTE_DIRECTORY
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    67
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    68
#elif defined(BOOST_REGEX_FI_POSIX_DIR)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    69
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    70
#include <cstddef>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    71
#include <cstdio>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    72
#include <cctype>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    73
#include <iterator>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    74
#include <list>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    75
#include <cassert>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    76
#include <dirent.h>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    77
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    78
#if defined(__SUNPRO_CC)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    79
using std::list;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    80
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    81
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    82
#ifndef MAX_PATH
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    83
#define MAX_PATH 256
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    84
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    85
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    86
namespace boost{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    87
   namespace re_detail{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    88
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    89
#ifdef BOOST_HAS_ABI_HEADERS
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    90
#  include BOOST_ABI_PREFIX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    91
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    92
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    93
struct _fi_find_data
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    94
{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    95
   unsigned dwFileAttributes;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    96
   char cFileName[MAX_PATH];
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    97
};
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    98
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
    99
struct _fi_priv_data;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   100
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   101
typedef _fi_priv_data* _fi_find_handle;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   102
#define _fi_invalid_handle 0
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   103
#define _fi_dir 1
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   104
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   105
_fi_find_handle _fi_FindFirstFile(const char* lpFileName, _fi_find_data* lpFindFileData);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   106
bool _fi_FindNextFile(_fi_find_handle hFindFile,   _fi_find_data* lpFindFileData);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   107
bool _fi_FindClose(_fi_find_handle hFindFile);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   108
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   109
#ifdef BOOST_HAS_ABI_HEADERS
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   110
#  include BOOST_ABI_SUFFIX
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
   } // namespace re_detail
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   114
} // namespace boost
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   115
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   116
#ifdef FindFirstFile
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   117
 #undef FindFirstFile
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   118
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   119
#ifdef FindNextFile
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   120
 #undef FindNextFile
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   121
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   122
#ifdef FindClose
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   123
 #undef FindClose
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   124
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   125
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   126
#define FindFirstFileA _fi_FindFirstFile
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   127
#define FindNextFileA _fi_FindNextFile
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   128
#define FindClose _fi_FindClose
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   129
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
namespace boost{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   133
   namespace re_detail{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   134
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   135
#ifdef BOOST_HAS_ABI_HEADERS
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   136
#  include BOOST_ABI_PREFIX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   137
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   138
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   139
#ifdef BOOST_REGEX_FI_WIN32_MAP // win32 mapfile
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   140
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   141
class BOOST_REGEX_DECL mapfile
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   142
{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   143
   HANDLE hfile;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   144
   HANDLE hmap;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   145
   const char* _first;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   146
   const char* _last;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   147
public:
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   148
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   149
   typedef const char* iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   150
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   151
   mapfile(){ hfile = hmap = 0; _first = _last = 0; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   152
   mapfile(const char* file){ hfile = hmap = 0; _first = _last = 0; open(file); }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   153
   ~mapfile(){ close(); }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   154
   void open(const char* file);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   155
   void close();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   156
   const char* begin(){ return _first; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   157
   const char* end(){ return _last; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   158
   size_t size(){ return _last - _first; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   159
   bool valid(){ return (hfile != 0) && (hfile != INVALID_HANDLE_VALUE); }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   160
};
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   161
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   162
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   163
#else
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   164
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   165
class BOOST_REGEX_DECL mapfile_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   166
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   167
class BOOST_REGEX_DECL mapfile
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   168
{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   169
   typedef char* pointer;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   170
   std::FILE* hfile;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   171
   long int _size;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   172
   pointer* _first;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   173
   pointer* _last;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   174
   mutable std::list<pointer*> condemed;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   175
   enum sizes
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   176
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   177
      buf_size = 4096
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   178
   };
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   179
   void lock(pointer* node)const;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   180
   void unlock(pointer* node)const;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   181
public:
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   182
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   183
   typedef mapfile_iterator iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   184
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   185
   mapfile(){ hfile = 0; _size = 0; _first = _last = 0; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   186
   mapfile(const char* file){ hfile = 0; _size = 0; _first = _last = 0; open(file); }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   187
   ~mapfile(){ close(); }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   188
   void open(const char* file);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   189
   void close();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   190
   iterator begin()const;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   191
   iterator end()const;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   192
   unsigned long size()const{ return _size; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   193
   bool valid()const{ return hfile != 0; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   194
   friend class mapfile_iterator;
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
class BOOST_REGEX_DECL mapfile_iterator
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   198
#if !defined(BOOST_NO_STD_ITERATOR) || defined(BOOST_MSVC_STD_ITERATOR)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   199
: public std::iterator<std::random_access_iterator_tag, char>
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   200
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   201
{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   202
   typedef mapfile::pointer internal_pointer;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   203
   internal_pointer* node;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   204
   const mapfile* file;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   205
   unsigned long offset;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   206
   long position()const
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   207
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   208
      return file ? ((node - file->_first) * mapfile::buf_size + offset) : 0;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   209
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   210
   void position(long pos)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   211
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   212
      if(file)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   213
      {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   214
         node = file->_first + (pos / mapfile::buf_size);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   215
         offset = pos % mapfile::buf_size;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   216
      }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   217
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   218
public:
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   219
   typedef std::ptrdiff_t                  difference_type;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   220
   typedef char                            value_type;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   221
   typedef const char*                     pointer;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   222
   typedef const char&                     reference;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   223
   typedef std::random_access_iterator_tag iterator_category;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   224
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   225
   mapfile_iterator() { node = 0; file = 0; offset = 0; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   226
   mapfile_iterator(const mapfile* f, long arg_position)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   227
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   228
      file = f;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   229
      node = f->_first + arg_position / mapfile::buf_size;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   230
      offset = arg_position % mapfile::buf_size;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   231
      if(file)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   232
         file->lock(node);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   233
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   234
   mapfile_iterator(const mapfile_iterator& i)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   235
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   236
      file = i.file;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   237
      node = i.node;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   238
      offset = i.offset;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   239
      if(file)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   240
         file->lock(node);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   241
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   242
   ~mapfile_iterator()
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   243
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   244
      if(file && node)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   245
         file->unlock(node);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   246
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   247
   mapfile_iterator& operator = (const mapfile_iterator& i);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   248
   char operator* ()const
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   249
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   250
      BOOST_ASSERT(node >= file->_first);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   251
      BOOST_ASSERT(node < file->_last);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   252
      return file ? *(*node + sizeof(int) + offset) : char(0);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   253
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   254
   char operator[] (long off)const
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   255
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   256
      mapfile_iterator tmp(*this);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   257
      tmp += off;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   258
      return *tmp;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   259
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   260
   mapfile_iterator& operator++ ();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   261
   mapfile_iterator operator++ (int);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   262
   mapfile_iterator& operator-- ();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   263
   mapfile_iterator operator-- (int);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   264
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   265
   mapfile_iterator& operator += (long off)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   266
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   267
      position(position() + off);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   268
      return *this;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   269
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   270
   mapfile_iterator& operator -= (long off)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   271
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   272
      position(position() - off);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   273
      return *this;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   274
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   275
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   276
   friend inline bool operator==(const mapfile_iterator& i, const mapfile_iterator& j)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   277
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   278
      return (i.file == j.file) && (i.node == j.node) && (i.offset == j.offset);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   279
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   280
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   281
   friend inline bool operator!=(const mapfile_iterator& i, const mapfile_iterator& j)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   282
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   283
      return !(i == j);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   284
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   285
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   286
   friend inline bool operator<(const mapfile_iterator& i, const mapfile_iterator& j)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   287
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   288
      return i.position() < j.position();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   289
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   290
   friend inline bool operator>(const mapfile_iterator& i, const mapfile_iterator& j)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   291
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   292
      return i.position() > j.position();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   293
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   294
   friend inline bool operator<=(const mapfile_iterator& i, const mapfile_iterator& j)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   295
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   296
      return i.position() <= j.position();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   297
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   298
   friend inline bool operator>=(const mapfile_iterator& i, const mapfile_iterator& j)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   299
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   300
      return i.position() >= j.position();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   301
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   302
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   303
   friend mapfile_iterator operator + (const mapfile_iterator& i, long off);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   304
   friend mapfile_iterator operator + (long off, const mapfile_iterator& i)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   305
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   306
      mapfile_iterator tmp(i);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   307
      return tmp += off;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   308
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   309
   friend mapfile_iterator operator - (const mapfile_iterator& i, long off);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   310
   friend inline long operator - (const mapfile_iterator& i, const mapfile_iterator& j)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   311
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   312
      return i.position() - j.position();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   313
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   314
};
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   315
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   316
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   317
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   318
// _fi_sep determines the directory separator, either '\\' or '/'
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   319
BOOST_REGEX_DECL extern const char* _fi_sep;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   320
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   321
struct file_iterator_ref
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   322
{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   323
   _fi_find_handle hf;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   324
   _fi_find_data _data;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   325
   long count;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   326
};
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   327
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   328
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   329
class BOOST_REGEX_DECL file_iterator 
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   330
{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   331
   char* _root;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   332
   char* _path;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   333
   char* ptr;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   334
   file_iterator_ref* ref;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   335
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   336
public:
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   337
   typedef std::ptrdiff_t            difference_type;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   338
   typedef const char*               value_type;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   339
   typedef const char**              pointer;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   340
   typedef const char*&              reference;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   341
   typedef std::input_iterator_tag   iterator_category;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   342
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   343
   file_iterator();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   344
   file_iterator(const char* wild);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   345
   ~file_iterator();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   346
   file_iterator(const file_iterator&);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   347
   file_iterator& operator=(const file_iterator&);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   348
   const char* root()const { return _root; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   349
   const char* path()const { return _path; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   350
   const char* name()const { return ptr; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   351
   _fi_find_data* data() { return &(ref->_data); }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   352
   void next();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   353
   file_iterator& operator++() { next(); return *this; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   354
   file_iterator operator++(int);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   355
   const char* operator*() { return path(); }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   356
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   357
   friend inline bool operator == (const file_iterator& f1, const file_iterator& f2)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   358
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   359
      return ((f1.ref->hf == _fi_invalid_handle) && (f2.ref->hf == _fi_invalid_handle));
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   360
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   361
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   362
   friend inline bool operator != (const file_iterator& f1, const file_iterator& f2)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   363
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   364
      return !(f1 == f2);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   365
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   366
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   367
};
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   368
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   369
// dwa 9/13/00 - suppress unused parameter warning
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   370
inline bool operator < (const file_iterator&, const file_iterator&)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   371
{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   372
   return false;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   373
}
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   374
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   375
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   376
class BOOST_REGEX_DECL directory_iterator
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   377
{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   378
   char* _root;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   379
   char* _path;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   380
   char* ptr;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   381
   file_iterator_ref* ref;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   382
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   383
public:
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   384
   typedef std::ptrdiff_t            difference_type;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   385
   typedef const char*               value_type;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   386
   typedef const char**              pointer;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   387
   typedef const char*&              reference;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   388
   typedef std::input_iterator_tag   iterator_category;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   389
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   390
   directory_iterator();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   391
   directory_iterator(const char* wild);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   392
   ~directory_iterator();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   393
   directory_iterator(const directory_iterator& other);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   394
   directory_iterator& operator=(const directory_iterator& other);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   395
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   396
   const char* root()const { return _root; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   397
   const char* path()const { return _path; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   398
   const char* name()const { return ptr; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   399
   _fi_find_data* data() { return &(ref->_data); }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   400
   void next();
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   401
   directory_iterator& operator++() { next(); return *this; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   402
   directory_iterator operator++(int);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   403
   const char* operator*() { return path(); }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   404
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   405
   static const char* separator() { return _fi_sep; }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   406
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   407
   friend inline bool operator == (const directory_iterator& f1, const directory_iterator& f2)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   408
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   409
      return ((f1.ref->hf == _fi_invalid_handle) && (f2.ref->hf == _fi_invalid_handle));
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   410
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   411
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   412
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   413
   friend inline bool operator != (const directory_iterator& f1, const directory_iterator& f2)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   414
   {
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   415
      return !(f1 == f2);
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   416
   }
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   417
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   418
   };
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   419
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   420
inline bool operator < (const directory_iterator&, const directory_iterator&)
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   421
{
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   422
   return false;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   423
}
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   424
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   425
#ifdef BOOST_HAS_ABI_HEADERS
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   426
#  include BOOST_ABI_SUFFIX
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   427
#endif
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   428
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   429
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   430
} // namespace re_detail
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   431
using boost::re_detail::directory_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   432
using boost::re_detail::file_iterator;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   433
using boost::re_detail::mapfile;
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   434
} // namespace boost
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   435
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   436
#endif     // BOOST_REGEX_NO_FILEITER
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   437
#endif     // BOOST_RE_FILEITER_HPP
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   438
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   439
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   440
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   441
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   442
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   443
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   444
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   445
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   446
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   447
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   448
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   449
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   450
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   451
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   452
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   453
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   454
6d08f4a05d93 add deprecated files
jjkang
parents:
diff changeset
   455