Defines | 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.

Defines

#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,...)

Define Documentation

#define BIN_SPRINTF_MAX_LEN   (10240)

Definition at line 22 of file binPrintf.cpp.

#define PAD_RIGHT   1

Definition at line 33 of file binPrintf.cpp.

#define PAD_ZERO   2

Definition at line 34 of file binPrintf.cpp.

#define PRINT_BUF_LEN   12

Definition at line 67 of file binPrintf.cpp.


Function Documentation

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

Definition at line 228 of file binPrintf.cpp.

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

Definition at line 126 of file binPrintf.cpp.

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

Definition at line 23 of file binPrintf.cpp.

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

Definition at line 196 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 69 of file binPrintf.cpp.

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

Definition at line 36 of file binPrintf.cpp.

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

Definition at line 202 of file binPrintf.cpp.

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

Definition at line 208 of file binPrintf.cpp.



sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Tue Jul 9 2019 05:05:35