Changeset 3919


Ignore:
Timestamp:
04/30/04 19:14:45 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3918 r3919  
    2424     - removed obsolete TList data member (use a argument in
    2525       GetStarList instead)
     26
     27   * mbase/MTime.h:
     28     - added 'istream &operator<<(istream &in, MTime &t)'
    2629
    2730
  • trunk/MagicSoft/Mars/mbase/MTime.h

    r3371 r3919  
    175175}
    176176
     177inline istream &operator<<(istream &in, MTime &t)
     178{
     179    TString date, time;
     180    date.ReadToDelim(in, ' ');
     181    time.ReadToDelim(in, ' ');
     182    t.SetString(Form("%s %s", date.Data(), time.Data()));
     183    return in;
     184}
     185
    177186#endif
Note: See TracChangeset for help on using the changeset viewer.