Go to the documentation of this file.
52 const word& keyword()
const
59 os <<
e.keyword_ <<
' ' <<
e.i_ <<
endl;
68 int main(
int argc,
char *argv[])
73 for (
int i = 0; i<10; i++)
86 Info<<
"element : " << *iter;
96 for (
int i = 0; i<10; i++)
106 dict2.UILList<DLListBase, ent>::remove(dict2.first());
112 Info<<
"original: " << dict2 <<
endl;
117 Info<<
nl <<
"source: " << dict2 <<
nl
118 <<
"keys: " << dict2.
toc() <<
nl
119 <<
"target: " << newDict <<
nl
120 <<
"keys: " << newDict.
toc() <<
endl;
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
A class for handling words, derived from string.
wordList toc() const
Return the table of contents.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void append(const word &, T *)
Add at tail of dictionary.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
ent(const word &keyword, int i)
Ostream & operator<<(Ostream &, const edgeMesh &)
T * remove(const word &)
Remove and return entry specified by keyword.
const double e
Elementary charge.
const word & keyword() const
int main(int argc, char *argv[])
friend Ostream & operator<<(Ostream &os, const ent &e)
Template dictionary class which does not manages the storage associated with it.
wordList toc() const
Return the table of contents.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void transfer(DictionaryBase< IDLListType, T > &)
Transfer the contents of the argument into this DictionaryBase.
word name(const complex &)
Return a string representation of a complex.