1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/System/IO/TextReader.h
Halofreak1990 8f089dc2ab Added the current XFX directory tree.
WARNING!!! This revision cannot compile correctly. It is updated to reflect the many changes within the XFX project.
2010-12-04 16:14:34 +00:00

37 lines
668 B
C++

#ifndef _TEXTREADER_
#define _TEXTREADER_
namespace System
{
class String;
namespace IO
{
/// <summary>
/// Represents a reader that can read a sequential series of characters.
/// </summary>
class TextReader
{
protected:
void Dispose(bool disposing);
TextReader();
public:
static const TextReader Null;
void Close();
void Dispose();
int Peek();
int Read();
int Read(char buffer[], int index, int count);
int ReadBlock(char buffer[], int index, int count);
String ReadLine();
String ReadToEnd();
TextReader Synchronized(TextReader &reader);
};
}
}
#endif //_TEXTREADER_