Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
OutFileStream Class Reference

#include <elm/io/OutFileStream.h>

Inherits SystemOutStream.

Public Member Functions

 OutFileStream (const char *path)
 
 OutFileStream (const Path &path)
 
virtual ~OutFileStream (void)
 
bool isReady (void)
 
void close ()
 

Constructor & Destructor Documentation

◆ OutFileStream() [1/2]

OutFileStream ( const char *  path)

◆ OutFileStream() [2/2]

OutFileStream ( const Path path)

◆ ~OutFileStream()

~OutFileStream ( void  )
virtual

Build an output file stream by creating a new file or deleting an old one.

Parameters
pathPath of the file to write to. Build an output file stream by creating a new file or deleting an old one.
pathPath of the file to write to. Destructor (close the file if it is opened).

Member Function Documentation

◆ close()

void close ( )

Close the file. Subsequent writes will fail.

◆ isReady()

bool isReady ( void  )

The documentation for this class was generated from the following files: