eckit::AutoStdFile class

Wrapper around a stdio FILE* Use this for stack objects that automatically close

Base classes

class StdFile

Constructors, destructors, conversion operators

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

Public functions

auto isOpen() -> bool