eckit::StdFile class

Wrapper around a stdio FILE* Use this for class members

Derived classes

class AutoStdFile

Constructors, destructors, conversion operators

StdFile(const PathName& name, const std::string& mode = "r")
~StdFile()
operator FILE*()
Get the FILE* but don't call fclose on it.

Public functions

auto isOpen() -> bool
void close() noexcept(…)

Function documentation

eckit::StdFile::~StdFile()

void eckit::StdFile::close() noexcept(…)

Exceptions
on fclose failure