OGS
|
Classes | |
class | Writer |
Base class which enables writing an object to string, stringstream or file. More... | |
struct | XMLInterface |
Base class for writing any information to and from XML files. More... | |
class | XMLQtInterface |
Functions | |
std::vector< std::string > | readStringListFromFile (std::string const &filename) |
Reads non-empty lines from a list of strings from a file into a vector. | |
int | writeStringToFile (std::string_view content, std::filesystem::path const &file_path) |
std::vector< std::string > BaseLib::IO::readStringListFromFile | ( | std::string const & | filename | ) |
Reads non-empty lines from a list of strings from a file into a vector.
Definition at line 21 of file readStringListFromFile.cpp.
References ERR(), and BaseLib::trim().
Referenced by main().
int BaseLib::IO::writeStringToFile | ( | std::string_view | content, |
std::filesystem::path const & | file_path ) |
Definition at line 45 of file Writer.cpp.
References ERR().
Referenced by SaveMeshDialog::accept(), MainWindow::callGMSH(), consolidateGeometry(), OGSFileConverter::convertGLI2GML(), convertPoints(), OGSFileConverter::convertVTU2MSH(), FileIO::createSurface(), generateMesh(), main(), MainWindow::save(), FileIO::XmlPrjInterface::write(), FileIO::SwmmInterface::writeCsvForObject(), FileIO::SwmmInterface::writeCsvForTimestep(), FileIO::writeGeometryToFile(), MainWindow::writeGeometryToFile(), writeGeoOutput(), MeshLib::IO::writeMeshToFile(), MainWindow::writeStationListToFile(), and FileIO::XmlPrjInterface::writeToFile().