LMCAS
Lamina Computer Algebra System
载入中...
搜索中...
未找到
LMCAS::detail::SymbolicVisitor::DepthGuard结构体 参考

#include </home/runner/work/docs/docs/LMCAS/src/internal/symbolic_ast/base.hpp>

LMCAS::detail::SymbolicVisitor::DepthGuard 的协作图:

Public 成员函数

 DepthGuard (const DepthGuard &)=delete
 DepthGuard (SymbolicVisitor &v)
 ~DepthGuard ()
DepthGuard & operator= (const DepthGuard &)=delete

Public 属性

SymbolicVisitor & visitor

详细描述

在文件 base.hpp 第 227 行定义.

构造及析构函数说明

◆ DepthGuard() [1/2]

LMCAS::detail::SymbolicVisitor::DepthGuard::DepthGuard ( SymbolicVisitor & v)
inline

在文件 base.hpp 第 229 行定义.

229 : visitor(v) {
232 } else if (visitor.current_depth >= MAX_DEPTH) {
233 throw std::runtime_error("AST traversal depth limit exceeded");
234 }
236 }
static constexpr int MAX_DEPTH
__attribute__((visibility("default"))) VectorCalculusExprResult surface_integral_scalar_checked(const std __attribute__((visibility("default"))) VectorCalculusExprResult surface_integral_scalar_checked(const std __attribute__((visibility("default"))) std const VectorField const std::string const std::string & v

引用了 LMCAS::detail::SymbolicVisitor::SymbolicVisitor(), LMCAS::detail::SymbolicVisitor::current_depth, LMCAS::detail::SymbolicVisitor::MAX_DEPTH, LMCAS::detail::SymbolicVisitor::rewrite_budget_, LMCAS::v , 以及 visitor.

被这些函数引用 DepthGuard() , 以及 operator=().

函数调用图:
这是这个函数的调用关系图:

◆ ~DepthGuard()

LMCAS::detail::SymbolicVisitor::DepthGuard::~DepthGuard ( )
inline

在文件 base.hpp 第 237 行定义.

引用了 LMCAS::detail::SymbolicVisitor::current_depth, LMCAS::detail::RewriteBudget::leave(), LMCAS::detail::SymbolicVisitor::rewrite_budget_ , 以及 visitor.

函数调用图:

◆ DepthGuard() [2/2]

LMCAS::detail::SymbolicVisitor::DepthGuard::DepthGuard ( const DepthGuard & )
delete

引用了 DepthGuard().

函数调用图:

成员函数说明

◆ operator=()

DepthGuard & LMCAS::detail::SymbolicVisitor::DepthGuard::operator= ( const DepthGuard & )
delete

引用了 DepthGuard().

函数调用图:

类成员变量说明

◆ visitor

SymbolicVisitor& LMCAS::detail::SymbolicVisitor::DepthGuard::visitor

在文件 base.hpp 第 228 行定义.

被这些函数引用 DepthGuard() , 以及 ~DepthGuard().


该结构体的文档由以下文件生成: