eckit::StdPipe class

Simple wrapper for pipes.

Derived classes

class AutoStdPipe

Constructors, destructors, conversion operators

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

Public functions

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

Function documentation

eckit::StdPipe::~StdPipe()

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

Exceptions
on fclose failure