|
textwolf
0.2
|
XML path select template. More...
#include <xmlpathselect.hpp>
Classes | |
| class | iterator |
| input iterator for the output of this XMLScanner More... | |
Public Types | |
| typedef XMLPathSelectAutomaton < CharSet_ > | ThisXMLPathSelectAutomaton |
| typedef XMLPathSelect < CharSet_, StackType_ > | ThisXMLPathSelect |
Public Types inherited from textwolf::throws_exception | |
| enum | Cause { Unknown, DimOutOfRange, StateNumbersNotAscending, InvalidParamState, InvalidParamChar, DuplicateStateTransition, InvalidState, IllegalParam, IllegalAttributeName, OutOfMem, ArrayBoundsReadWrite, NotAllowedOperation, FileReadError, IllegalXmlHeader, InvalidTagOffset, CorruptTagStack, CodePageIndexNotSupported } |
| Enumeration of error cases. More... | |
Public Member Functions | |
| template<class Buffer > | |
| void | getTokenTypeMatchingStates (XMLScannerBase::ElementType type, bool withFollows, Buffer &buf) const |
| Get the next states states that match to an element of a type. More... | |
| XMLPathSelect (const ThisXMLPathSelectAutomaton *p_atm) | |
| Constructor. More... | |
| XMLPathSelect (const XMLPathSelect &o) | |
| Copy constructor. More... | |
| iterator | push (XMLScannerBase::ElementType type, const char *key, int keysize) |
| Feed the path selector with the next token and get the start iterator for the results. More... | |
| iterator | push (XMLScannerBase::ElementType type, const std::string &key) |
| Feed the path selector with the next token and get the start iterator for the results. More... | |
| iterator | end () |
| Get the end of results returned by 'push(XMLScannerBase::ElementType,const char*, int)'. More... | |
XML path select template.
| CharSet_ | character set encoding of the automaton elements |
| StackType_ | stack type used for tokens,triggers and scopes (as back insertion sequence with random access by index) |
| typedef XMLPathSelect<CharSet_,StackType_> textwolf::XMLPathSelect< CharSet_, StackType_ >::ThisXMLPathSelect |
| typedef XMLPathSelectAutomaton<CharSet_> textwolf::XMLPathSelect< CharSet_, StackType_ >::ThisXMLPathSelectAutomaton |
|
inline |
Constructor.
| [in] | p_atm | read only ML path select automaton reference |
|
inline |
Copy constructor.
| [in] | o | element to copy |
|
inline |
Get the end of results returned by 'push(XMLScannerBase::ElementType,const char*, int)'.
|
inline |
Get the next states states that match to an element of a type.
| Buffer | buffer type for the result (back insertion sequence) |
| [in] | type | element type to check |
| [out] | buf | where to append the result to |
|
inline |
Feed the path selector with the next token and get the start iterator for the results.
|
inline |
Feed the path selector with the next token and get the start iterator for the results.
1.8.6