stack of tag names
More...
#include <xmltagstack.hpp>
|
enum | Cause {
Unknown,
DimOutOfRange,
StateNumbersNotAscending,
InvalidParamState,
InvalidParamChar,
DuplicateStateTransition,
InvalidState,
IllegalParam,
IllegalAttributeName,
OutOfMem,
ArrayBoundsReadWrite,
NotAllowedOperation,
FileReadError,
IllegalXmlHeader,
InvalidTagOffset,
CorruptTagStack,
CodePageIndexNotSupported
} |
| Enumeration of error cases. More...
|
|
textwolf::TagStack::~TagStack |
( |
| ) |
|
|
inline |
textwolf::TagStack::TagStack |
( |
| ) |
|
|
inline |
textwolf::TagStack::TagStack |
( |
const TagStack & |
o | ) |
|
|
inline |
void textwolf::TagStack::clear |
( |
| ) |
|
|
inline |
bool textwolf::TagStack::empty |
( |
| ) |
const |
|
inline |
Find out if the stack is empty.
- Returns
- true if yes
void textwolf::TagStack::pop |
( |
| ) |
|
|
inline |
Pop (remove) the topmost tag.
void textwolf::TagStack::push |
( |
const char * |
pp, |
|
|
std::size_t |
nn |
|
) |
| |
|
inline |
Push a tag on top.
- Parameters
-
[out] | pp | pointer to tag value to push |
[out] | nn | size of tag value to push in bytes |
bool textwolf::TagStack::top |
( |
const void *& |
element, |
|
|
std::size_t & |
elementsize |
|
) |
| |
|
inline |
Get the topmost tag.
- Parameters
-
[out] | element | pointer to topmost tag value |
[out] | elementsize | size of topmost tag value in bytes |
- Returns
- true on success, false if the stack is empty
The documentation for this class was generated from the following file: