Ignore:
Timestamp:
07/14/08 20:59:13 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MString.h

    r7889 r8999  
    66#endif
    77
    8 #include <stdio.h>
    9 #include <stdarg.h>
    10 
    118class MString : public TString
    129{
     10private:
     11    MString &Print(const char *fmt, va_list &ap);
     12//    MString &Print(const char *fmt, ...);
     13
    1314public:
    1415    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, ...);
     16    MString(const TString &txt) : TString(txt) { }
    1917
    2018#ifndef __CINT__
    21     static MString Format(const char *fmt, ...);
     19#if ROOT_VERSION_CODE<ROOT_VERSION(5,18,00)
     20    static TString Format(const char *fmt, ...);
     21#endif
    2222#endif
    2323
    24     void Form(const char *fmt, ...);
     24    //void Form(const char *fmt, ...);
    2525
    26     ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings
     26    ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings for root prior 5.18.00
    2727};
    2828
Note: See TracChangeset for help on using the changeset viewer.