diff options
-rw-r--r-- | Doxyfile | 4 | ||||
-rw-r--r-- | src/fstring.h | 16 |
2 files changed, 18 insertions, 2 deletions
@@ -80,7 +80,7 @@ WARN_LOGFILE = | |||
80 | #--------------------------------------------------------------------------- | 80 | #--------------------------------------------------------------------------- |
81 | # configuration options related to the input files | 81 | # configuration options related to the input files |
82 | #--------------------------------------------------------------------------- | 82 | #--------------------------------------------------------------------------- |
83 | INPUT = . | 83 | INPUT = src |
84 | FILE_PATTERNS = *.c \ | 84 | FILE_PATTERNS = *.c \ |
85 | *.cc \ | 85 | *.cc \ |
86 | *.cxx \ | 86 | *.cxx \ |
@@ -127,7 +127,7 @@ FILE_PATTERNS = *.c \ | |||
127 | *.moc \ | 127 | *.moc \ |
128 | *.xpm \ | 128 | *.xpm \ |
129 | *.dox | 129 | *.dox |
130 | RECURSIVE = YES | 130 | RECURSIVE = NO |
131 | EXCLUDE = | 131 | EXCLUDE = |
132 | EXCLUDE_SYMLINKS = NO | 132 | EXCLUDE_SYMLINKS = NO |
133 | EXCLUDE_PATTERNS = | 133 | EXCLUDE_PATTERNS = |
diff --git a/src/fstring.h b/src/fstring.h index c3ab6cd..2f7dc67 100644 --- a/src/fstring.h +++ b/src/fstring.h | |||
@@ -191,6 +191,14 @@ public: | |||
191 | return (*this); | 191 | return (*this); |
192 | } | 192 | } |
193 | 193 | ||
194 | MyType &operator +=( const chr pData ) | ||
195 | { | ||
196 | chr tmp[2] = { pData, (chr)0 }; | ||
197 | append( tmp ); | ||
198 | |||
199 | return (*this); | ||
200 | } | ||
201 | |||
194 | MyType &operator =( const chr *pData ) | 202 | MyType &operator =( const chr *pData ) |
195 | { | 203 | { |
196 | clear(); | 204 | clear(); |
@@ -278,6 +286,14 @@ public: | |||
278 | return pFirst->pData[nIndex]; | 286 | return pFirst->pData[nIndex]; |
279 | } | 287 | } |
280 | 288 | ||
289 | bool isWS( long nIndex ) const | ||
290 | { | ||
291 | flatten(); | ||
292 | |||
293 | return pFirst->pData[nIndex]==' ' || pFirst->pData[nIndex]=='\t' | ||
294 | || pFirst->pData[nIndex]=='\r' || pFirst->pData[nIndex]=='\n'; | ||
295 | } | ||
296 | |||
281 | void serialize( class Serializer &ar ) | 297 | void serialize( class Serializer &ar ) |
282 | { | 298 | { |
283 | if( ar.isLoading() ) | 299 | if( ar.isLoading() ) |