IOSS 2.0
Loading...
Searching...
No Matches
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
 
static IOSS_NODISCARD std::ostream & Ioss::Utils::get_debug_stream ()
 get the debug stream.
 
static IOSS_NODISCARD std::ostream & Ioss::Utils::get_warning_stream ()
 get the warning stream.
 
static IOSS_NODISCARD std::ostream & Ioss::Utils::get_output_stream ()
 get the output stream.
 
static void Ioss::Utils::set_output_stream (std::ostream &output_stream)
 set the output stream to the specified output_stream
 
static void Ioss::Utils::set_debug_stream (std::ostream &debug_stream)
 set the debug stream to the specified debug_stream
 
static void Ioss::Utils::set_warning_stream (std::ostream &warning_stream)
 set the warning stream to the specified warning_stream
 
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: "
 

Variables

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

Detailed Description

Function Documentation

◆ get_debug_stream()

std::ostream & Ioss::Utils::get_debug_stream ( )
static

get the debug stream.

◆ get_output_stream()

std::ostream & Ioss::Utils::get_output_stream ( )
static

get the output stream.

◆ get_warning_stream()

std::ostream & Ioss::Utils::get_warning_stream ( )
static

get the warning stream.

◆ set_all_streams()

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

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

◆ set_debug_stream()

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

set the debug stream to the specified debug_stream

◆ set_output_stream()

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

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()

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

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.