PICout::writePIString -> PICout::write

This commit is contained in:
2022-05-05 10:35:15 +03:00
parent 6995c25613
commit d1f7065c8a
3 changed files with 7 additions and 7 deletions

View File

@@ -337,7 +337,7 @@ PICout PICout::operator <<(const PIFlags<PICoutManipulators::PICoutFormat> & v)
if (!act_) return *this; \
space(); \
if (cnb_ == 10) PICOUTTOTARGET(v) \
else writePIString(PIString::fromNumber(v, cnb_)); \
else write(PIString::fromNumber(v, cnb_)); \
return *this; \
}
@@ -370,7 +370,7 @@ PICout PICout::operator <<(const float v) {if (!act_) return *this; space(); PIC
PICout PICout::operator <<(const double v) {if (!act_) return *this; space(); PICOUTTOTARGET(v) return *this;}
PICout PICout::operator <<(const void * v) {if (!act_) return *this; space(); PICOUTTOTARGET("0x") writePIString(PIString::fromNumber(ullong(v), 16)); return *this;}
PICout PICout::operator <<(const void * v) {if (!act_) return *this; space(); PICOUTTOTARGET("0x") write(PIString::fromNumber(ullong(v), 16)); return *this;}
PICout PICout::operator <<(const PIObject * v) {
if (!act_) return *this;
@@ -379,9 +379,9 @@ PICout PICout::operator <<(const PIObject * v) {
else {
PICOUTTOTARGET(v->className())
PICOUTTOTARGET("*(0x")
writePIString(PIString::fromNumber(ullong(v), 16));
write(PIString::fromNumber(ullong(v), 16));
PICOUTTOTARGET(", \"")
writePIString(v->name());
write(v->name());
PICOUTTOTARGET("\")")
}
return *this;
@@ -544,7 +544,7 @@ PICout & PICout::write(const char * str, int len) {
}
PICout & PICout::writePIString(const PIString & s) {
PICout & PICout::write(const PIString & s) {
if (!act_) return *this;
if (buffer_) {
buffer_->append(s);