HexDumpDataConfig Class Reference
[Text String Manipulation Tools]

#include <StringUtils.hpp>

List of all members.


Detailed Description

Class for configuring the appearance of hexDumpData() output.

Definition at line 114 of file StringUtils.hpp.

Public Member Functions

 HexDumpDataConfig ()
 HexDumpDataConfig (bool ashowIndex, bool ahexIndex, bool aupperHex, unsigned aidxDigits, unsigned aindexWS, unsigned agroupBy, unsigned agroupWS, unsigned agroup2By, unsigned agroup2WS, unsigned abytesPerLine, bool ashowText, char aseparator, unsigned atextWS)

Public Attributes

bool showIndex
 display index into string on each line.
bool hexIndex
 if true, use hex index numbers (else decimal).
bool upperHex
 if true, use upper-case hex digits.
unsigned idxDigits
 number of positions to use for index.
unsigned indexWS
 number of whitespace charaters between index and data.
unsigned groupBy
 number of bytes of data to show between spaces.
unsigned groupWS
 number of whitespace charaters between groups of hex data.
unsigned group2By
 number of groups to show per 2nd layer group (0=none, must be multiple of groupBy).
unsigned group2WS
 number of whitespace charaters between 2nd layer groups.
unsigned bytesPerLine
 number of bytes to display on a line of output (must be evenly divisible by both groupBy and group2By).
bool showText
 if true, show text of message (unprintable characters become '.'.
char separator
 character to offset text with (0 = none).
unsigned textWS
 number of whitespace characters between hex and text.


Constructor & Destructor Documentation

HexDumpDataConfig  )  [inline]
 

Definition at line 117 of file StringUtils.hpp.

HexDumpDataConfig bool  ashowIndex,
bool  ahexIndex,
bool  aupperHex,
unsigned  aidxDigits,
unsigned  aindexWS,
unsigned  agroupBy,
unsigned  agroupWS,
unsigned  agroup2By,
unsigned  agroup2WS,
unsigned  abytesPerLine,
bool  ashowText,
char  aseparator,
unsigned  atextWS
[inline]
 

Definition at line 123 of file StringUtils.hpp.


Member Data Documentation

unsigned bytesPerLine
 

number of bytes to display on a line of output (must be evenly divisible by both groupBy and group2By).

Definition at line 145 of file StringUtils.hpp.

unsigned group2By
 

number of groups to show per 2nd layer group (0=none, must be multiple of groupBy).

Definition at line 143 of file StringUtils.hpp.

unsigned group2WS
 

number of whitespace charaters between 2nd layer groups.

Definition at line 144 of file StringUtils.hpp.

unsigned groupBy
 

number of bytes of data to show between spaces.

Definition at line 141 of file StringUtils.hpp.

unsigned groupWS
 

number of whitespace charaters between groups of hex data.

Definition at line 142 of file StringUtils.hpp.

bool hexIndex
 

if true, use hex index numbers (else decimal).

Definition at line 137 of file StringUtils.hpp.

unsigned idxDigits
 

number of positions to use for index.

Definition at line 139 of file StringUtils.hpp.

unsigned indexWS
 

number of whitespace charaters between index and data.

Definition at line 140 of file StringUtils.hpp.

char separator
 

character to offset text with (0 = none).

Definition at line 147 of file StringUtils.hpp.

bool showIndex
 

display index into string on each line.

Definition at line 136 of file StringUtils.hpp.

bool showText
 

if true, show text of message (unprintable characters become '.'.

Definition at line 146 of file StringUtils.hpp.

unsigned textWS
 

number of whitespace characters between hex and text.

Definition at line 148 of file StringUtils.hpp.

bool upperHex
 

if true, use upper-case hex digits.

Definition at line 138 of file StringUtils.hpp.


The documentation for this class was generated from the following file:
Generated on Sat May 18 03:31:54 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1