source:
trunk/MagicSoft/Mars/mbase/MString.h@
5934
| Last change on this file since 5934 was 5713, checked in by , 21 years ago | |
|---|---|
| File size: 408 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 | |
| 11 | class MString : public TString |
| 12 | { |
| 13 | public: |
| 14 | MString &Print(const char *fmt, va_list &ap); |
| 15 | MString &Print(const char *fmt, ...); |
| 16 | static MString Form(const char *fmt, ...); |
| 17 | |
| 18 | ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings |
| 19 | }; |
| 20 | |
| 21 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
