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

Last change on this file since 7825 was 7804, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 536 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 Form(const char *fmt, ...);
22#endif
23
24 ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings
25};
26
27#endif
Note: See TracBrowser for help on using the repository browser.