AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ SafePrintf() [2/2]

void drama::SafePrintf ( std::ostream &  ostream,
const char str 
)

Safe formatted write to a stream.


Case with no arguments, normally only used as part of the implementation of the version with formatted arguments.

Deprecated:
Use the fmt::format library instead of this function. See DRAMA 2 String formatting for details on this formatting approach, but you can replace the use of this function by returning value of fmt::format() to the stream.
Parameters
ostreamThe stream to write to.
strThe string to be written.

Referenced by ErsReport(), drama::MessageHandler::MessageUser(), drama::thread::TAction::MessageUser(), drama::thread::TUface::MessageUser(), drama::thread::TMessHandler::MessageUser(), SafePrintf(), drama::logging::Logger::SLog(), drama::logging::Logger::SLog(), and TSafePrintf().