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

#define BIN_SPRINTF_MAX_LEN   (10240)

Definition at line 23 of file binPrintf.cpp.

#define PAD_RIGHT   1

Definition at line 37 of file binPrintf.cpp.

#define PAD_ZERO   2

Definition at line 38 of file binPrintf.cpp.

#define PRINT_BUF_LEN   12

Definition at line 79 of file binPrintf.cpp.

Function Documentation

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

Definition at line 264 of file binPrintf.cpp.

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

Definition at line 146 of file binPrintf.cpp.

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

Definition at line 25 of file binPrintf.cpp.

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

Definition at line 232 of file binPrintf.cpp.

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.

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

Definition at line 40 of file binPrintf.cpp.

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

Definition at line 238 of file binPrintf.cpp.

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 Wed May 5 2021 03:05:48