Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::StreamRetry Class Reference

#include <AMReX_Utility.H>

Public Member Functions

 StreamRetry (std::ostream &os, std::string suffix, int maxtries)
 
 StreamRetry (std::string filename, bool abortonretryfailure, int maxtries)
 
bool TryOutput ()
 
bool TryFileOutput ()
 

Static Public Member Functions

static int NStreamErrors ()
 
static void ClearStreamErrors ()
 

Constructor & Destructor Documentation

◆ StreamRetry() [1/2]

amrex::StreamRetry::StreamRetry ( std::ostream &  os,
std::string  suffix,
int  maxtries 
)

◆ StreamRetry() [2/2]

amrex::StreamRetry::StreamRetry ( std::string  filename,
bool  abortonretryfailure,
int  maxtries 
)

Member Function Documentation

◆ ClearStreamErrors()

static void amrex::StreamRetry::ClearStreamErrors ( )
inlinestatic

◆ NStreamErrors()

static int amrex::StreamRetry::NStreamErrors ( )
inlinestatic

◆ TryFileOutput()

bool amrex::StreamRetry::TryFileOutput ( )

◆ TryOutput()

bool amrex::StreamRetry::TryOutput ( )

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