Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::MutableMultiMemoryView Class Reference

List of mutable views on contiguous memory regions. More...

#include <arccore/base/MemoryView.h>

Public Member Functions

 MutableMultiMemoryView (SmallSpan< Span< std::byte > > views, Int32 datatype_size)
constexpr SmallSpan< Span< std::byte > > views () const
 Views in byte form on the memory region.
constexpr Int32 datatypeSize () const
 Size of the associated data type (1 by default).

Detailed Description

List of mutable views on contiguous memory regions.

Warning
API is currently under definition. Do not use outside of Arcane.

Definition at line 298 of file arccore/src/base/arccore/base/MemoryView.h.

Constructor & Destructor Documentation

◆ MutableMultiMemoryView()

Arcane::MutableMultiMemoryView::MutableMultiMemoryView ( SmallSpan< Span< std::byte > > views,
Int32 datatype_size )
inline

Definition at line 302 of file arccore/src/base/arccore/base/MemoryView.h.

Member Function Documentation

◆ datatypeSize()

Int32 Arcane::MutableMultiMemoryView::datatypeSize ( ) const
inlineconstexpr

Size of the associated data type (1 by default).

Definition at line 313 of file arccore/src/base/arccore/base/MemoryView.h.

Referenced by Arcane::MemoryUtils::copyWithIndexedDestination(), Arcane::MemoryUtils::fill(), and Arcane::MemoryUtils::fillIndexed().

◆ views()

SmallSpan< Span< std::byte > > Arcane::MutableMultiMemoryView::views ( ) const
inlineconstexpr

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