source: trunk/MagicSoft/Mars/mbase/MString.h@ 7929

Last change on this file since 7929 was 7889, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 576 bytes
Line 
1#ifndef MARS_MString
2#define MARS_MString
3
4#ifndef ROOT_TString
5#include <TString.h>
6#endif
7
8#include <stdio.h>
9#include <stdarg.h>
10
11class MString : public TString
12{
13public:
14 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, ...);
19
20#ifndef __CINT__
21 static MString Format(const char *fmt, ...);
22#endif
23
24 void Form(const char *fmt, ...);
25
26 ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings
27};
28
29#endif
Note: See TracBrowser for help on using the repository browser.