source: trunk/Mars/mbase/MString.h@ 10058

Last change on this file since 10058 was 8999, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 623 bytes
Line 
1#ifndef MARS_MString
2#define MARS_MString
3
4#ifndef ROOT_TString
5#include <TString.h>
6#endif
7
8class MString : public TString
9{
10private:
11 MString &Print(const char *fmt, va_list &ap);
12// MString &Print(const char *fmt, ...);
13
14public:
15 MString(const char *txt=0) : TString(txt) { }
16 MString(const TString &txt) : TString(txt) { }
17
18#ifndef __CINT__
19#if ROOT_VERSION_CODE<ROOT_VERSION(5,18,00)
20 static TString Format(const char *fmt, ...);
21#endif
22#endif
23
24 //void Form(const char *fmt, ...);
25
26 ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings for root prior 5.18.00
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.