Nebula
Loading...
Searching...
No Matches
textreader.h
Go to the documentation of this file.
1#pragma once
2#ifndef IO_TEXTREADER_H
3#define IO_TEXTREADER_H
4//------------------------------------------------------------------------------
14#include "io/streamreader.h"
15
16//------------------------------------------------------------------------------
17namespace IO
18{
20{
22public:
24 TextReader();
26 virtual ~TextReader();
28 unsigned char ReadChar();
35};
36
37};
38//------------------------------------------------------------------------------
39#endif
Stream reader classes provide a specialized read-interface for a stream.
Definition streamreader.h:24
A friendly interface for reading text data from a stream.
Definition textreader.h:20
unsigned char ReadChar()
read a single character from the stream
Definition textreader.cc:38
TextReader()
constructor
Definition textreader.cc:18
Util::String ReadAll()
read entire stream into a string object
Definition textreader.cc:68
__DeclareClass(TextReader)
Util::Array< Util::String > ReadAllLines()
read entire stream as lines into string array
Definition textreader.cc:88
Util::String ReadLine()
read until next newline
Definition textreader.cc:49
virtual ~TextReader()
destructor
Definition textreader.cc:26
Nebula's dynamic array class.
Definition array.h:60
Instances of wrapped stream classes.
Definition orientation.cc:10
Nebula's universal string class.
Definition string.h:50