IOSS  2.0
Streams used for IOSS output

Functions

static void Ioss::Utils::set_all_streams (std::ostream &out_stream)
 set the stream for all streams (output, debug, and warning) to the specified out_stream More...
 
static void Ioss::Utils::set_output_stream (std::ostream &output_stream)
 set the output stream to the specified output_stream More...
 
static void Ioss::Utils::set_debug_stream (std::ostream &debug_stream)
 set the debug stream to the specified debug_stream More...
 
static void Ioss::Utils::set_warning_stream (std::ostream &warning_stream)
 set the warning stream to the specified warning_stream More...
 
static void Ioss::Utils::set_pre_warning_text (const std::string &text)
 set the pre-warning text Sets the text output prior to a warning to the specified text. Pass an empty string to disable this. Default is "\nIOSS WARNING: " More...
 

Variables

static std::ostream * Ioss::Utils::m_outputStream = &std::cerr
 general informational output (very rare). Default std::cerr More...
 
static std::ostream * Ioss::Utils::m_debugStream = &std::cerr
 debug output when requested. Default std::cerr More...
 
static std::ostream * Ioss::Utils::m_warningStream = &std::cerr
 IOSS warning output. Default std::cerr. More...
 
static std::string Ioss::Utils::m_preWarningText = "\nIOSS WARNING: "
 

Detailed Description

Function Documentation

◆ set_all_streams()

static void Ioss::Utils::set_all_streams ( std::ostream &  out_stream)
inlinestatic

set the stream for all streams (output, debug, and warning) to the specified out_stream

◆ set_debug_stream()

static void Ioss::Utils::set_debug_stream ( std::ostream &  debug_stream)
inlinestatic

set the debug stream to the specified debug_stream

◆ set_output_stream()

static void Ioss::Utils::set_output_stream ( std::ostream &  output_stream)
inlinestatic

set the output stream to the specified output_stream

◆ set_pre_warning_text()

static void Ioss::Utils::set_pre_warning_text ( const std::string &  text)
inlinestatic

set the pre-warning text Sets the text output prior to a warning to the specified text. Pass an empty string to disable this. Default is "\nIOSS WARNING: "

◆ set_warning_stream()

static void Ioss::Utils::set_warning_stream ( std::ostream &  warning_stream)
inlinestatic

set the warning stream to the specified warning_stream

Variable Documentation

◆ m_debugStream

std::ostream * Ioss::Utils::m_debugStream = &std::cerr
static

debug output when requested. Default std::cerr

◆ m_outputStream

std::ostream * Ioss::Utils::m_outputStream = &std::cerr
static

general informational output (very rare). Default std::cerr

◆ m_preWarningText

std::string Ioss::Utils::m_preWarningText = "\nIOSS WARNING: "
static

is a string that prepends all warning message output. Default is "\nIOSS WARNING: "

◆ m_warningStream

std::ostream * Ioss::Utils::m_warningStream = &std::cerr
static

IOSS warning output. Default std::cerr.