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

Specialisation of the xmlApi class for formal regular expression. More...

#include <FormalRTEStructure.h>

Static Public Member Functions

static rte::FormalRTEStructure< SymbolType > parse (ext::deque< sax::Token >::iterator &input)
 
static void compose (ext::deque< sax::Token > &output, const rte::FormalRTEStructure< SymbolType > &input)
 

Detailed Description

template<class SymbolType>
struct core::xmlApi< rte::FormalRTEStructure< SymbolType > >

Specialisation of the xmlApi class for formal regular expression.

The class provides the usual intarface of the xmlApi including parse and compose

Template Parameters
SymbolTypeused for the symbol part of the ranked symbol
RankTypeused for the rank part of the ranked symbol

Member Function Documentation

◆ compose()

template<class SymbolType >
void core::xmlApi< rte::FormalRTEStructure< SymbolType > >::compose ( ext::deque< sax::Token > &  output,
const rte::FormalRTEStructure< SymbolType > &  input 
)
static

Composing to a sequence of xml tokens helper.

Parameters
outputthe sink for new xml tokens representing the automaton
inputthe automaton to compose
Here is the call graph for this function:

◆ parse()

template<class SymbolType >
rte::FormalRTEStructure< SymbolType > core::xmlApi< rte::FormalRTEStructure< 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 rte

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