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 40c4811c04 Got everything to compile again.
Began transforming of current API to represent XNA 4.0, which is cleaner.
Dictionary<TKey, TValue> should now work (sort of-- need to implement resizing and enumerating)
Currently hunting down GraphicsDevice initialization
Up next: (hopefully successful) rendering of primitives
2012-09-28 20:36:02 +00:00

35 lines
756 B
C++

#ifndef _SYSTEM_IO_TEXTREADER_
#define _SYSTEM_IO_TEXTREADER_
#include "../Interfaces.h"
#include "../String.h"
namespace System
{
namespace IO
{
// Represents a reader that can read a sequential series of characters.
class TextReader : public IDisposable
{
protected:
void Dispose(bool disposing);
TextReader();
public:
static const TextReader Null;
virtual void Close();
void Dispose();
virtual int Peek() const;
virtual int Read();
virtual int Read(char buffer[], const int index, const int count);
virtual int ReadBlock(char buffer[], const int index, const int count);
virtual String ReadLine();
virtual String ReadToEnd();
};
}
}
#endif //_SYSTEM_IO_TEXTREADER_