mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
update docs for fileName, word, wordRe
This commit is contained in:
@ -28,6 +28,7 @@ Class
|
|||||||
Description
|
Description
|
||||||
A class for handling file names.
|
A class for handling file names.
|
||||||
|
|
||||||
|
A fileName is a string of characters without whitespace or quotes.
|
||||||
A fileName can be
|
A fileName can be
|
||||||
- constructed from a char*, a string or a word
|
- constructed from a char*, a string or a word
|
||||||
- concatenated by adding a '/' separator
|
- concatenated by adding a '/' separator
|
||||||
|
|||||||
@ -28,9 +28,8 @@ Class
|
|||||||
Description
|
Description
|
||||||
A class for handling words, derived from string.
|
A class for handling words, derived from string.
|
||||||
|
|
||||||
A word is a string of characters containing no whitespace and may be
|
A word is a string of characters without whitespace, quotes, slashes,
|
||||||
constructed from a string by removing whitespace. Words are delimited
|
semicolons or brace brackets. Words are delimited by whitespace.
|
||||||
by whitespace.
|
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
word.C
|
word.C
|
||||||
|
|||||||
@ -29,7 +29,7 @@ Description
|
|||||||
A wordRe is a word, but can also have a regular expression for matching
|
A wordRe is a word, but can also have a regular expression for matching
|
||||||
words.
|
words.
|
||||||
|
|
||||||
By default the constructors will generally preserve the argument as
|
By default the constructors will generally preserve the argument as a
|
||||||
string literal and the assignment operators will use the wordRe::DETECT
|
string literal and the assignment operators will use the wordRe::DETECT
|
||||||
compOption to scan the string for regular expression meta characters
|
compOption to scan the string for regular expression meta characters
|
||||||
and/or invalid word characters and react accordingly.
|
and/or invalid word characters and react accordingly.
|
||||||
|
|||||||
Reference in New Issue
Block a user