File: findFiles.h

package info (click to toggle)
urg 0.8.11-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,212 kB
  • ctags: 1,605
  • sloc: sh: 10,014; cpp: 6,459; ansic: 2,419; makefile: 203
file content (34 lines) | stat: -rw-r--r-- 727 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef QRK_FIND_FILES_H
#define QRK_FIND_FILES_H

/*!
  \file
  \brief fBNgȉ̃t@CTs

  \author Satofumi KAMIMURA

  $Id: findFiles.h 1663 2010-02-01 07:17:58Z satofumi $
*/

#include <boost/xpressive/xpressive.hpp>
#include <vector>
#include <string>


namespace qrk
{
  /*!
    fBNgȉ̃t@CTs

    \param[out] files tt@C
    \param[in] root_path T̃[gfBNg
    \param[in] pattern t@Čp^[

    \return tt@C
  */
  extern size_t findFiles(std::vector<std::string>& files,
                          const char* root_path,
                          const boost::xpressive::sregex pattern);
}

#endif /* !QRK_FIND_FILES_H */