Ignore:
Timestamp:
Oct 17, 2008, 1:20:42 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
fa2d7d
Parents:
534899
Message:

config::Save() and config::SaveMPQC() now take string for filename, instead of opened ofstream.

This was necessary, as config::SaveMPQC() now writes to files: One with hessian calc enabled, the other not. As it is a pendant of config::Save(), this file was changed accordingly. Both are called from builder.cpp (ParseFromParamters() and main()) and moleculelist.cpp (MoleculeListClass::OutputConfigForListOfFragments()), hence these were changed,too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecules.hpp

    r534899 rf89a9e  
    452452  void LoadOld(char *filename, periodentafel *periode, molecule *mol);
    453453  void RetrieveConfigPathAndName(string filename);
    454   bool Save(ofstream *file, periodentafel *periode, molecule *mol) const;
    455   bool SaveMPQC(ofstream *file, molecule *mol) const;
     454  bool Save(const char *filename, periodentafel *periode, molecule *mol) const;
     455  bool SaveMPQC(const char *filename, molecule *mol) const;
    456456  void Edit(molecule *mol);
    457457  bool GetIsAngstroem() const;
Note: See TracChangeset for help on using the changeset viewer.