#include "ACEXML/common/CharStream.h"
Inheritance diagram for ACEXML_CharStream:
Public Methods | |
virtual | ~ACEXML_CharStream ()=0 |
virtual int | available (void)=0 |
virtual int | close (void)=0 |
virtual int | get (ACEXML_Char &ch)=0 |
virtual int | read (ACEXML_Char *str, size_t len)=0 |
virtual int | peek (void)=0 |
|
Virtual destructor, must have. |
|
Returns the available ACEXML_Char in the buffer. -1 if the object is not initialized properly. Reimplemented in ACEXML_FileCharStream. |
|
Close this stream and release all resources used by it. Reimplemented in ACEXML_FileCharStream. |
|
Read the next ACEXML_Char. Return -1 if we are not able to return an ACEXML_Char, 0 if EOS is reached, or 1 if succeed. Reimplemented in ACEXML_FileCharStream. |
|
Peek the next ACEXML_Char in the CharStream. Return the character if succeess, -1 if EOS is reached. Reimplemented in ACEXML_FileCharStream. |
|
Read the next batch of ACEXML_Char strings Reimplemented in ACEXML_FileCharStream. |