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

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

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/base/arccore/base/MemoryView.h>

Collaboration diagram for Arcane::MutableMultiMemoryView:

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).

Private Attributes

SmallSpan< Span< std::byte > > m_views
Int32 m_datatype_size

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().

Here is the caller graph for this function:

◆ views()

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

Views in byte form on the memory region.

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

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

Here is the caller graph for this function:

Member Data Documentation

◆ m_datatype_size

Int32 Arcane::MutableMultiMemoryView::m_datatype_size
private

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

◆ m_views

SmallSpan<Span<std::byte> > Arcane::MutableMultiMemoryView::m_views
private

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


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