Macros | Functions
binPrintf.cpp File Reference
#include "sick_scan/binPrintf.hpp"
#include <stdio.h>
Include dependency graph for binPrintf.cpp:

Go to the source code of this file.

Macros

#define BIN_SPRINTF_MAX_LEN   (10240)
 
#define PAD_RIGHT   1
 
#define PAD_ZERO   2
 
#define PRINT_BUF_LEN   12
 

Functions

std::string binDumpVecToString (std::vector< unsigned char > *outvec, bool appendReadableText)
 
static int binPrint (char **out, long long *varg)
 
static void binPrintchar (char **str, int c)
 
int binPrintf (const char *format,...)
 
static int binPrinti (char **out, int i, int b, int sg, int width, int pad, int letbase)
 
static int binPrints (char **out, const char *string, int width, int pad)
 
int binSprintf (char *out, const char *format,...)
 
int binSprintfVec (std::vector< unsigned char > *outvec, const char *fmt,...)
 

Macro Definition Documentation

◆ BIN_SPRINTF_MAX_LEN

#define BIN_SPRINTF_MAX_LEN   (10240)

Definition at line 23 of file binPrintf.cpp.

◆ PAD_RIGHT

#define PAD_RIGHT   1

Definition at line 37 of file binPrintf.cpp.

◆ PAD_ZERO

#define PAD_ZERO   2

Definition at line 38 of file binPrintf.cpp.

◆ PRINT_BUF_LEN

#define PRINT_BUF_LEN   12

Definition at line 79 of file binPrintf.cpp.

Function Documentation

◆ binDumpVecToString()

std::string binDumpVecToString ( std::vector< unsigned char > *  outvec,
bool  appendReadableText 
)

Definition at line 264 of file binPrintf.cpp.

◆ binPrint()

static int binPrint ( char **  out,
long long *  varg 
)
static

Definition at line 146 of file binPrintf.cpp.

◆ binPrintchar()

static void binPrintchar ( char **  str,
int  c 
)
static

Definition at line 25 of file binPrintf.cpp.

◆ binPrintf()

int binPrintf ( const char *  format,
  ... 
)

Definition at line 232 of file binPrintf.cpp.

◆ binPrinti()

static int binPrinti ( char **  out,
int  i,
int  b,
int  sg,
int  width,
int  pad,
int  letbase 
)
static

Definition at line 81 of file binPrintf.cpp.

◆ binPrints()

static int binPrints ( char **  out,
const char *  string,
int  width,
int  pad 
)
static

Definition at line 40 of file binPrintf.cpp.

◆ binSprintf()

int binSprintf ( char *  out,
const char *  format,
  ... 
)

Definition at line 238 of file binPrintf.cpp.

◆ binSprintfVec()

int binSprintfVec ( std::vector< unsigned char > *  outvec,
const char *  fmt,
  ... 
)

Definition at line 244 of file binPrintf.cpp.



sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19