#include <ACEXML/common/CharStream.h>
Inheritance diagram for ACEXML_CharStream:

Public Member Functions | |
| 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 void | rewind (void)=0 |
| virtual const ACEXML_Char * | getEncoding (void)=0 |
| virtual const ACEXML_Char * | getSystemId (void)=0 |
|
|
Virtual destructor, must have. |
|
|
Returns the available ACEXML_Char in the buffer. -1 if the object is not initialized properly. Implemented in ACEXML_FileCharStream, ACEXML_HttpCharStream, and ACEXML_StrCharStream. |
|
|
Close this stream and release all resources used by it. Implemented in ACEXML_FileCharStream, ACEXML_HttpCharStream, and ACEXML_StrCharStream. |
|
|
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. Implemented in ACEXML_FileCharStream, ACEXML_HttpCharStream, and ACEXML_StrCharStream. |
|
|
Implemented in ACEXML_FileCharStream, ACEXML_HttpCharStream, and ACEXML_StrCharStream. |
|
|
Implemented in ACEXML_FileCharStream, ACEXML_HttpCharStream, and ACEXML_StrCharStream. |
|
|
Peek the next ACEXML_Char in the CharStream. Return the character if succeess, -1 if EOS is reached. Implemented in ACEXML_FileCharStream, ACEXML_HttpCharStream, and ACEXML_StrCharStream. |
|
||||||||||||
|
Read the next batch of ACEXML_Char strings Implemented in ACEXML_FileCharStream, ACEXML_HttpCharStream, and ACEXML_StrCharStream. |
|
|
Resets the pointer to the beginning of the stream. Implemented in ACEXML_FileCharStream, ACEXML_HttpCharStream, and ACEXML_StrCharStream. |
1.3.9.1