EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Attributes | List of all members
EBGeometry::ExprDetail::Leaf Struct Reference

A shape held by an expression, with its type erased. More...

#include <EBGeometry_Expr.hpp>

Collaboration diagram for EBGeometry::ExprDetail::Leaf:
Collaboration graph
[legend]

Public Attributes

std::shared_ptr< const void > m_object
 Copy of the shape.
 
std::type_index m_type = std::type_index(typeid(void))
 The shape's type.
 
bool(* m_isAttachedTo )(const void *, const Pool &) = nullptr
 For a pool-resident shape: whether it lives in a given pool. Null otherwise.
 

Detailed Description

A shape held by an expression, with its type erased.

Internal helper; not part of the public API. Host-only: the object is a heap copy of the shape, and the tape compiler casts it back once it has matched m_type against its primitive types.


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