|
NDDEM
|
Cursor stream wrapper for counting line and column number if error exists. More...
#include <cursorstreamwrapper.h>
Inheritance diagram for CursorStreamWrapper< InputStream, Encoding >:Public Types | |
| typedef Encoding::Ch | Ch |
Public Types inherited from GenericStreamWrapper< InputStream, UTF8<> > | |
| typedef Encoding::Ch | Ch |
Public Member Functions | |
| CursorStreamWrapper (InputStream &is) | |
| Ch | Take () |
| size_t | GetLine () const |
| Get the error line number, if error exists. More... | |
| size_t | GetColumn () const |
| Get the error column number, if error exists. More... | |
Public Member Functions inherited from GenericStreamWrapper< InputStream, UTF8<> > | |
| GenericStreamWrapper (InputStream &is) | |
| Ch | Peek () const |
| Ch | Take () |
| size_t | Tell () |
| Ch * | PutBegin () |
| void | Put (Ch ch) |
| void | Flush () |
| size_t | PutEnd (Ch *ch) |
| const Ch * | Peek4 () const |
| UTFType | GetType () const |
| bool | HasBOM () const |
Private Attributes | |
| size_t | line_ |
| Current Line. More... | |
| size_t | col_ |
| Current Column. More... | |
Additional Inherited Members | |
Protected Attributes inherited from GenericStreamWrapper< InputStream, UTF8<> > | |
| InputStream & | is_ |
Cursor stream wrapper for counting line and column number if error exists.
| InputStream | Any stream that implements Stream Concept |
| typedef Encoding::Ch CursorStreamWrapper< InputStream, Encoding >::Ch |
|
inline |
|
inline |
Get the error column number, if error exists.
|
inline |
Get the error line number, if error exists.
|
inline |
|
private |
Current Column.
|
private |
Current Line.