Changeset 14446 for trunk/Mars/mbase


Ignore:
Timestamp:
10/02/12 11:15:33 (12 years ago)
Author:
tbretz
Message:
Added some missing std::
Location:
trunk/Mars/mbase
Files:
2 edited

Legend:

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

    r8642 r14446  
    3535    enum { kIsOwner = BIT(14) };
    3636
    37     void StreamPrimitive(ostream &out) const;
     37    void StreamPrimitive(std::ostream &out) const;
    3838
    3939    void Init(const char *name, const char *title);
     
    9999    void SetNames(TObjArray &arr);
    100100
    101     void SavePrimitive(ostream &out, Option_t *o="");
    102     void SavePrimitive(ofstream &out, Option_t *o="");
     101    void SavePrimitive(std::ostream &out, Option_t *o="");
     102    void SavePrimitive(std::ofstream &out, Option_t *o="");
    103103
    104104    Int_t  ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
  • trunk/Mars/mbase/MTime.h

    r12937 r14446  
    155155
    156156    // I/O functions
    157     istream &ReadBinary(istream &fin);
    158     ostream &WriteBinary(ostream &out) const;
    159 
    160     void AsciiRead(istream &fin);
    161     Bool_t AsciiWrite(ostream &out) const;
     157    std::istream &ReadBinary(std::istream &fin);
     158    std::ostream &WriteBinary(std::ostream &out) const;
     159
     160    void AsciiRead(std::istream &fin);
     161    Bool_t AsciiWrite(std::ostream &out) const;
    162162
    163163    // Conversion functions
     
    199199};
    200200
    201 inline ostream &operator<<(ostream &out, const MTime &t)
     201inline std::ostream &operator<<(std::ostream &out, const MTime &t)
    202202{
    203203    out << t.GetString();
     
    205205}
    206206
    207 inline istream &operator>>(istream &in, MTime &t)
     207inline std::istream &operator>>(std::istream &in, MTime &t)
    208208{
    209209    TString date, time;
Note: See TracChangeset for help on using the changeset viewer.