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

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

#include <arccore/base/MemoryView.h>

Public Member Functions

 ConstMultiMemoryView (SmallSpan< const Span< const std::byte > > views, Int32 datatype_size)
 ConstMultiMemoryView (SmallSpan< const Span< std::byte > > views, Int32 datatype_size)
constexpr SmallSpan< const Span< const 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 constant views on contiguous memory regions.

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

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

Constructor & Destructor Documentation

◆ ConstMultiMemoryView() [1/2]

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

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

◆ ConstMultiMemoryView() [2/2]

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

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

Member Function Documentation

◆ datatypeSize()

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

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

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

Referenced by Arcane::MemoryUtils::copyWithIndexedSource().

◆ views()

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

Views in byte form on the memory region.

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

Referenced by Arcane::MemoryUtils::copyWithIndexedSource().


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