Line-based ASCII file interface. More...
#include <cl_Ascii.hpp>
Public Member Functions | |
| Ascii (const string &aPath, const enum FileMode &aMode) | |
| virtual | ~Ascii () |
| bool | save () |
| void | print (const std::string &aLine) |
| index_t | length () const |
| return the number of lines | |
| string & | line (const index_t aLineNumber) |
| const string & | line (const index_t aLineNumber) const |
Protected Attributes | |
| string | mPath |
| const FileMode | mMode |
| Cell< string > | mBuffer |
| bool | mChangedSinceLastSave = false |
Line-based ASCII file interface.
|
virtual |
| index_t belfem::Ascii::length | ( | ) | const |
return the number of lines
| void belfem::Ascii::print | ( | const std::string & | aLine | ) |
| bool belfem::Ascii::save | ( | ) |
|
protected |
|
protected |
|
protected |