89 const bool allowEmpty =
false
97 const bool allowEmpty =
false
113 const word& dictVar =
"dict",
114 const char sigil =
'$'
130 const char sigil =
'$'
155 const bool allowEnvVars,
156 const bool allowEmpty,
157 const char sigil =
'$'
174 string trim(
const string&);
graph_traits< Graph >::vertices_size_type size_type
An STL-conforming hash table.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
string & inplaceExpandCodeString(string &, const dictionary &dict, const word &dictVar="dict", const char sigil='$')
Inplace expand occurrences of variables according to the dictionary.
string & inplaceTrimRight(string &)
Trim trailing whitespace inplace.
string trim(const string &)
Return string trimmed of leading and trailing whitespace.
string & inplaceExpandCodeTemplate(string &, const HashTable< string, word, string::hash > &mapping, const char sigil='$')
Inplace expand occurrences of variables according to the mapping.
string & inplaceExpandEnvVar(string &, const bool allowEmpty=false)
Expand all occurrences of environment variables and paths.
string expandEnvVar(const string &, const bool allowEmpty=false)
Expand all occurrences of environment variables and paths.
string & inplaceExpandEntry(string &s, const dictionary &dict, const bool allowEnvVars, const bool allowEmpty, const char sigil='$')
Inplace expand occurrences of variables according to the dictionary.
string trimRight(const string &)
Return string trimmed of trailing whitespace.
string breakIntoIndentedLines(const string &str, const string::size_type nLength=80, const string::size_type nIndent=0)
Break a string up into indented lines.
string trimLeft(const string &)
Return string trimmed of leading whitespace.
string & inplaceTrim(string &)
Trim leading and trailing whitespace inplace.
string & inplaceTrimLeft(string &)
Trim leading whitespace inplace.