82 const HashTable<string, word, string::hash>& mapping,
83 const char sigil =
'$' 116 const HashTable<string, word, string::hash>& mapping,
117 const char sigil =
'$' 132 const dictionary&
dict,
133 const char sigil =
'$' 141 const dictionary&
dict,
142 const bool allowEnvVars,
143 const bool allowEmpty
153 const dictionary&
dict,
154 const bool allowEnvVars,
155 const bool allowEmpty
173 const dictionary&
dict,
174 const bool allowEnvVars,
175 const bool allowEmpty,
176 const char sigil =
'$' 192 const dictionary&
dict,
193 const char sigil =
'$' 232 const bool allowEmpty =
false 272 const bool allowEmpty =
false 289 string trim(
const string&);
string & inplaceTrim(string &)
Trim leading and trailing whitespace inplace.
string expand(const string &, const HashTable< string, word, string::hash > &mapping, const char sigil='$')
Expand occurrences of variables according to the mapping.
string getVariable(const word &name, const dictionary &dict, const bool allowEnvVars, const bool allowEmpty)
Get dictionary or (optionally) environment variable.
string trim(const string &)
Return string trimmed of leading and trailing whitespace.
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.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
graph_traits< Graph >::vertices_size_type size_type
string & inplaceTrimRight(string &)
Trim trailing whitespace inplace.
word name(const complex &)
Return a string representation of a complex.
string trimRight(const string &)
Return string trimmed of trailing whitespace.
string & inplaceExpand(string &, const HashTable< string, word, string::hash > &mapping, const char sigil='$')
Inplace expand occurrences of variables according to the mapping.
string & inplaceTrimLeft(string &)
Trim leading whitespace inplace.
string trimLeft(const string &)
Return string trimmed of leading whitespace.