This class provides a concrete and efficient implementation of the Reader protocol.
Synopsis
Declared in <balxml_minireader.h>
class MiniReader
: public Reader
Base Classes
Name |
Description |
This abstract class defines an interface for fast, forward‐only access to XML data. |
Type Aliases
Name |
Description |
Managed pointer to a |
|
Type for a user‐supplied functor that opens an external XML resource. |
Enums
Name |
Description |
Node types returned by |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this reader and release resources. |
|
Skip all sub‐elements and position the reader on the corresponding end node. |
|
Skip all sub‐elements to the end node without well‐formedness checks. |
|
Skip all sub‐elements to the end node, allowing only bare XML. |
|
Move to the next node in the data stream created by |
|
Close the reader. |
|
Return the document encoding or NULL on error. |
Print the information about the current node to the specified output |
|
|
Return a reference to the non‐modifiable error information for this reader. The returned value becomes invalid when |
|
Return the current column number within the input stream. |
Return the current scanner position as offset from the beginning of document. |
|
|
Return the current line number within the input stream. |
|
Return true if the current node is an empty element. |
Return |
|
Return |
|
|
Return true if |
Return |
|
|
|
|
Return the base URI of the current node. |
|
Return the nesting depth of the current node in the XML document. The root node has depth 0. |
Return the byte position within the document corresponding to the byte following after the last byte of the current node. |
|
|
Return true if the current node has a value and false otherwise. |
|
Return the local name of the current node. |
|
Return the qualified name of the current node. |
|
Return the namespace ID of the current node if the current node has a namespace id and a negative number otherwise. |
|
Return the namespace URI of the current node. |
|
Return the prefix name of the current node. |
Return the byte position within the document corresponding to the first byte of the current node. |
|
|
Return the node type of the current node if the reader |
|
Return the value of the current node. |
|
Return the number of attributes for the current node if that node has attributes and 0 otherwise. |
|
|
|
Return the option flags. |
|
Return a pointer to the modifiable prefix stack used by this reader. |
|
Return the external XML resource resolver. |
|
Set the options to the flags in the specified |
|
Set the prefix stack to the stack at the specified |
|
Set the external XML resource resolver to the specified |
Static Member Functions
Name |
Description |
Return a string representation for the specified |
Friends
Name |
Description |
|
Created with MrDocs