29namespace RtraceTools {
40 for (
size_t i=0; i < done; i++) {
41 uint8_t ochr = pbuf[i] & 0377;
42 if (ochr>=040 && ochr<0177) {
43 if (nchar == 0) lmsg <<
"\n '";
51 if (nchar > 0) lmsg <<
"'";
57 if (nchar > 0) lmsg <<
"'";
61 for (
size_t i=0; i < done; i++) {
62 if (nchar == 0) lmsg <<
"\n ";
63 uint8_t ochr = pbuf[i] & 0377;
66 if (nchar >= 16) nchar = 0;
71 for (
size_t i=0; i < done; i++) {
72 if (nchar == 0) lmsg <<
"\n ";
73 uint8_t ochr = pbuf[i] & 0377;
77 if (nchar >= 6) nchar = 0;
82 for (
size_t i=0; i < done; i++) {
83 bool val = (pbuf[i] & 0x8000) != 0;
84 uint8_t size = (pbuf[i]>>8) & 0177;
85 uint8_t ochr = pbuf[i] & 0377;
105 lmsg << ((chr&0200) ?
"|" :
" ");
106 uint8_t chr7 = chr & 0177;
109 case 010: lmsg <<
"BS ";
break;
110 case 011: lmsg <<
"HT ";
break;
111 case 012: lmsg <<
"LF ";
break;
112 case 013: lmsg <<
"VT ";
break;
113 case 014: lmsg <<
"FF ";
break;
114 case 015: lmsg <<
"CR ";
break;
115 case 033: lmsg <<
"ESC";
break;
116 default: lmsg <<
"^" << char(
'@'+chr7) <<
" ";
120 lmsg <<
"'" << char(chr7) <<
"'";
RosPrintfS< bool > RosPrintf(bool value, const char *form=0, int width=0, int prec=0)
Creates a print object for the formatted output of a bool value.
Declaration of class ReventLoop.