Macros | Functions
xprintf.cpp File Reference
#include "xprintf.h"
#include <memory>
#include <stdarg.h>
Include dependency graph for xprintf.cpp:

Go to the source code of this file.

Macros

#define XPRINT_FAST_BUFFER_SIZE   256
 

Functions

std::string _xprintf_ap (char const *fmt_str, va_list ap)
 printf-style formatting for std::string (internal). Use the xprintf macro instead of using this function directly More...
 
std::string _xprintf_b (char const *fmt_str, int marker,...)
 printf-style formatting for std::string. Use the xprintf macro instead of using this function directly More...
 
std::string _xprintf_b (std::string const &fmt_str, int marker,...)
 printf-style formatting for std::string. Use the xprintf macro instead of using this function directly More...
 

Macro Definition Documentation

◆ XPRINT_FAST_BUFFER_SIZE

#define XPRINT_FAST_BUFFER_SIZE   256

Definition at line 69 of file xprintf.cpp.

Function Documentation

◆ _xprintf_ap()

std::string _xprintf_ap ( char const *  fmt_str,
va_list  ap 
)
inline

printf-style formatting for std::string (internal). Use the xprintf macro instead of using this function directly

Parameters
fmt_strThe printf-style format string
apThe variadic arguments, properly initialized with va_start. The function will call va_end on this argument before exiting.

Definition at line 75 of file xprintf.cpp.

◆ _xprintf_b() [1/2]

std::string _xprintf_b ( char const *  fmt_str,
int  marker,
  ... 
)

printf-style formatting for std::string. Use the xprintf macro instead of using this function directly

Parameters
fmt_strThe printf-style format string

Definition at line 110 of file xprintf.cpp.

◆ _xprintf_b() [2/2]

std::string _xprintf_b ( std::string const &  fmt_str,
int  marker,
  ... 
)

printf-style formatting for std::string. Use the xprintf macro instead of using this function directly

Parameters
fmt_strThe printf-style format string

Definition at line 120 of file xprintf.cpp.



xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21