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 |
---|---|
~ExporterLineWriter() | Destructor. |
Close() | Close the file and flush previously written lines to disk. |
ExporterLineWriter(Geo::GeoFileString) | Constructs an ExporterLineWriter instance and copies the filename. |
Failed() | Returns true if writing the file to disk failed. |
WriteLine(const char *) | Write a single line of utf-8 text. |
public: ~ExporterLineWriter()
Destructor.
public: void Close()
Close the file and flush previously written lines to disk.
public: ExporterLineWriter
(
Geo::GeoFileString filename
)
Constructs an ExporterLineWriter instance and copies the filename.
public: bool Failed() const
Returns true if writing the file to disk failed.
public: void WriteLine
(
const char * s
)
Write a single line of utf-8 text.