v0.13.1
Public Member Functions | Private Attributes | List of all members
MoFEM::LogManager::InternalData::WorldStreamBuf Struct Reference

Inherits std::stringbuf.

Public Member Functions

 WorldStreamBuf (MPI_Comm comm)
 
virtual int sync ()
 

Private Attributes

MPI_Comm cOmm
 

Detailed Description

Definition at line 50 of file LogManager.cpp.

Constructor & Destructor Documentation

◆ WorldStreamBuf()

MoFEM::LogManager::InternalData::WorldStreamBuf::WorldStreamBuf ( MPI_Comm  comm)

Definition at line 51 of file LogManager.cpp.

Member Function Documentation

◆ sync()

virtual int MoFEM::LogManager::InternalData::WorldStreamBuf::sync ( )
virtual

Definition at line 52 of file LogManager.cpp.

52 {
53 if (!this->str().empty()) {
54 PetscFPrintf(cOmm, LogManager::dummy_mofem_fd, "%s",
55 this->str().c_str());
56 this->str("");
57 }
58 return 0;
59 }
static FILE * dummy_mofem_fd
Dummy file pointer (DO NOT USE)
Definition: LogManager.hpp:194

Member Data Documentation

◆ cOmm

MPI_Comm MoFEM::LogManager::InternalData::WorldStreamBuf::cOmm
private

Definition at line 62 of file LogManager.cpp.


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