Public Member Functions | |
TypeInfo ("dictionary") | |
dictionary () | |
dictionary (const word &keyword) | |
dictionary (const word &keyword, bool global) | |
dictionary (const word &keyword, const fileSystem &file) | |
dictionary (const word &keyword, const dictionary &parDict) | |
dictionary (const word &keyword, const dictionary &parDict, iIstream &is) | |
dictionary (const word &keyword, const dictionary &parDict, const dictionary &dict) | |
dictionary (const dictionary &) | |
dictionary & | operator= (const dictionary &rhs) |
virtual dictionary * | dictPtr () |
virtual const dictionary * | dictPtr () const |
virtual bool | isDictionary () const |
virtual word | globalName () const |
virtual const dictionary & | parrentDict () const |
virtual dictionary & | dict () |
virtual const dictionary & | dict () const |
virtual bool | isFileDict () const |
bool | addPtr (const word &keyword, uniquePtr< iEntry > &etry) |
bool | add (const word &keyword, const float &v) |
bool | add (const word &keyword, const double &v) |
bool | add (const word &keyword, const word &v) |
bool | add (const word &keyword, const int64 &v) |
bool | add (const word &keyword, const int32 &v) |
bool | add (const word &keyword, const int16 &v) |
bool | add (const word &keyword, const int8 &v) |
bool | add (const word &keyword, const label &v) |
bool | add (const word &keyword, const uint32 &v) |
bool | addDict (const word &keyword, const dictionary &dict) |
template<typename T > | |
bool | add (const word &keyword, const T &v) |
void | clear () |
dictionary * | subDictPtr (const word &keyword) |
dictionary & | subDict (const word &keyword) |
const dictionary & | subDict (const word &keyword) const |
dataEntry * | dataEntryPtr (const word &keyword) |
dataEntry & | dataEntryRef (const word &keyword) |
const dataEntry & | dataEntryRef (const word &keyword) const |
dictionary & | subDictOrCreate (const word &keyword) |
template<typename T > | |
T | getVal (const word &keyword) const |
template<typename T > | |
T | getValOrSet (const word &keyword, const T &setVal) const |
size_t | numEntries () const |
size_t | numDataEntries () const |
size_t | numDictionaries () const |
wordList | allKeywords () const |
wordList | dataEntryKeywords () const |
wordList | dictionaryKeywords () const |
bool | containsDictionay (const word &name) const |
bool | containsDataEntry (const word &name) const |
virtual uniquePtr< iEntry > | clone () const |
virtual iEntry * | clonePtr () const |
virtual uniquePtr< iEntry > | clone (const dictionary &parDict) const |
virtual iEntry * | clonePtr (const dictionary &parDict) const |
virtual bool | read (iIstream &is) |
virtual bool | write (iOstream &os) const |
![]() | |
TypeInfo ("iEntry") | |
iEntry () | |
iEntry (const word &key) | |
virtual | ~iEntry () |
virtual const word & | keyword () const |
virtual word & | keyword () |
virtual word | name () const |
Static Public Attributes | |
static dictionary | nullDict |
Protected Member Functions | |
iEntry * | findEntry (const word &keyword) |
iEntry * | findEntry (const word &keyword) const |
template<typename T > | |
bool | readDataEntry (const word &keyword, T &val) const |
bool | readDictionary (iIstream &is) |
bool | writeDictionary (iOstream &os, bool withBlock=true) const |
![]() | |
bool | writeKeyword (iOstream &os) const |
Protected Attributes | |
word | name_ |
wordOrderedMapPtr< iEntry > | entries_ |
List< iEntry * > | orderedEntries_ |
const dictionary & | parDict_ |
bool | isGlobal_ |
![]() | |
word | keyword_ |
Additional Inherited Members | |
![]() | |
static bool | readKeyword (iIstream &is, word &keyword, token &tok) |
static bool | createEntry (dictionary &parDict, iIstream &is, bool hasBlockToken=false) |
Definition at line 38 of file dictionary.hpp.
dictionary | ( | ) |
Definition at line 135 of file dictionary.cpp.
dictionary | ( | const word & | keyword | ) |
Definition at line 146 of file dictionary.cpp.
dictionary | ( | const word & | keyword, |
bool | global | ||
) |
Definition at line 160 of file dictionary.cpp.
dictionary | ( | const word & | keyword, |
const fileSystem & | file | ||
) |
Definition at line 175 of file dictionary.cpp.
References pFlow::endl(), fatalExit, ioErrorInFile, IOstream::lineNumber(), and Istream::name().
dictionary | ( | const word & | keyword, |
const dictionary & | parDict | ||
) |
Definition at line 199 of file dictionary.cpp.
dictionary | ( | const word & | keyword, |
const dictionary & | parDict, | ||
iIstream & | is | ||
) |
Definition at line 215 of file dictionary.cpp.
References pFlow::endl(), fatalExit, ioErrorInFile, IOstream::lineNumber(), and IOstream::name().
dictionary | ( | const word & | keyword, |
const dictionary & | parDict, | ||
const dictionary & | dict | ||
) |
Definition at line 238 of file dictionary.cpp.
References iEntry::clone(), pFlow::endl(), fatalErrorInFunction, fatalExit, and dictionary::orderedEntries_.
dictionary | ( | const dictionary & | src | ) |
Definition at line 271 of file dictionary.cpp.
References iEntry::clone(), pFlow::endl(), fatalErrorInFunction, fatalExit, and dictionary::orderedEntries_.
|
protected |
Definition at line 106 of file dictionary.cpp.
|
protected |
Definition at line 121 of file dictionary.cpp.
|
protected |
Definition at line 287 of file dictionary.hpp.
References dataEntry::stream().
|
protected |
Definition at line 37 of file dictionary.cpp.
References IOstream::eof(), IOstream::good(), ioErrorInFile, IOstream::lineNumber(), IOstream::name(), and iIstream::putBack().
|
protected |
Definition at line 87 of file dictionary.cpp.
References iOstream::beginBlock(), iOstream::endBlock(), and iOstream::write().
TypeInfo | ( | "dictionary" | ) |
pFlow::dictionary & operator= | ( | const dictionary & | rhs | ) |
Definition at line 303 of file dictionary.cpp.
References pFlow::endl(), fatalErrorInFunction, and fatalExit.
|
virtual |
Reimplemented from iEntry.
Definition at line 332 of file dictionary.cpp.
|
virtual |
Reimplemented from iEntry.
|
virtual |
Reimplemented from iEntry.
Definition at line 344 of file dictionary.cpp.
|
virtual |
Implements iEntry.
Definition at line 349 of file dictionary.cpp.
Referenced by iEntry< Key, T * >::createEntry(), cylinder::cylinder(), processField::getFieldType(), multiRotatingAxis::multiRotatingAxis(), positionOrdered::positionOrdered(), positionRandom::positionRandom(), Insertion< ShapeType >::read(), shapeMixture::read(), sphereShape::readDictionary(), property::readDictionary(), insertionRegion::readInsertionRegion(), planeWall::readPlaneWall(), rotatingAxis::rotatingAxis(), selectRandom::selectRandom(), vibrating::vibrating(), sphereRegion::write(), Insertion< ShapeType >::write(), timeInterval::write(), rotatingAxis::write(), shapeMixture::write(), iBox< intType >::write(), vibrating::write(), box::write(), sphere::write(), line::write(), cylinder::write(), sphereShape::writeDictionary(), property::writeDictionary(), and insertion::writeInsertionDict().
|
virtual |
Implements iEntry.
Definition at line 355 of file dictionary.cpp.
|
virtual |
Implements iEntry.
Definition at line 362 of file dictionary.cpp.
|
virtual |
Implements iEntry.
|
virtual |
Definition at line 373 of file dictionary.cpp.
Definition at line 379 of file dictionary.cpp.
References warningInFunction.
Referenced by dictionary::add(), and iEntry< Key, T * >::createEntry().
bool add | ( | const word & | keyword, |
const float & | v | ||
) |
Definition at line 422 of file dictionary.cpp.
Referenced by timeInterval::write(), rotatingAxis::write(), shapeMixture::write(), iBox< intType >::write(), vibrating::write(), box::write(), sphere::write(), line::write(), multiRotatingAxis::write(), cylinder::write(), sphereShape::writeDictionary(), property::writeDictionary(), fixedWall::writeDictionary(), rotatingAxisMotion::writeDictionary(), vibratingMotion::writeDictionary(), multiRotatingAxisMotion::writeDictionary(), insertion::writeInsertionDict(), insertionRegion::writeInsertionRegion(), and timeFlowControl::writeTimeFlowControl().
bool add | ( | const word & | keyword, |
const double & | v | ||
) |
Definition at line 432 of file dictionary.cpp.
Definition at line 442 of file dictionary.cpp.
Definition at line 452 of file dictionary.cpp.
Definition at line 462 of file dictionary.cpp.
Definition at line 472 of file dictionary.cpp.
Definition at line 482 of file dictionary.cpp.
Definition at line 492 of file dictionary.cpp.
Definition at line 502 of file dictionary.cpp.
bool addDict | ( | const word & | keyword, |
const dictionary & | dict | ||
) |
Definition at line 513 of file dictionary.cpp.
bool add | ( | const word & | keyword, |
const T & | v | ||
) |
Definition at line 276 of file dictionary.hpp.
References dictionary::addPtr(), and iEntry::keyword().
void clear | ( | ) |
Definition at line 522 of file dictionary.cpp.
pFlow::dictionary * subDictPtr | ( | const word & | keyword | ) |
Definition at line 529 of file dictionary.cpp.
References pFlow::endl(), fatalErrorInFunction, and fatalExit.
pFlow::dictionary & subDict | ( | const word & | keyword | ) |
Definition at line 547 of file dictionary.cpp.
References pFlow::endl(), fatalErrorInFunction, and fatalExit.
Referenced by pFlow::applySelector(), interaction::create(), main(), positionParticles::positionParticles(), rotatingAxisMotion::readDictionary(), vibratingMotion::readDictionary(), multiRotatingAxisMotion::readDictionary(), Insertion< ShapeType >::readInsertionDict(), and insertionRegion::readInsertionRegion().
const pFlow::dictionary & subDict | ( | const word & | keyword | ) | const |
Definition at line 567 of file dictionary.cpp.
References pFlow::endl(), fatalErrorInFunction, and fatalExit.
pFlow::dataEntry * dataEntryPtr | ( | const word & | keyword | ) |
Definition at line 585 of file dictionary.cpp.
References pFlow::endl(), fatalErrorInFunction, and fatalExit.
pFlow::dataEntry & dataEntryRef | ( | const word & | keyword | ) |
Definition at line 600 of file dictionary.cpp.
References pFlow::endl(), fatalErrorInFunction, fatalExit, and dataEntry::nullDataEntry.
Referenced by processField::getFieldType(), and setFieldList::readSetFieldList().
const pFlow::dataEntry & dataEntryRef | ( | const word & | keyword | ) | const |
Definition at line 616 of file dictionary.cpp.
References pFlow::endl(), fatalErrorInFunction, fatalExit, and dataEntry::nullDataEntry.
pFlow::dictionary & subDictOrCreate | ( | const word & | keyword | ) |
Definition at line 634 of file dictionary.cpp.
References pFlow::endl(), fatalErrorInFunction, and fatalExit.
Referenced by postprocess::postprocess(), processField::processField(), fixedWall::writeDictionary(), rotatingAxisMotion::writeDictionary(), vibratingMotion::writeDictionary(), multiRotatingAxisMotion::writeDictionary(), Insertion< ShapeType >::writeInsertionDict(), and insertionRegion::writeInsertionRegion().
T getVal | ( | const word & | keyword | ) | const |
Definition at line 309 of file dictionary.hpp.
References pFlow::endl(), fatalErrorInFunction, and fatalExit.
Referenced by pStructSelector::create(), interaction::create(), Wall::create(), contactSearch::create(), positionParticles::create(), geometry::create(), cylinder::cylinder(), dynamicLinkLibs::dynamicLinkLibs(), processField::getFieldType(), shapeMixture::read(), iBox< intType >::read(), vibrating::read(), box::read(), sphere::read(), line::read(), cylinder::read(), Wall::readCommon(), cuboidWall::readcuboidWall(), cylinderWall::readCylinderWall(), sphereShape::readDictionary(), property::readDictionary(), fixedWall::readDictionary(), rotatingAxisMotion::readDictionary(), vibratingMotion::readDictionary(), multiRotatingAxisMotion::readDictionary(), insertion::readInsertionDict(), insertionRegion::readInsertionRegion(), linear< limited >::readLinearDictionary(), nonLinearMod< limited >::readNonLinearDictionary(), nonLinear< limited >::readNonLinearDictionary(), normalRolling< contactForceModel >::readNormalDict(), planeWall::readPlaneWall(), stlWall::readSTLWall(), timeFlowControl::readTimeFlowControl(), and sphere::sphere().
T getValOrSet | ( | const word & | keyword, |
const T & | setVal | ||
) | const |
Definition at line 325 of file dictionary.hpp.
Referenced by includeMask::getFieldType(), positionParticles::positionParticles(), timeInterval::read(), rotatingAxis::read(), vibrating::read(), multiRotatingAxis::read(), Wall::readCommon(), cuboidWall::readcuboidWall(), cylinderWall::readCylinderWall(), and planeWall::readPlaneWall().
size_t numEntries | ( | ) | const |
Definition at line 664 of file dictionary.cpp.
size_t numDataEntries | ( | ) | const |
Definition at line 669 of file dictionary.cpp.
size_t numDictionaries | ( | ) | const |
Definition at line 682 of file dictionary.cpp.
pFlow::wordList allKeywords | ( | ) | const |
Definition at line 695 of file dictionary.cpp.
pFlow::wordList dataEntryKeywords | ( | ) | const |
Definition at line 706 of file dictionary.cpp.
Referenced by shapeMixture::read(), and setFieldList::readSetFieldList().
pFlow::wordList dictionaryKeywords | ( | ) | const |
Definition at line 721 of file dictionary.cpp.
Referenced by main(), postprocess::postprocess(), rotatingAxisMotion::readDictionary(), vibratingMotion::readDictionary(), multiRotatingAxisMotion::readDictionary(), and Insertion< ShapeType >::readInsertionDict().
bool containsDictionay | ( | const word & | name | ) | const |
Definition at line 736 of file dictionary.cpp.
Referenced by positionParticles::positionParticles(), and insertionRegion::readInsertionRegion().
bool containsDataEntry | ( | const word & | name | ) | const |
Definition at line 748 of file dictionary.cpp.
Referenced by dynamicLinkLibs::dynamicLinkLibs(), and processField::getFieldType().
|
virtual |
Implements iEntry.
Definition at line 791 of file dictionary.cpp.
|
virtual |
Implements iEntry.
Definition at line 797 of file dictionary.cpp.
|
virtual |
Implements iEntry.
Definition at line 805 of file dictionary.cpp.
|
virtual |
Implements iEntry.
Definition at line 813 of file dictionary.cpp.
|
virtual |
Implements iEntry.
Definition at line 759 of file dictionary.cpp.
References pFlow::endl(), fatalExit, ioErrorInFile, IOstream::lineNumber(), and IOstream::name().
Referenced by Insertion< ShapeType >::read(), sphereShape::read(), fixedWall::read(), multiRotatingAxisMotion::read(), vibratingMotion::read(), and rotatingAxisMotion::read().
|
virtual |
Implements iEntry.
Definition at line 780 of file dictionary.cpp.
References fatalExit, ioErrorInFile, IOstream::lineNumber(), and IOstream::name().
Referenced by Insertion< ShapeType >::write(), sphereShape::write(), fixedWall::write(), multiRotatingAxisMotion::write(), vibratingMotion::write(), rotatingAxisMotion::write(), and insertionRegion::writeInsertionRegion().
|
protected |
Definition at line 47 of file dictionary.hpp.
|
protected |
Definition at line 50 of file dictionary.hpp.
Definition at line 53 of file dictionary.hpp.
Referenced by dictionary::dictionary().
|
protected |
Definition at line 56 of file dictionary.hpp.
|
protected |
Definition at line 58 of file dictionary.hpp.
|
static |
Definition at line 85 of file dictionary.hpp.