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

Last change on this file since 7397 was 7179, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 511 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 TString &txt) : TString(txt) { }
16
17 MString &Print(const char *fmt, va_list &ap);
18 MString &Print(const char *fmt, ...);
19 static MString Form(const char *fmt, ...);
20
21 ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings
22};
23
24#endif
Note: See TracBrowser for help on using the repository browser.