#include <stream.hpp>
Definition at line 48 of file stream.hpp.
Public Member Functions | |
virtual bool | at_end () const =0 |
virtual wchar_t | get ()=0 |
text_stream & | operator<< (const char *) |
text_stream & | operator<< (const double &) |
text_stream & | operator<< (const float &) |
text_stream & | operator<< (const int &) |
text_stream & | operator<< (const wchar_t &) |
text_stream & | operator<< (const wchar_t *) |
text_stream & | operator>> (double &) |
text_stream & | operator>> (float &) |
text_stream & | operator>> (int &) |
text_stream & | operator>> (wchar_t &) |
virtual wchar_t | peek ()=0 |
virtual gsgl::index_t | read (wchar_t *, const gsgl::index_t num)=0 |
virtual void | unget (wchar_t)=0 |
virtual gsgl::index_t | write (const wchar_t *, const gsgl::index_t num)=0 |
virtual | ~text_stream () |
Protected Member Functions | |
text_stream () |
text_stream | ( | ) | [protected] |
Definition at line 56 of file stream.cpp.
~text_stream | ( | ) | [virtual] |
Definition at line 59 of file stream.cpp.
virtual bool at_end | ( | ) | const [pure virtual] |
virtual wchar_t get | ( | ) | [pure virtual] |
text_stream & operator<< | ( | const char * | str | ) |
Definition at line 102 of file stream.cpp.
text_stream & operator<< | ( | const double & | n | ) |
text_stream & operator<< | ( | const float & | n | ) |
text_stream & operator<< | ( | const int & | n | ) |
text_stream & operator<< | ( | const wchar_t & | ch | ) |
Definition at line 68 of file stream.cpp.
References text_stream::write().
text_stream & operator<< | ( | const wchar_t * | str | ) |
text_stream & operator>> | ( | double & | n | ) |
Definition at line 141 of file stream.cpp.
References text_stream::at_end(), and text_stream::read().
text_stream & operator>> | ( | float & | n | ) |
Definition at line 158 of file stream.cpp.
text_stream & operator>> | ( | int & | n | ) |
Definition at line 124 of file stream.cpp.
References text_stream::at_end(), and text_stream::read().
text_stream & operator>> | ( | wchar_t & | ch | ) |
Definition at line 117 of file stream.cpp.
References text_stream::read().
virtual wchar_t peek | ( | ) | [pure virtual] |
virtual gsgl::index_t read | ( | wchar_t * | , | |
const gsgl::index_t | num | |||
) | [pure virtual] |
virtual void unget | ( | wchar_t | ) | [pure virtual] |
virtual gsgl::index_t write | ( | const wchar_t * | , | |
const gsgl::index_t | num | |||
) | [pure virtual] |