Tools for parsing label(List) with dictionary lookup. More...
Functions | |
| void | read (Istream &, label &, const dictionary &) |
| In-place read with dictionary lookup. More... | |
| template<class T > | |
| void | read (Istream &, List< T > &, const dictionary &) |
| In-place read with dictionary lookup. More... | |
| label | read (Istream &, const dictionary &) |
| Return-read with dictionary lookup. More... | |
| void | write (Ostream &, const label, const dictionary &) |
| Write with dictionary lookup. More... | |
| const keyType & | findEntry (const dictionary &, const label) |
| Linear search for label entry. More... | |
Tools for parsing label(List) with dictionary lookup.
| void read | ( | Istream & | is, |
| label & | val, | ||
| const dictionary & | dict | ||
| ) |
In-place read with dictionary lookup.
Definition at line 30 of file blockMeshTools.C.
References dict, Foam::exit(), IOstream::fatalCheck(), Foam::FatalIOError, FatalIOErrorInFunction, token::info(), token::isLabel(), token::isWord(), token::labelToken(), Foam::readLabel(), entry::stream(), and token::wordToken().
Referenced by AC3DsurfaceFormat< Face >::AC3DsurfaceFormat(), GTSsurfaceFormat< Face >::GTSsurfaceFormat(), HashPtrTable< T, Key, Hash >::HashPtrTable(), ILList< LListBase, T >::ILList(), LPtrList< LListBase, T >::LPtrList(), multicomponentMixture< ThermoType >::multicomponentMixture(), NASsurfaceFormat< Face >::NASsurfaceFormat(), OBJsurfaceFormat< Face >::OBJsurfaceFormat(), OFFsurfaceFormat< Face >::OFFsurfaceFormat(), OFSsurfaceFormat< Face >::OFSsurfaceFormat(), Fickian< unityLewisFourier< laminarThermophysicalTransportModel > >::predict(), PtrList< T >::PtrList(), kOmegaSST< MomentumTransportModel, BasicMomentumTransportModel >::read(), laminarModel< BasicMomentumTransportModel >::read(), LESModel< BasicMomentumTransportModel >::read(), RASModel< BasicMomentumTransportModel >::read(), IOOutputFilter< OutputFilter >::read(), BasicThermo< MixtureType, BasicThermoType >::read(), PhysicalPropertiesThermo< BasicThermoType >::read(), laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), MaxwellStefan< BasicThermophysicalTransportModel >::read(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::read(), LESThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), RASThermophysicalTransportModel< BasicThermophysicalTransportModel >::read(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::read(), eddyViscosity< BasicMomentumTransportModel >::read(), linearViscousStress< BasicMomentumTransportModel >::read(), ReynoldsStress< BasicMomentumTransportModel >::read(), TableFileReader< Type >::read(), read(), blockVertex::read(), OFSsurfaceFormat< Face >::read(), ZoneList< ZoneType, ZonesType, MeshType >::readIfPresent(), STARCDsurfaceFormat< Face >::STARCDsurfaceFormat(), STLsurfaceFormat< Face >::STLsurfaceFormat(), TRIsurfaceFormat< Face >::TRIsurfaceFormat(), VTKsurfaceFormat< Face >::VTKsurfaceFormat(), and ZoneList< pointZone, pointZoneList, polyMesh >::ZoneList().


| void read | ( | Istream & | is, |
| List< T > & | L, | ||
| const dictionary & | dict | ||
| ) |
In-place read with dictionary lookup.
Definition at line 29 of file blockMeshToolsTemplates.C.
References LList< LListBase, T >::append(), dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, token::info(), token::isLabel(), token::isPunctuation(), token::labelToken(), token::pToken(), Istream::putBack(), read(), Istream::readBeginList(), Istream::readEndList(), s(), List< T >::setSize(), and Foam::T().

| Foam::label read | ( | Istream & | is, |
| const dictionary & | dict | ||
| ) |
Return-read with dictionary lookup.
Definition at line 79 of file blockMeshTools.C.

| void write | ( | Ostream & | os, |
| const label | val, | ||
| const dictionary & | dict | ||
| ) |
Write with dictionary lookup.
Definition at line 91 of file blockMeshTools.C.
References dict, forAllConstIter, and Foam::readLabel().
Referenced by blockDescriptor::write(), and blockVertex::write().


| const Foam::keyType & findEntry | ( | const dictionary & | dict, |
| const label | val | ||
| ) |
Linear search for label entry.
Definition at line 114 of file blockMeshTools.C.
References dict, forAllConstIter, and Foam::readLabel().
