Loading...
Searching...
No Matches
Foam::blockMeshTools Namespace Reference

Tools for parsing label(List) with dictionary lookup. More...

Functions

void read (Istream &, label &val, const dictionary &)
 In-place read with dictionary lookup.
template<class T>
void read (Istream &, List< T > &list, const dictionary &)
 In-place read with dictionary lookup.
label read (Istream &, const dictionary &)
 Return-read with dictionary lookup.
template<class T>
List< Tread (Istream &is, const dictionary &)
 Return-read with dictionary lookup.
void write (Ostream &, const label val, const dictionary &)
 Write with dictionary lookup.
const entryfindEntry (const dictionary &dict, const label val)
 Linear search for labelled entry, nullptr if not found.

Detailed Description

Tools for parsing label(List) with dictionary lookup.

Source files

Function Documentation

◆ read() [1/4]

void read ( Istream & is,
label & val,
const dictionary & dict )

In-place read with dictionary lookup.

Definition at line 43 of file blockMeshTools.C.

References dict, Foam::exit(), IOstream::fatalCheck(), Foam::FatalIOError, FatalIOErrorInFunction, FUNCTION_NAME, token::info(), token::isLabel(), token::isWord(), token::labelToken(), Foam::readLabel(), keyType::REGEX_RECURSIVE, entry::stream(), and token::wordToken().

Referenced by blockDescriptor::blockDescriptor(), read(), read(), and blockVertex::read().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read() [2/4]

◆ read() [3/4]

Foam::label read ( Istream & is,
const dictionary & dict )

Return-read with dictionary lookup.

Definition at line 86 of file blockMeshTools.C.

References dict, and read().

Here is the call graph for this function:

◆ read() [4/4]

template<class T>
List< T > read ( Istream & is,
const dictionary &  )

Return-read with dictionary lookup.

References dict.

◆ write()

void write ( Ostream & os,
const label val,
const dictionary & dict )

Write with dictionary lookup.

Definition at line 98 of file blockMeshTools.C.

References dict, e, entry::keyword(), os(), and Foam::resolveLabel().

Referenced by blockDescriptor::write(), and blockVertex::write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findEntry()

const Foam::entry * findEntry ( const dictionary & dict,
const label val )

Linear search for labelled entry, nullptr if not found.

Definition at line 118 of file blockMeshTools.C.

References dict, e, and Foam::resolveLabel().

Here is the call graph for this function: