hummingbird
Solving the self-adjoint angular flux transport equation using spectral elements on Cartesian geometry
Loading...
Searching...
No Matches
te_expr Class Reference

A compiled expression. More...

#include <tinyexpr.h>

Public Member Functions

 te_expr (const te_variable_flags type, const te_variant_type &value) noexcept
 te_expr (const te_variable_flags type) noexcept

Public Attributes

te_variable_flags m_type {TE_DEFAULT}
 The type that m_value represents.
te_variant_type m_value {static_cast<te_type>(0.0)}
 The te_type constant, te_type pointer, or function to bind to.
std::vector< te_expr * > m_parameters {nullptr}
 Additional parameters.

Private Member Functions

 te_expr () noexcept=default
 te_expr (const te_expr &)=delete
te_expr & operator= (const te_expr &)=delete
virtual ~te_expr ()=default

Detailed Description

A compiled expression.

Can also be an additional object that can be passed to te_confun0-te_confun24 functions via a te_variable.

Definition at line 330 of file tinyexpr.h.

Constructor & Destructor Documentation

◆ te_expr() [1/4]

te_expr::te_expr ( const te_variable_flags type,
const te_variant_type & value )
inlinenoexcept

Definition at line 332 of file tinyexpr.h.

◆ te_expr() [2/4]

te_expr::te_expr ( const te_variable_flags type)
inlineexplicitnoexcept

Definition at line 335 of file tinyexpr.h.

◆ te_expr() [3/4]

te_expr::te_expr ( )
privatedefaultnoexcept

◆ te_expr() [4/4]

te_expr::te_expr ( const te_expr & )
privatedelete

Member Function Documentation

◆ operator=()

te_expr & te_expr::operator= ( const te_expr & )
privatedelete

◆ ~te_expr()

virtual te_expr::~te_expr ( )
privatevirtualdefault

Member Data Documentation

◆ m_parameters

std::vector<te_expr*> te_expr::m_parameters {nullptr}

Additional parameters.

Definition at line 353 of file tinyexpr.h.

◆ m_type

te_variable_flags te_expr::m_type {TE_DEFAULT}

The type that m_value represents.

Definition at line 349 of file tinyexpr.h.

◆ m_value

te_variant_type te_expr::m_value {static_cast<te_type>(0.0)}

The te_type constant, te_type pointer, or function to bind to.

Definition at line 351 of file tinyexpr.h.


The documentation for this class was generated from the following file:
  • /home/runner/work/hummingbird/hummingbird/include/utils/tinyexpr.h