#ifndef MARS_MString #define MARS_MString #ifndef ROOT_TString #include #endif #include #include class MString : public TString { public: MString(const char *txt=0) : TString(txt) { } MString(const TString &txt) : TString(txt) { } MString &Print(const char *fmt, va_list &ap); MString &Print(const char *fmt, ...); static MString Form(const char *fmt, ...); ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings }; #endif