Changeset 8999 for trunk/MagicSoft/Mars/mbase/MString.h
- Timestamp:
- 07/14/08 20:59:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MString.h
r7889 r8999 6 6 #endif 7 7 8 #include <stdio.h>9 #include <stdarg.h>10 11 8 class MString : public TString 12 9 { 10 private: 11 MString &Print(const char *fmt, va_list &ap); 12 // MString &Print(const char *fmt, ...); 13 13 14 public: 14 15 MString(const char *txt=0) : TString(txt) { } 15 MString(const MString &txt) : TString(txt) { } 16 17 MString &Print(const char *fmt, va_list &ap); 18 MString &Print(const char *fmt, ...); 16 MString(const TString &txt) : TString(txt) { } 19 17 20 18 #ifndef __CINT__ 21 static MString Format(const char *fmt, ...); 19 #if ROOT_VERSION_CODE<ROOT_VERSION(5,18,00) 20 static TString Format(const char *fmt, ...); 21 #endif 22 22 #endif 23 23 24 void Form(const char *fmt, ...);24 //void Form(const char *fmt, ...); 25 25 26 ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings 26 ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings for root prior 5.18.00 27 27 }; 28 28
Note:
See TracChangeset
for help on using the changeset viewer.