PICout::writePIString -> PICout::write
This commit is contained in:
@@ -337,7 +337,7 @@ PICout PICout::operator <<(const PIFlags<PICoutManipulators::PICoutFormat> & v)
|
|||||||
if (!act_) return *this; \
|
if (!act_) return *this; \
|
||||||
space(); \
|
space(); \
|
||||||
if (cnb_ == 10) PICOUTTOTARGET(v) \
|
if (cnb_ == 10) PICOUTTOTARGET(v) \
|
||||||
else writePIString(PIString::fromNumber(v, cnb_)); \
|
else write(PIString::fromNumber(v, cnb_)); \
|
||||||
return *this; \
|
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 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) {
|
PICout PICout::operator <<(const PIObject * v) {
|
||||||
if (!act_) return *this;
|
if (!act_) return *this;
|
||||||
@@ -379,9 +379,9 @@ PICout PICout::operator <<(const PIObject * v) {
|
|||||||
else {
|
else {
|
||||||
PICOUTTOTARGET(v->className())
|
PICOUTTOTARGET(v->className())
|
||||||
PICOUTTOTARGET("*(0x")
|
PICOUTTOTARGET("*(0x")
|
||||||
writePIString(PIString::fromNumber(ullong(v), 16));
|
write(PIString::fromNumber(ullong(v), 16));
|
||||||
PICOUTTOTARGET(", \"")
|
PICOUTTOTARGET(", \"")
|
||||||
writePIString(v->name());
|
write(v->name());
|
||||||
PICOUTTOTARGET("\")")
|
PICOUTTOTARGET("\")")
|
||||||
}
|
}
|
||||||
return *this;
|
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 (!act_) return *this;
|
||||||
if (buffer_) {
|
if (buffer_) {
|
||||||
buffer_->append(s);
|
buffer_->append(s);
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ public:
|
|||||||
|
|
||||||
//! \~english Write raw \a PIString
|
//! \~english Write raw \a PIString
|
||||||
//! \~russian Пишет сырой \a PIString
|
//! \~russian Пишет сырой \a PIString
|
||||||
PICout & writePIString(const PIString & s);
|
PICout & write(const PIString & s);
|
||||||
|
|
||||||
//! \~english Output \a PIString to stdout
|
//! \~english Output \a PIString to stdout
|
||||||
//! \~russian Вывод \a PIString в stdout
|
//! \~russian Вывод \a PIString в stdout
|
||||||
|
|||||||
@@ -1669,7 +1669,7 @@ PIString versionNormalize(const PIString & v) {
|
|||||||
PICout operator <<(PICout s, const PIString & v) {
|
PICout operator <<(PICout s, const PIString & v) {
|
||||||
s.space();
|
s.space();
|
||||||
s.quote();
|
s.quote();
|
||||||
s.writePIString(v);
|
s.write(v);
|
||||||
s.quote();
|
s.quote();
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user