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

Abstraction of an output file for ensight. More...

Collaboration diagram for Arcane::DumpWEnsight7OutFile:

Public Member Functions

 DumpWEnsight7OutFile (DumpWEnsight7 &dw, const String &filename, int outtype)
void syncFile ()
std::ostream & operator() ()

Private Attributes

DumpWEnsight7m_dw
String m_filename
bool m_is_master
bool m_is_parallel_output
std::ostream * m_stream
std::ostringstream m_strstream
std::ofstream * m_filestream

Detailed Description

Abstraction of an output file for ensight.

In the sequential case, it is actually a file. In the parallel case, it can be a file or a memory stream depending on whether it is a master or slave processor.

Definition at line 1359 of file DumpWEnsight7.cc.

Constructor & Destructor Documentation

◆ DumpWEnsight7OutFile()

Arcane::DumpWEnsight7OutFile::DumpWEnsight7OutFile ( DumpWEnsight7 & dw,
const String & filename,
int outtype )
inline

Definition at line 1363 of file DumpWEnsight7.cc.

◆ ~DumpWEnsight7OutFile()

Arcane::DumpWEnsight7OutFile::~DumpWEnsight7OutFile ( )
inline

Definition at line 1383 of file DumpWEnsight7.cc.

Member Function Documentation

◆ operator()()

std::ostream & Arcane::DumpWEnsight7OutFile::operator() ( )
inline

Definition at line 1463 of file DumpWEnsight7.cc.

◆ syncFile()

void Arcane::DumpWEnsight7OutFile::syncFile ( )
inline

Definition at line 1390 of file DumpWEnsight7.cc.

Member Data Documentation

◆ m_dw

DumpWEnsight7& Arcane::DumpWEnsight7OutFile::m_dw
private

Definition at line 1467 of file DumpWEnsight7.cc.

◆ m_filename

String Arcane::DumpWEnsight7OutFile::m_filename
private

Definition at line 1468 of file DumpWEnsight7.cc.

◆ m_filestream

std::ofstream* Arcane::DumpWEnsight7OutFile::m_filestream
private

Definition at line 1473 of file DumpWEnsight7.cc.

◆ m_is_master

bool Arcane::DumpWEnsight7OutFile::m_is_master
private

Definition at line 1469 of file DumpWEnsight7.cc.

◆ m_is_parallel_output

bool Arcane::DumpWEnsight7OutFile::m_is_parallel_output
private

Definition at line 1470 of file DumpWEnsight7.cc.

◆ m_stream

std::ostream* Arcane::DumpWEnsight7OutFile::m_stream
private

Definition at line 1471 of file DumpWEnsight7.cc.

◆ m_strstream

std::ostringstream Arcane::DumpWEnsight7OutFile::m_strstream
private

Definition at line 1472 of file DumpWEnsight7.cc.


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