|
| verbatimString () |
| Construct null. More...
|
|
| verbatimString (const verbatimString &) |
| Copy constructor. More...
|
|
| verbatimString (const char *) |
| Copy constructor of character array. More...
|
|
| verbatimString (const string &) |
| Copy constructor of string. More...
|
|
| verbatimString (const std::string &) |
| Copy constructor of std::string. More...
|
|
| verbatimString (Istream &) |
| Construct from Istream. More...
|
|
void | operator= (const verbatimString &) |
|
void | operator= (const string &) |
|
void | operator= (const std::string &) |
|
void | operator= (const char *) |
|
| string () |
| Construct null. More...
|
|
| string (const std::string &) |
| Construct from std::string. More...
|
|
| string (const string &) |
| Copy constructor. More...
|
|
| string (string &&) |
| Move constructor. More...
|
|
| string (const char *) |
| Construct as copy of character array. More...
|
|
| string (const UList< char > &) |
| Construct as copy of UList of character. More...
|
|
| string (const char *, const size_type) |
| Construct as copy of specified number of characters. More...
|
|
| string (const char) |
| Construct from a single character. More...
|
|
| string (const size_type, const char) |
| Construct from copies of a single character. More...
|
|
| string (Istream &) |
| Construct from Istream. More...
|
|
size_type | count (const char) const |
| Count and return the number of a given character in the string. More...
|
|
bool | match (const std::string &) const |
| True when strings match literally. More...
|
|
string & | replace (const string &oldStr, const string &newStr, size_type start=0) |
| In this string replace first occurrence of sub-string oldStr. More...
|
|
string | replace (const string &oldStr, const string &newStr, size_type start=0) const |
| Replace first occurrence of sub-string oldStr with newStr. More...
|
|
string & | replaceAll (const string &oldStr, const string &newStr, size_type start=0) |
| In this string replace all occurrences of sub-string oldStr. More...
|
|
string | replaceAll (const string &oldStr, const string &newStr, size_type start=0) const |
| Replace all occurrences of sub-string oldStr with newStr. More...
|
|
string & | expand (const bool allowEmpty=false) |
| Expand initial tildes and all occurrences of environment variables. More...
|
|
bool | removeRepeated (const char) |
| Remove repeated characters returning true if string changed. More...
|
|
string | removeRepeated (const char) const |
| Return string with repeated characters removed. More...
|
|
bool | removeTrailing (const char) |
| Remove trailing character returning true if string changed. More...
|
|
string | removeTrailing (const char) const |
| Return string with trailing character removed. More...
|
|
bool | removeTrailing (const string &) |
| Remove trailing string returning true if string changed. More...
|
|
string | removeTrailing (const string &) const |
| Return string with trailing string removed. More...
|
|
void | strip (const string &) |
| Strip characters from the start and end of the string. More...
|
|
string | operator() (const size_type i, const size_type n) const |
| Return the sub-string from the i-th character for n characters. More...
|
|
string | operator() (const size_type n) const |
| Return the sub-string from the first character for n characters. More...
|
|
void | operator= (const string &) |
|
void | operator= (string &&) |
|
template<class String > |
Foam::string | quotemeta (const string &str, const char quote) |
|
A class for handling verbatimStrings, derived from string.
A verbatimString is a verbatim string of characters.
- Source files
-
Definition at line 58 of file verbatimString.H.