Iterator element visited.
More...
#include <xmlscanner.hpp>
template<class InputIterator, class InputCharSet_, class OutputCharSet_, class OutputBuffer_>
class textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::Element
Iterator element visited.
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::Element::Element |
( |
| ) |
|
|
inline |
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::Element::Element |
( |
const End & |
| ) |
|
|
inline |
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::Element::Element |
( |
const Element & |
orig | ) |
|
|
inline |
Copy constructor.
- Parameters
-
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
const char* textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::Element::content |
( |
| ) |
const |
|
inline |
Value of the current element.
- Returns
- the value as C string
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
const char* textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::Element::error |
( |
| ) |
const |
|
inline |
Return the current error.
- Returns
- the error string or NULL, if no error occurred
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
const char* textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::Element::name |
( |
| ) |
const |
|
inline |
Type of the current element as string.
- Returns
- the name as C string
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
std::size_t textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::Element::size |
( |
| ) |
const |
|
inline |
Size of the value of the current element in bytes.
- Returns
- the size in bytes
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
Type of the current element.
- Returns
- the type
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
bool textwolf::XMLScanner< InputIterator, InputCharSet_, OutputCharSet_, OutputBuffer_ >::iterator::Element::valid |
( |
| ) |
const |
|
inline |
Check if the element does neither mark the end of document nor reports an error occurred.
- Returns
- true, if the element is a valid document element
template<class InputIterator , class InputCharSet_ , class OutputCharSet_ , class OutputBuffer_ >
The documentation for this class was generated from the following file:
- /home/patrick/Projects/github/textwolf/include/textwolf/xmlscanner.hpp