Ignore:
Timestamp:
06/13/01 12:38:42 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MParContainer.cc

    r843 r848  
    174174    return nbytes;
    175175}
     176
     177void MParContainer::AsciiRead(ifstream &fin)
     178{
     179    *fLog << "To use the the ascii input of " << GetName();
     180    *fLog << " you have to overload " << GetName() << "::AsciiRead." << endl;
     181}
     182
     183void MParContainer::AsciiWrite(ofstream &fout) const
     184{
     185    *fLog << "To use the the ascii output of " << GetName();
     186    *fLog << " you have to overload " << GetName() << "::AsciiWrite." << endl;
     187}
  • trunk/MagicSoft/Mars/mbase/MParContainer.h

    r843 r848  
    7272    virtual void   SetHasChanged(Bool_t flag=kTRUE) { fHasChanged=flag; }
    7373
    74     virtual void AsciiRead(ifstream &fin) {};
    75     virtual void AsciiWrite(ofstream &fout) const {};
     74    virtual void AsciiRead(ifstream &fin);
     75    virtual void AsciiWrite(ofstream &fout) const;
    7676
    7777    ClassDef(MParContainer, 1)  //The basis for all parameter containers
Note: See TracChangeset for help on using the changeset viewer.