Free functions to write and read a sequence container to and from a file. More...
#include <iostream>#include <ios>#include <iomanip>#include <fstream>#include <iterator>#include <dune/common/exceptions.hh>Go to the source code of this file.
| Namespaces | |
| namespace | Dumux | 
| Functions | |
| template<typename Container> | |
| void | Dumux::writeContainerToFile (const Container &v, const std::string &filename, int floatPrecision=6) | 
| Writes a container to file. | |
| template<typename Container> | |
| Container | Dumux::readStreamToContainer (std::istream &stream) | 
| Read an input stream into a container. | |
| template<typename Container> | |
| Container | Dumux::readFileToContainer (const std::string &filename) | 
| Read a simple text file into a container. | |