MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
automaton::AutomatonBase< NodeType > Class Template Reference

#include <automaton/automaton.h>

Inheritance diagram for automaton::AutomatonBase< NodeType >:
[legend]

Public Member Functions

 AutomatonBase ()=default
 
 AutomatonBase (const AutomatonBase &)=delete
 
AutomatonBaseoperator= (const AutomatonBase &)=delete
 
NodeType * add_state ()
 
void set_start (const NodeType *start)
 
const NodeType * get_start () const
 
std::set< const NodeType * > get_reachable_states () const
 

Friends

std::ostream & operator<< (std::ostream &os, const AutomatonBase &automaton)
 

Detailed Description

template<class NodeType>
class automaton::AutomatonBase< NodeType >

Definition at line 17 of file automaton.h.

Constructor & Destructor Documentation

◆ AutomatonBase() [1/2]

template<class NodeType >
automaton::AutomatonBase< NodeType >::AutomatonBase ( )
default

◆ AutomatonBase() [2/2]

template<class NodeType >
automaton::AutomatonBase< NodeType >::AutomatonBase ( const AutomatonBase< NodeType > & )
delete

Member Function Documentation

◆ add_state()

template<class NodeType >
NodeType * automaton::AutomatonBase< NodeType >::add_state ( )
inline

Definition at line 23 of file automaton.h.

◆ get_reachable_states()

template<class NodeType >
std::set< const NodeType * > automaton::AutomatonBase< NodeType >::get_reachable_states ( ) const
inline

◆ get_start()

template<class NodeType >
const NodeType * automaton::AutomatonBase< NodeType >::get_start ( ) const
inline

◆ operator=()

template<class NodeType >
AutomatonBase & automaton::AutomatonBase< NodeType >::operator= ( const AutomatonBase< NodeType > & )
delete

◆ set_start()

template<class NodeType >
void automaton::AutomatonBase< NodeType >::set_start ( const NodeType * start)
inline

Definition at line 28 of file automaton.h.

Friends And Related Symbol Documentation

◆ operator<<

template<class NodeType >
std::ostream & operator<< ( std::ostream & os,
const AutomatonBase< NodeType > & automaton )
friend

Definition at line 47 of file automaton.h.


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