WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
ostream.h File Reference
#include "format.h"
#include <ostream>
Include dependency graph for ostream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  internal::formatbuf< Char >
 
struct  internal::test_stream< Char >
 
class  internal::is_streamable< T, Char >
 
struct  convert_to_int< T, Char, void >
 
struct  formatter< T, Char, typename std::enable_if< internal::is_streamable< T, Char >::value &&!internal::format_type< typename buffer_context< Char >::type, T >::value >::type >
 

Namespaces

 internal
 

Functions

template<typename Char >
void internal::write (std::basic_ostream< Char > &os, basic_buffer< Char > &buf)
 
template<typename Char , typename T >
void internal::format_value (basic_buffer< Char > &buffer, const T &value)
 
template<typename Char >
void vprint (std::basic_ostream< Char > &os, basic_string_view< Char > format_str, basic_format_args< typename buffer_context< Char >::type > args)
 
template<typename S , typename... Args>
std::enable_if< internal::is_string< S >::value >::type print (std::basic_ostream< FMT_CHAR(S)> &os, const S &format_str, const Args &... args)
 

Function Documentation

◆ print()

template<typename S , typename... Args>
std::enable_if<internal::is_string<S>::value>::type print ( std::basic_ostream< FMT_CHAR(S)> &  os,
const S &  format_str,
const Args &...  args 
)
inline

Prints formatted data to the stream os.

Example**::

fmt::print(cerr, "Don't {}!", "panic");

Definition at line 146 of file ostream.h.

Here is the call graph for this function:

◆ vprint()

template<typename Char >
void vprint ( std::basic_ostream< Char > &  os,
basic_string_view< Char >  format_str,
basic_format_args< typename buffer_context< Char >::type >  args 
)
inline

Definition at line 128 of file ostream.h.

Here is the call graph for this function:
Here is the caller graph for this function: