Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::Printer Class Reference

Printer is a static class that allows printing to logs or stdout/stderr. More...

Static Public Member Functions

static DUCKDB_API void Print (OutputStream stream, const string &str)
 Print the object to the stream.
 
static DUCKDB_API void Print (const string &str)
 Print the object to stderr.
 
template<typename... ARGS>
static void PrintF (OutputStream stream, const string &str, ARGS... params)
 Print the formatted object to the stream.
 
template<typename... ARGS>
static void PrintF (const string &str, ARGS... params)
 Print the formatted object to stderr.
 
static DUCKDB_API void RawPrint (OutputStream stream, const string &str)
 Directly prints the string to stdout without a newline.
 
static DUCKDB_API void Flush (OutputStream stream)
 Flush an output stream.
 
static DUCKDB_API bool IsTerminal (OutputStream stream)
 Whether or not we are printing to a terminal.
 
static DUCKDB_API idx_t TerminalWidth ()
 The terminal width.
 

Static Public Attributes

static line_printer_f line_printer
 

Static Private Member Functions

static void DefaultLinePrint (OutputStream stream, const string &str)
 

Detailed Description

Printer is a static class that allows printing to logs or stdout/stderr.

Member Function Documentation

◆ PrintF() [1/2]

template<typename... ARGS>
static void duckdb::Printer::PrintF ( OutputStream  stream,
const string &  str,
ARGS...  params 
)
inlinestatic

Print the formatted object to the stream.

41937 {
41938 Printer::Print(stream, StringUtil::Format(str, params...));
41939 }
static DUCKDB_API void Print(OutputStream stream, const string &str)
Print the object to the stream.
static string Format(const string fmt_str, ARGS... params)
Format a string using printf semantics.
Definition duckdb.hpp:4002
PyParams params(const std::string &tag, const std::string &model, const std::string &weights, const std::string &device)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintF() [2/2]

template<typename... ARGS>
static void duckdb::Printer::PrintF ( const string &  str,
ARGS...  params 
)
inlinestatic

Print the formatted object to stderr.

41942 {
41943 Printer::PrintF(OutputStream::STREAM_STDERR, str, std::forward<ARGS>(params)...);
41944 }
static void PrintF(OutputStream stream, const string &str, ARGS... params)
Print the formatted object to the stream.
Definition duckdb.hpp:41937
Here is the call graph for this function:

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