Skip to content

Commit

Permalink
fixed comments and names of arguments in file.h for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
sjunges committed Apr 27, 2017
1 parent 920d48c commit 0b2a8d1
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions src/storm/utility/file.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
/**
* @file: file.h
* @author: Sebastian Junges
*
* @since October 7, 2014
*/

#ifndef STORM_UTILITY_FILE_H_
#define STORM_UTILITY_FILE_H_
#pragma once

#include <iostream>

Expand All @@ -19,7 +11,7 @@ namespace storm {
/*!
* Open the given file for writing.
*
* @param filename Path and name of the file to be tested.
* @param filepath Path and name of the file to be written to.
* @param filestream Contains the file handler afterwards.
* @param append If true, the new content is appended instead of clearing the existing content.
*/
Expand All @@ -36,7 +28,7 @@ namespace storm {
/*!
* Open the given file for reading.
*
* @param filename Path and name of the file to be tested.
* @param filepath Path and name of the file to be tested.
* @param filestream Contains the file handler afterwards.
*/
inline void openFile(std::string const& filepath, std::ifstream& filestream) {
Expand All @@ -47,7 +39,7 @@ namespace storm {
/*!
* Close the given file after writing.
*
* @param filestream Contains the file handler to close.
* @param stream Contains the file handler to close.
*/
inline void closeFile(std::ofstream& stream) {
stream.close();
Expand All @@ -56,7 +48,7 @@ namespace storm {
/*!
* Close the given file after reading.
*
* @param filestream Contains the file handler to close.
* @param stream Contains the file handler to close.
*/
inline void closeFile(std::ifstream& stream) {
stream.close();
Expand All @@ -77,5 +69,3 @@ namespace storm {

}
}

#endif

0 comments on commit 0b2a8d1

Please sign in to comment.