30 inline void Foam::word::stripInvalid()
34 if (
debug && string::stripInvalid<word>(*
this))
37 <<
"word::stripInvalid() called for word " 43 <<
" For debug level (= " <<
debug 44 <<
") > 1 this is considered fatal" <<
std::endl;
101 const bool doStripInvalid
134 w[0] = toupper(w[0]);
175 ub.string::operator[](0) =
char(toupper(ub.string::operator[](0)));
static bool valid(char)
Is this character valid for a word.
void operator=(const word &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const dimensionedScalar & c
Speed of light in a vacuum.
tmp< GeometricField< Type, fvPatchField, volMesh > > operator &(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
const dimensionedScalar & b
Wien displacement law constant: default SI units: [m K].
A class for handling words, derived from string.
graph_traits< Graph >::vertices_size_type size_type
errorManip< error > abort(error &err)
void operator=(const string &)
A class for handling character strings derived from std::string.
word capitalise() const
Return the word with the first letter capitalised.