Use gmx::File throughout CommandLineHelpWriter.
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 4 May 2012 08:27:43 +0000 (11:27 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Tue, 8 May 2012 03:33:07 +0000 (06:33 +0300)
commit04b99065c56858f3f4542dcf0bc883b36769c3a0
treea1928fe2617b378755b3d26c650c10ba35a5469a
parent81dc13d6b51a48091b8785f5b21ba9373611bf02
Use gmx::File throughout CommandLineHelpWriter.

Added necessary methods to gmx::File to write basic text files, and use
those for writing the command-line help instead of accessing the
underlying file handle directly.

Change-Id: Iff680d0b5b193fc785f8deec85befdf040bec909
src/gromacs/commandline/cmdlinehelpwriter.cpp
src/gromacs/commandline/cmdlinehelpwriter.h
src/gromacs/commandline/tests/cmdlinehelpwriter.cpp
src/gromacs/trajectoryanalysis/cmdlinerunner.cpp
src/gromacs/utility/file.cpp
src/gromacs/utility/file.h