tfel
Loading...
Searching...
No Matches
tfel::math::parser::NegLogicalExpression Struct Referencefinal
Inheritance diagram for tfel::math::parser::NegLogicalExpression:
tfel::math::parser::LogicalExpr

Public Member Functions

 NegLogicalExpression (LogicalExprPtr) noexcept
NegLogicalExpression & operator= (const NegLogicalExpression &)=delete
NegLogicalExpression & operator= (NegLogicalExpression &&)=delete
bool isConstant () const override
 return if the expression is constant
bool dependsOnVariable (const std::vector< double >::size_type) const override
bool getValue () const override
std::string getCxxFormula (const std::vector< std::string > &) const override
void checkCyclicDependency (std::vector< std::string > &) const override
LogicalExprPtr resolveDependencies (const std::vector< double > &) const override
LogicalExprPtr clone (const std::vector< double > &) const override
void getParametersNames (std::set< std::string > &) const override
LogicalExprPtr createFunctionByChangingParametersIntoVariables (const std::vector< double > &, const std::vector< std::string > &, const std::map< std::string, std::vector< double >::size_type > &) const override

Member Function Documentation

◆ checkCyclicDependency()

void tfel::math::parser::NegLogicalExpression::checkCyclicDependency ( std::vector< std::string > & ) const
overridevirtual

◆ clone()

LogicalExprPtr tfel::math::parser::NegLogicalExpression::clone ( const std::vector< double > & ) const
nodiscardoverridevirtual

◆ createFunctionByChangingParametersIntoVariables()

LogicalExprPtr tfel::math::parser::NegLogicalExpression::createFunctionByChangingParametersIntoVariables ( const std::vector< double > & ,
const std::vector< std::string > & ,
const std::map< std::string, std::vector< double >::size_type > &  ) const
nodiscardoverridevirtual

◆ dependsOnVariable()

bool tfel::math::parser::NegLogicalExpression::dependsOnVariable ( const std::vector< double >::size_type ) const
nodiscardoverridevirtual
Returns
if the expression depends of the variable associated with the given position
Parameters
[in]pposition

Implements tfel::math::parser::LogicalExpr.

◆ getCxxFormula()

std::string tfel::math::parser::NegLogicalExpression::getCxxFormula ( const std::vector< std::string > & ) const
nodiscardoverridevirtual
Returns
a string representation of the evaluator suitable to be integrated in a C++ code.
Parameters
[in]ma map used to change the names of the variables

Implements tfel::math::parser::LogicalExpr.

◆ getParametersNames()

void tfel::math::parser::NegLogicalExpression::getParametersNames ( std::set< std::string > & ) const
overridevirtual

◆ getValue()

bool tfel::math::parser::NegLogicalExpression::getValue ( ) const
nodiscardoverridevirtual
Returns
the result of the evaluation of the logical expression

Implements tfel::math::parser::LogicalExpr.

◆ isConstant()

bool tfel::math::parser::NegLogicalExpression::isConstant ( ) const
nodiscardoverridevirtual

return if the expression is constant

Implements tfel::math::parser::LogicalExpr.

◆ resolveDependencies()

LogicalExprPtr tfel::math::parser::NegLogicalExpression::resolveDependencies ( const std::vector< double > & ) const
nodiscardoverridevirtual

The documentation for this struct was generated from the following file: