diff options
author | fcolin | 2007-02-01 13:04:40 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:04:40 +0000 |
commit | be98aa9ad14de9d15779e6a1e86e51375842681a (patch) | |
tree | 871625808de4a49cb7f898bafec4a1f6afb63486 /Bus | |
parent | 6de98e34f5d348317b43b1cd372b970c6d179cce (diff) | |
download | ivy-cplusplus-be98aa9ad14de9d15779e6a1e86e51375842681a.zip ivy-cplusplus-be98aa9ad14de9d15779e6a1e86e51375842681a.tar.gz ivy-cplusplus-be98aa9ad14de9d15779e6a1e86e51375842681a.tar.bz2 ivy-cplusplus-be98aa9ad14de9d15779e6a1e86e51375842681a.tar.xz |
Utilisateur : Fcolin Date : 31/01/01 Heure : 11:18 Archivé dans $/Ivy (vss 3)
Diffstat (limited to 'Bus')
-rw-r--r-- | Bus/Ivy/Regexp.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Bus/Ivy/Regexp.h b/Bus/Ivy/Regexp.h index 3265561..cf7a748 100644 --- a/Bus/Ivy/Regexp.h +++ b/Bus/Ivy/Regexp.h @@ -1,6 +1,4 @@ -#ifndef __REGEXP_H__
-#define __REGEXP_H__
-
+#pragma once
class regexp;
@@ -18,13 +16,13 @@ public: bool Match( const char * s );
int SubStrings() const;
- const String operator[]( unsigned int i ) const;
+ const string operator[]( unsigned int i ) const;
int SubStart( unsigned int i ) const;
int SubLength( unsigned int i ) const;
- String GetReplaceString( const char * source ) const;
+ string GetReplaceString( const char * source ) const;
- String GetErrorString() const;
+ string GetErrorString() const;
bool CompiledOK() const;
#if defined( _RE_DEBUG )
@@ -32,7 +30,7 @@ public: #endif
private:
const char * str; /* used to return substring offsets only */
- mutable String m_szError;
+ mutable string m_szError;
regexp * rc;
void ClearErrorString() const;
@@ -40,5 +38,4 @@ private: };
-#endif
|