diff options
Diffstat (limited to 'Source/ablastr/utils/text/StreamUtils.H')
-rw-r--r-- | Source/ablastr/utils/text/StreamUtils.H | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Source/ablastr/utils/text/StreamUtils.H b/Source/ablastr/utils/text/StreamUtils.H new file mode 100644 index 000000000..b797c2fb6 --- /dev/null +++ b/Source/ablastr/utils/text/StreamUtils.H @@ -0,0 +1,24 @@ +/* Copyright 2023 + * + * This file is part of WarpX. + * + * License: BSD-3-Clause-LBNL + */ + +#ifndef ABLASTR_UTILS_TEXT_STREAMUTILS_H_ +#define ABLASTR_UTILS_TEXT_STREAMUTILS_H_ + +#include <istream> + +namespace ablastr::utils::text +{ + /** + * \brief This function drops the rest of the current line of + * the input stream "is" + * + * @param[in,out] is the input stream + */ + void goto_next_line (std::istream& is); +} + +#endif //ABLASTR_UTILS_TEXT_STREAMUTILS_H_ |