summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Glob.hxx.in
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-19 14:47:19 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-10-19 14:47:19 (GMT)
commitbf6b379b1145dfd896a223bf5eb9d19513ec965a (patch)
treee0aeeef1e64132b35aefb6a078e3d9f71998eedd /Source/kwsys/Glob.hxx.in
parent6b444ee345e7dcabbac33a18ba8e4c16fd7a7b54 (diff)
downloadCMake-bf6b379b1145dfd896a223bf5eb9d19513ec965a.zip
CMake-bf6b379b1145dfd896a223bf5eb9d19513ec965a.tar.gz
CMake-bf6b379b1145dfd896a223bf5eb9d19513ec965a.tar.bz2
COMP: More namespace fixes to build on HP
Diffstat (limited to 'Source/kwsys/Glob.hxx.in')
-rw-r--r--Source/kwsys/Glob.hxx.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/kwsys/Glob.hxx.in b/Source/kwsys/Glob.hxx.in
index ae793ef..d425039 100644
--- a/Source/kwsys/Glob.hxx.in
+++ b/Source/kwsys/Glob.hxx.in
@@ -40,10 +40,10 @@ public:
~Glob();
//! Find all files that match the pattern.
- bool FindFiles(const std::string& inexpr);
+ bool FindFiles(const kwsys_stl::string& inexpr);
//! Return the list of files that matched.
- std::vector<std::string>& GetFiles();
+ kwsys_stl::vector<kwsys_stl::string>& GetFiles();
//! Set recurse to true to match subdirectories.
void RecurseOn() { this->SetRecurse(true); }
@@ -53,13 +53,13 @@ public:
protected:
//! Process directory
- void ProcessDirectory(std::string::size_type start,
- const std::string& dir, bool dir_only);
+ void ProcessDirectory(kwsys_stl::string::size_type start,
+ const kwsys_stl::string& dir, bool dir_only);
//! Process last directory, but only when recurse flags is on. That is
// effectively like saying: /path/to/file/**/file
- void RecurseDirectory(std::string::size_type start,
- const std::string& dir, bool dir_only);
+ void RecurseDirectory(kwsys_stl::string::size_type start,
+ const kwsys_stl::string& dir, bool dir_only);
//! Escape all non-alphanumeric characters in pattern.
void Escape(int ch, char* buffer);
@@ -67,7 +67,7 @@ protected:
//!
// Translate a shell PATTERN to a regular expression.
// There is no way to quote meta-characters.
- std::string ConvertExpression(const std::string& expr);
+ kwsys_stl::string ConvertExpression(const kwsys_stl::string& expr);
//! Add regular expression
void AddExpression(const char* expr);