Loading...
Searching...
No Matches
boolEntry Class Reference

Expression representation of a bool : (false/true). More...

#include <expressionEntryBool.H>

Inheritance diagram for boolEntry:
Collaboration diagram for boolEntry:

Public Member Functions

virtual string toExpr (const entry &e) const
 To string.
Public Member Functions inherited from expressionEntry
 TypeNameNoDebug ("expressionEntry")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, expressionEntry, empty,(),())
 expressionEntry () noexcept=default
 Default construct.
virtual ~expressionEntry ()=default
 Destructor.
template<class Type>
Foam::string toExprStr (const Type &data)
template<class Type>
Foam::string toExprStr (ITstream &is)

Static Public Member Functions

static string evaluate (const entry &e)
 To string.
Static Public Member Functions inherited from expressionEntry
static autoPtr< expressionEntryNew (const word &name)
 Return an entry to expression converter.
static string evaluate (const entry &e)
 Generic concatenate tokens to space-separated string.
static void inplaceExpand (std::string &s, const dictionary &dict)
 Inplace expand expression with dictionary variables/entries.
static expressions::exprString expand (const std::string &str, const dictionary &dict)
 Expand expression with dictionary entries.

Additional Inherited Members

Static Protected Member Functions inherited from expressionEntry
template<class Type>
static string toExprStr (const Type &data)
 Stringified version of data with comma-separated components. Uses prefix corresponding to the pTraits of Type.
template<class Type>
static string toExprStr (ITstream &is)
 Comma-separated stringified version of primitiveEntry of Type. Prefix corresponding to the pTraits of Type.

Detailed Description

Expression representation of a bool : (false/true).

Source files

Definition at line 48 of file expressionEntryBool.H.

Member Function Documentation

◆ evaluate()

Foam::string evaluate ( const entry & e)
static

To string.

Definition at line 46 of file expressionEntryBool.C.

References e, and Switch::name().

Referenced by toExpr().

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

◆ toExpr()

virtual string toExpr ( const entry & e) const
inlinevirtual

To string.

Reimplemented from expressionEntry.

Definition at line 60 of file expressionEntryBool.H.

References e, and evaluate().

Here is the call graph for this function:

The documentation for this class was generated from the following files: