Changeset 14443 for trunk/Mars/mbase


Ignore:
Timestamp:
10/02/12 11:11:58 (12 years ago)
Author:
tbretz
Message:
Added some missing std::
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mbase/MLog.h

    r8877 r14443  
    7575    Bool_t fIsNull;           //! Switch output completely off
    7676
    77     ofstream   *fOut;          //! possible file output stream
     77    std::ofstream *fOut;      //! possible file output stream
    7878    Bool_t      fOutAllocated; //! flag if fout is created by MLogging
    7979    TGTextView *fGui;          //! Text View output
     
    101101    void ReallocateFile(const char *f);
    102102    void CheckFlag(Flags_t chk, int flag);
    103     void Output(ostream &out, int len);
     103    void Output(std::ostream &out, int len);
    104104    void AddGuiLine(const TString& line);
    105105
     
    113113
    114114    MLog(int i=eStdout);
    115     MLog(ofstream &out);
     115    MLog(std::ofstream &out);
    116116    MLog(TGTextView &out);
    117117    MLog(const char *fname, int flag=-1);
    118118
    119     MLog(MLog const& log) : std::ios(), std::streambuf(), ostream((std::streambuf*)&log), TObject()
     119    MLog(MLog const& log) : std::ios(), std::streambuf(), std::ostream((std::streambuf*)&log), TObject()
    120120    {
    121121        fOutputLevel = log.fOutputLevel;
     
    147147    void EnableOutputDevice(Flags_t f)  { fDevice     |=  f;   }
    148148    void DisableOutputDevice(Flags_t f) { fDevice     &= ~f;   }
    149     void operator=(ofstream &sout)      { SetOutputFile(sout); }
     149    void operator=(std::ofstream &sout) { SetOutputFile(sout); }
    150150    void operator=(TGTextView *sout)    { SetOutputGui(sout);  }
    151151    //void SetAutoIntro(Bool_t b=kTRUE)   { b ? SetBit(kIsAutoIntro) : SetBit(kIsAutoIntro); }
     
    160160    }
    161161
    162     void SetOutputFile(ofstream &sout, int flag=-1)
     162    void SetOutputFile(std::ofstream &sout, int flag=-1)
    163163    {
    164164        //
     
    187187    }
    188188
    189     ofstream &GetOutputFile()
     189    std::ofstream &GetOutputFile()
    190190    {
    191191        //
Note: See TracChangeset for help on using the changeset viewer.