This is the documentation for Enlighten.
Lazy file writer that only actually updates the file on disk if the contents have changed.
Additionally, the file is written in utf-8.
Name | Description |
---|---|
~PipelineLineWriter() | Destructor. |
Close() | Close the file and flush previously written lines to disk. |
Failed() | Returns true if writing the file to disk failed. |
PipelineLineWriter(Geo::GeoFileString) | Constructs an PipelineLineWriter instance and copies the filename. |
WriteLine(const char *) | Write a single line of utf-8 text. |
public: ~PipelineLineWriter()
Destructor.
public: void Close()
Close the file and flush previously written lines to disk.
public: bool Failed() const
Returns true if writing the file to disk failed.
public: PipelineLineWriter
(
Geo::GeoFileString filename
)
Constructs an PipelineLineWriter instance and copies the filename.
public: void WriteLine
(
const char * s
)
Write a single line of utf-8 text.