71 m_fStream( aFileName.GetFullPath().ToUTF8() )
76 _(
"Unable to open filename \"%s\" for reading" ), aFileName.GetFullPath().GetData() );
An abstract class from which implementation specific LINE_READERs may be derived to read single lines...
char * m_line
the read line of UTF8 text
char * ReadLine() override
Read a line of text into the buffer and increments the line number counter.
IFSTREAM_LINE_READER(const wxFileName &aFileName)
void SetStream(std::istream &aStream)
Set the stream for this line reader.
wxString m_source
origin of text lines, e.g. filename or "clipboard"
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
unsigned m_length
no. bytes in line before trailing nul.
#define THROW_IO_ERROR(msg)
~STDISTREAM_LINE_READER()