Go to the documentation of this file.
44 #ifndef GNSSTK_HEXDUMPDATACONFIG_HPP
45 #define GNSSTK_HEXDUMPDATACONFIG_HPP
69 unsigned aidxDigits,
unsigned aindexWS,
70 unsigned agroupBy,
unsigned agroupWS,
71 unsigned agroup2By,
unsigned agroup2WS,
72 unsigned abytesPerLine,
bool ashowText,
73 char aseparator,
unsigned atextWS,
74 bool aShowBaseData =
false,
75 bool aShowBaseIndex =
false);
80 unsigned aidxDigits,
const std::string& aindexSep,
81 unsigned agroupBy,
const std::string& agroupSep,
82 unsigned agroup2By,
const std::string& agroup2Sep,
83 unsigned abytesPerLine,
bool ashowText,
84 char aseparator,
const std::string& atextSep,
85 bool aShowBaseData,
bool aShowBaseIndex,
86 const std::string& adataEndSep,
87 const std::string& adataFinal);
92 unsigned aidxDigits,
const std::string& aindexSep,
93 unsigned agroupBy,
const std::string& agroupSep,
94 unsigned agroup2By,
const std::string& agroup2Sep,
95 unsigned abytesPerLine,
bool ashowText,
96 const std::string& apreText,
97 const std::string& apostText,
98 bool aShowBaseData,
bool aShowBaseIndex,
99 const std::string& adataEndSep,
100 const std::string& adataFinal,
101 const std::string& aprefix);
113 bool lastLine)
const;
150 #endif // GNSSTK_HEXDUMPDATACONFIG_HPP
std::string postText
text to put after ASCII.
Class for configuring the appearance of hexDumpData() output.
std::string indexSep
text between index and data.
std::string groupSep
text put between groups of hex data.
std::string prefix
text to put at the start of each line.
std::string preText
text put between hex and ASCII.
unsigned groupBy
bytes of data to show between spaces.
std::string baseIndex() const
Get the index radix ID.
unsigned idxDigits
number of positions to use for index.
std::string group2Sep
text put between 2nd layer groups.
bool showIndex
display index into string on each line.
bool showBaseIndex
Show number base indicator for indices.
HexDumpDataConfig()
Initialize to some sensible defaults.
std::string baseData() const
Get the data radix ID.
bool showBaseData
Show number base indicator for data.
unsigned computeLineSize(unsigned bytesOnLine, bool lastLine) const
bool upperHex
if true, use upper-case hex digits.
std::string dataEndSep
text to put after last data on a line.
std::string dataFinal
text to put after last of data.
bool hexIndex
if true, use hex index numbers (else decimal).
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39