Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
core::xmlApi< tree::UnrankedTree< SymbolType > > Struct Template Reference

#include <UnrankedTree.h>

Static Public Member Functions

static std::string xmlTagName ()
 The XML tag name of class. More...
 
static bool first (const ext::deque< sax::Token >::const_iterator &input)
 Tests whether the token stream starts with this type. More...
 
static tree::UnrankedTree< SymbolType > parse (ext::deque< sax::Token >::iterator &input)
 
static void compose (ext::deque< sax::Token > &out, const tree::UnrankedTree< SymbolType > &tree)
 

Member Function Documentation

◆ compose()

template<class SymbolType >
void core::xmlApi< tree::UnrankedTree< SymbolType > >::compose ( ext::deque< sax::Token > &  out,
const tree::UnrankedTree< SymbolType > &  tree 
)
static

Composing to a sequence of xml tokens helper.

Parameters
outthe sink for new xml tokens representing the pattern
patternthe pattern to compose
Here is the call graph for this function:

◆ first()

template<class SymbolType >
static bool core::xmlApi< tree::UnrankedTree< SymbolType > >::first ( const ext::deque< sax::Token >::const_iterator &  input)
inlinestatic

Tests whether the token stream starts with this type.

\params input the iterator to sequence of xml tokens to test

Returns
true if the token stream iterator points to opening tag named with xml tag name of this type, false otherwise.
Here is the call graph for this function:

◆ parse()

template<class SymbolType >
tree::UnrankedTree< SymbolType > core::xmlApi< tree::UnrankedTree< SymbolType > >::parse ( ext::deque< sax::Token >::iterator &  input)
static

Parsing from a sequence of xml tokens helper.

\params input the iterator to sequence of xml tokens to parse from

Returns
the new instance of the pattern
Here is the call graph for this function:

◆ xmlTagName()

template<class SymbolType >
static std::string core::xmlApi< tree::UnrankedTree< SymbolType > >::xmlTagName ( )
inlinestatic

The XML tag name of class.

Intentionaly a static member function to be safe in the initialisation before the main function starts.

Returns
string representing the XML tag name of the class

The documentation for this struct was generated from the following file: