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

List of constant 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::ConstMultiMemoryView:

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

Private Attributes

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

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.

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

Member Data Documentation

◆ m_datatype_size

Int32 Arcane::ConstMultiMemoryView::m_datatype_size
private

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

◆ m_views

SmallSpan<const Span<const std::byte> > Arcane::ConstMultiMemoryView::m_views
private

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


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