Arcane  4.2.1.0
User documentation
Loading...
Searching...
No Matches
Arcane::Impl::ArrayViewDumper< ViewType > Class Template Reference

Helper class to dump an array view on a stream. More...

#include <arccore/base/ArrayViewDumper.h>

Static Public Member Functions

template<typename Stream>
static void dumpArray (Stream &o, ViewType val, int max_print)

Detailed Description

template<typename ViewType>
class Arcane::Impl::ArrayViewDumper< ViewType >

Helper class to dump an array view on a stream.

The method dumpArray() is templated on the stream type so we do not need to include the header 'iostream' in this header. The goal is to reduce compilation time. The user has to include 'iostream' if he needs to dump the array.

Definition at line 38 of file ArrayViewDumper.h.

Member Function Documentation

◆ dumpArray()

template<typename ViewType>
template<typename Stream>
void Arcane::Impl::ArrayViewDumper< ViewType >::dumpArray ( Stream & o,
ViewType val,
int max_print )
inlinestatic

Definition at line 43 of file ArrayViewDumper.h.


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