Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
file_utilities.hpp File Reference

Provides the file_utilities screens for bertini2. More...

#include <iostream>
#include <fstream>
#include <sstream>
#include <boost/filesystem.hpp>
Include dependency graph for file_utilities.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bertini

Typedefs

using bertini::Path = fs::path
 Shorthand for a filesystem path.
using bertini::ifstream = std::ifstream
 Shorthand for an input file stream.

Functions

void bertini::OpenInFileThrowIfFail (ifstream &in, Path const &input_path)
 Try to open a file, and throw if it doesn't exist, or is a directory.
std::string bertini::FileToString (Path const &input_path)
 Read an entire file into a string.

Detailed Description

Provides the file_utilities screens for bertini2.