EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Member Functions | List of all members
EBGeometry::Fused::Detail::Base< true > Struct Reference

A pool-resident node's base: a PoolHandle, holding the location its operands resolve against. More...

#include <EBGeometry_Fused.hpp>

Inheritance diagram for EBGeometry::Fused::Detail::Base< true >:
Inheritance graph
[legend]
Collaboration diagram for EBGeometry::Fused::Detail::Base< true >:
Collaboration graph
[legend]

Public Member Functions

 Base () noexcept=default
 An unset location.
 
 Base (const PoolLocation &a_location) noexcept
 Adopt a location.
 
- Public Member Functions inherited from EBGeometry::PoolHandle
PoolLocation location () const noexcept
 Where this handle's arrays live.
 
bool isAttachedTo (const Pool &a_pool) const noexcept
 Check whether this handle's arrays were reserved from a_pool.
 

Additional Inherited Members

- Protected Member Functions inherited from EBGeometry::PoolHandle
 PoolHandle () noexcept=default
 An unset location; the first reservation attaches it.
 
 PoolHandle (const PoolLocation &a_location) noexcept
 Adopt a location, as a handle rebuilt from a stored layout does.
 
 PoolHandle (const PoolHandle &) noexcept=default
 Copy a handle, as a derived handle's copy does.
 
 PoolHandle (PoolHandle &&) noexcept=default
 Move a handle; the same as a copy.
 
PoolHandle & operator= (const PoolHandle &) noexcept=default
 Copy-assign a handle, as a derived handle's assignment does.
 
PoolHandle & operator= (PoolHandle &&) noexcept=default
 Move-assign a handle; the same as a copy.
 
 ~PoolHandle () noexcept=default
 Destructor; protected, since a PoolHandle exists only as the base of a handle.
 
void * base () noexcept
 The base address this handle's offsets resolve against; see PoolLocation::base().
 
const void * base () const noexcept
 The base address this handle's offsets resolve against, for read-only access.
 
void attach (const Pool &a_pool, const char *a_who) noexcept
 Follow a_pool, as the first reservation does; see PoolLocation::attach().
 
PoolLocation rebasedLocation (const Pool &a_pool, uint64_t a_endByte, const char *a_who) const noexcept
 The location of this handle's arrays in another pool of its mirror chain; see PoolLocation::rebasedOnto().
 
void setLocation (const PoolLocation &a_location) noexcept
 Replace the location, for a view or a copy made by a derived handle.
 

Detailed Description

A pool-resident node's base: a PoolHandle, holding the location its operands resolve against.

Constructor & Destructor Documentation

◆ Base()

EBGeometry::Fused::Detail::Base< true >::Base ( const PoolLocation &  a_location)
inlineexplicitnoexcept

Adopt a location.

Parameters
[in]a_locationLocation.

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