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