#include <StrCharStream.h>
An implementation of ACEXML_CharStream for reading input from a null-terminated ACEXML_Char string.
◆ ACEXML_StrCharStream()
ACEXML_StrCharStream::ACEXML_StrCharStream |
( |
| ) |
|
◆ ~ACEXML_StrCharStream()
ACEXML_StrCharStream::~ACEXML_StrCharStream |
( |
| ) |
|
|
virtual |
◆ available()
int ACEXML_StrCharStream::available |
( |
| ) |
|
|
virtual |
Returns the available ACEXML_Char in the buffer. -1 if the object is not initialized properly.
Implements ACEXML_CharStream.
◆ close()
int ACEXML_StrCharStream::close |
( |
| ) |
|
|
virtual |
Close this stream and release all resources used by it.
Implements ACEXML_CharStream.
◆ determine_encoding()
int ACEXML_StrCharStream::determine_encoding |
( |
| ) |
|
|
virtual |
Determine the encoding of the file.
◆ get()
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.
Implements ACEXML_CharStream.
◆ getEncoding()
const ACEXML_Char * ACEXML_StrCharStream::getEncoding |
( |
| ) |
|
|
virtual |
◆ getSystemId()
const ACEXML_Char * ACEXML_StrCharStream::getSystemId |
( |
| ) |
|
|
virtual |
◆ open()
Initializing StrCharStream with str and name.
◆ peek()
int ACEXML_StrCharStream::peek |
( |
| ) |
|
|
virtual |
Peek the next ACEXML_Char in the CharStream. Return the character if succeess, -1 if EOS is reached.
Implements ACEXML_CharStream.
◆ read()
int ACEXML_StrCharStream::read |
( |
ACEXML_Char * |
str, |
|
|
size_t |
len |
|
) |
| |
|
virtual |
◆ rewind()
void ACEXML_StrCharStream::rewind |
( |
| ) |
|
|
virtual |
◆ encoding_
◆ end_
◆ name_
◆ ptr_
◆ start_
The documentation for this class was generated from the following files: