Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions | Protected Attributes | Friends
indexes::SuffixTrieTerminatingSymbol Class Referencefinal

#include <SuffixTrieTerminatingSymbol.h>

Inheritance diagram for indexes::SuffixTrieTerminatingSymbol:
[legend]
Collaboration diagram for indexes::SuffixTrieTerminatingSymbol:
[legend]

Public Member Functions

 SuffixTrieTerminatingSymbol (ext::set< DefaultSymbolType > alphabet, DefaultSymbolType terminatingSymbol)
 
 SuffixTrieTerminatingSymbol (ext::set< DefaultSymbolType > alphabet, DefaultSymbolType terminatingSymbol, SuffixTrieNodeTerminatingSymbol tree)
 
 SuffixTrieTerminatingSymbol (DefaultSymbolType terminatingSymbol, SuffixTrieNodeTerminatingSymbol tree)
 
 SuffixTrieTerminatingSymbol (const SuffixTrieTerminatingSymbol &other)
 
 SuffixTrieTerminatingSymbol (SuffixTrieTerminatingSymbol &&other) noexcept
 
SuffixTrieTerminatingSymboloperator= (const SuffixTrieTerminatingSymbol &other)
 
SuffixTrieTerminatingSymboloperator= (SuffixTrieTerminatingSymbol &&other) noexcept
 
 ~SuffixTrieTerminatingSymbol () noexcept
 
const SuffixTrieNodeTerminatingSymbolgetRoot () const
 
SuffixTrieNodeTerminatingSymbolgetRoot ()
 
void setTree (SuffixTrieNodeTerminatingSymbol tree)
 
const ext::set< DefaultSymbolType > & getAlphabet () const
 
const DefaultSymbolTypegetTerminatingSymbol () const
 
auto operator<=> (const SuffixTrieTerminatingSymbol &other) const
 
bool operator== (const SuffixTrieTerminatingSymbol &other) const
 
- Public Member Functions inherited from core::Components< SuffixTrieTerminatingSymbol, ext::set< DefaultSymbolType >, component::Set, GeneralAlphabet, DefaultSymbolType, component::Value, TerminatingSymbol >
void accessComponent ()
 

Protected Attributes

SuffixTrieNodeTerminatingSymbolm_tree
 

Friends

ext::ostreamoperator<< (ext::ostream &out, const SuffixTrieTerminatingSymbol &instance)
 

Additional Inherited Members

- Static Public Member Functions inherited from core::Components< SuffixTrieTerminatingSymbol, ext::set< DefaultSymbolType >, component::Set, GeneralAlphabet, DefaultSymbolType, component::Value, TerminatingSymbol >
static void registerComponent ()
 
static void unregisterComponent ()
 

Detailed Description

Represents regular expression parsed from the XML. Regular expression is stored as a tree of RegExpElement.

Constructor & Destructor Documentation

◆ SuffixTrieTerminatingSymbol() [1/5]

indexes::SuffixTrieTerminatingSymbol::SuffixTrieTerminatingSymbol ( ext::set< DefaultSymbolType alphabet,
DefaultSymbolType  terminatingSymbol 
)
explicit
Here is the caller graph for this function:

◆ SuffixTrieTerminatingSymbol() [2/5]

indexes::SuffixTrieTerminatingSymbol::SuffixTrieTerminatingSymbol ( ext::set< DefaultSymbolType alphabet,
DefaultSymbolType  terminatingSymbol,
SuffixTrieNodeTerminatingSymbol  tree 
)
explicit
Here is the call graph for this function:

◆ SuffixTrieTerminatingSymbol() [3/5]

indexes::SuffixTrieTerminatingSymbol::SuffixTrieTerminatingSymbol ( DefaultSymbolType  terminatingSymbol,
SuffixTrieNodeTerminatingSymbol  tree 
)
explicit

◆ SuffixTrieTerminatingSymbol() [4/5]

indexes::SuffixTrieTerminatingSymbol::SuffixTrieTerminatingSymbol ( const SuffixTrieTerminatingSymbol other)

Copy constructor.

Parameters
othertree to copy
Here is the call graph for this function:

◆ SuffixTrieTerminatingSymbol() [5/5]

indexes::SuffixTrieTerminatingSymbol::SuffixTrieTerminatingSymbol ( SuffixTrieTerminatingSymbol &&  other)
noexcept

◆ ~SuffixTrieTerminatingSymbol()

indexes::SuffixTrieTerminatingSymbol::~SuffixTrieTerminatingSymbol ( )
noexcept

Member Function Documentation

◆ getAlphabet()

const ext::set< DefaultSymbolType > & indexes::SuffixTrieTerminatingSymbol::getAlphabet ( ) const
inline
Here is the caller graph for this function:

◆ getRoot() [1/2]

SuffixTrieNodeTerminatingSymbol & indexes::SuffixTrieTerminatingSymbol::getRoot ( )
Returns
Root node of the regular expression tree

◆ getRoot() [2/2]

const SuffixTrieNodeTerminatingSymbol & indexes::SuffixTrieTerminatingSymbol::getRoot ( ) const
Returns
Root node of the regular expression tree
Here is the caller graph for this function:

◆ getTerminatingSymbol()

const DefaultSymbolType & indexes::SuffixTrieTerminatingSymbol::getTerminatingSymbol ( ) const
inline
Here is the caller graph for this function:

◆ operator<=>()

auto indexes::SuffixTrieTerminatingSymbol::operator<=> ( const SuffixTrieTerminatingSymbol other) const
inline
Here is the call graph for this function:

◆ operator=() [1/2]

SuffixTrieTerminatingSymbol & indexes::SuffixTrieTerminatingSymbol::operator= ( const SuffixTrieTerminatingSymbol other)
Here is the call graph for this function:

◆ operator=() [2/2]

SuffixTrieTerminatingSymbol & indexes::SuffixTrieTerminatingSymbol::operator= ( SuffixTrieTerminatingSymbol &&  other)
noexcept
Here is the call graph for this function:

◆ operator==()

bool indexes::SuffixTrieTerminatingSymbol::operator== ( const SuffixTrieTerminatingSymbol other) const
inline
Here is the call graph for this function:

◆ setTree()

void indexes::SuffixTrieTerminatingSymbol::setTree ( SuffixTrieNodeTerminatingSymbol  tree)

Sets the root node of the regular expression tree

Parameters
treeroot node to set
Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

ext::ostream & operator<< ( ext::ostream out,
const SuffixTrieTerminatingSymbol instance 
)
friend

Field Documentation

◆ m_tree

SuffixTrieNodeTerminatingSymbol* indexes::SuffixTrieTerminatingSymbol::m_tree
protected

The documentation for this class was generated from the following files: