Changeset 92 for cpp/gdk/sstring.cpp
- Timestamp:
- 07/02/13 22:31:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/gdk/sstring.cpp
r81 r92 6 6 #include "sstring.h" 7 7 #include "nonstd_stl.h" 8 8 #include "extvalue.h" 9 9 10 10 static int guessMemSize(int request, int memhint) … … 312 312 return t; 313 313 } 314 const SString& SString::valueOf(long i) 315 { 316 static SString t; 317 sprintf(t.directWrite(20),"%d",i); t.endWrite(); 318 return t; 319 } 314 320 const SString& SString::valueOf(double d) 315 321 { … … 318 324 return t; 319 325 } 326 const SString& SString::valueOf(const SString& s) 327 { 328 return s; 329 } 330 SString SString::valueOf(const ExtValue& v) 331 { 332 return v.getString(); 333 } 334 SString SString::valueOf(const ExtObject& v) 335 { 336 return v.toString(); 337 } 320 338 321 339 SString &SString::empty()
Note: See TracChangeset
for help on using the changeset viewer.