CbmRoot
CbmFormatDecHexPrintout.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ----- -----
3 // ----- CbmFormatDecHexPrintout -----
4 // ----- Created 11.09.2019 by P.-A. Loizeau -----
5 // ----- -----
6 // -----------------------------------------------------------------------------
7 
8 #ifndef CbmFormatDecHexPrintout_H
9 #define CbmFormatDecHexPrintout_H
10 
11 #include <iomanip>
12 #include <iostream>
13 #include <sstream>
14 
25 std::string FormatDecPrintout(uint64_t ulVal, char cFill = 0, uint uWidth = 0);
26 
37 std::string FormatHexPrintout(uint64_t ulVal,
38  char cFill = 0,
39  uint uWidth = 0,
40  bool bUppercase = false);
41 
42 #endif
FormatDecPrintout
std::string FormatDecPrintout(uint64_t ulVal, char cFill=0, uint uWidth=0)
Definition: CbmFormatDecHexPrintout.cxx:4
FormatHexPrintout
std::string FormatHexPrintout(uint64_t ulVal, char cFill=0, uint uWidth=0, bool bUppercase=false)
Definition: CbmFormatDecHexPrintout.cxx:21