Foam::symbols Namespace Reference

Classes

class  tokeniser
 

Functions

template<class Type >
Type parseNoBegin (const label lastPrior, tokeniser &tis, const Type &identity, const HashTable< Type > &table)
 Parse tokens into a dimension set or unit conversion, assuming that the '['. More...
 
template<class Type >
Type parseNoBeginOrEnd (Istream &is, const Type &identity, const HashTable< Type > &table)
 Parse tokens into a dimension set or unit conversion, assuming that the '['. More...
 

Function Documentation

◆ parseNoBegin()

Type Foam::symbols::parseNoBegin ( const label  lastPrior,
tokeniser tis,
const Type &  identity,
const HashTable< Type > &  table 
)

Parse tokens into a dimension set or unit conversion, assuming that the '['.

has already been read

◆ parseNoBeginOrEnd()

Type Foam::symbols::parseNoBeginOrEnd ( Istream is,
const Type &  identity,
const HashTable< Type > &  table 
)

Parse tokens into a dimension set or unit conversion, assuming that the '['.

has already been read, and ending before the '[' or ':'. Note that this will leave the stream with a pushed back token.

Referenced by Foam::operator>>(), and dimensionSet::readNoBeginOrEnd().

Here is the caller graph for this function: