6 StString& StString::operator<<(
long long I)
10 sprintf(cbuf,
"%ld",(
long)I);
12 sprintf(cbuf,
"%.*ld",fPrec,(
long)I);
19 StString& StString::operator<<(
long I)
20 {
long long l = I; *
this << l;
return *
this;}
22 StString& StString::operator<<(
int I)
23 {
long long l = I; *
this << l;
return *
this;}
25 StString& StString::operator<<(
short I)
26 {
long long l = I; *
this << l;
return *
this;}
28 StString& StString::operator<<(
unsigned long long I)
32 sprintf(cbuf,
"%lu",(
unsigned long)I);
34 sprintf(cbuf,
"%.*lu",fPrec,(
unsigned long)I);
41 StString& StString::operator<<(
unsigned long I)
42 {
unsigned long long l = I; *
this << l;
return *
this;}
44 StString& StString::operator<<(
unsigned int I)
45 {
unsigned long long l = I; *
this << l;
return *
this;}
47 StString& StString::operator<<(
unsigned short I)
48 {
unsigned long long l = I; *
this << l;
return *
this;}
50 StString& StString::operator<<(
double I)
56 sprintf(cbuf,
"%.*g",fPrec,I);
64 StString& StString::operator<<(
float I)
65 {
double d = I; *
this << d;
return *
this;}