Go to the documentation of this file.
55 const word& keyword()
const
62 os <<
e.keyword_ <<
' ' <<
e.i_ <<
endl;
101 int main(
int argc,
char *argv[])
106 for (
int i = 0; i<10; i++)
119 Info<<
"element : " << *iter;
128 for (
int i = 0; i<10; i++)
138 Info<<
"original: " << dict2 <<
endl;
143 Info<<
nl <<
"source: " << dict2 <<
nl
144 <<
"keys: " << dict2.
toc() <<
nl
145 <<
"target: " << newDict <<
nl
146 <<
"keys: " << newDict.
toc() <<
endl;
150 for (
int i = 0; i<10; i++)
163 for (
int i = 8; i<15; i++)
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.
Template dictionary class which manages the storage associated with it.
const T * lookupPtr(const word &) const
Find and return an entry if present, otherwise return NULL.
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)
void insert(const word &, T *)
Add at head of dictionary.
Ostream & operator<<(Ostream &, const edgeMesh &)
const double e
Elementary charge.
const word & keyword() const
int main(int argc, char *argv[])
void clear()
Clear the dictionary.
Gerneral purpose template dictionary class which manages the storage associated with it.
friend Ostream & operator<<(Ostream &os, const ent &e)
wordList toc() const
Return the table of contents.
friend Ostream & operator<<(Ostream &os, const Scalar &val)
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.