|
TuringSim
C++ framework to simulate abstract computing models
|
Base class to store any symbol pattern on one letter. More...
#include <symbol/symbolPattern.h>
Public Types | |
| typedef SymbolType_ | SymbolType |
| The type of symbols. | |
| typedef Context_ | Context |
| The type of context. | |
Public Member Functions | |
| SymbolPattern ()=default | |
| The default constructor. | |
| SymbolPattern (const SymbolPattern &)=default | |
| The default copy constructor. | |
| SymbolPattern (SymbolPattern &&)=default | |
| The default move constructor. | |
| SymbolPattern & | operator= (const SymbolPattern &)=default |
| The default copy assignment operator. More... | |
| SymbolPattern & | operator= (SymbolPattern &&)=default |
| The default move assignment operator. More... | |
| virtual | ~SymbolPattern ()=default |
| The default virtual destructor. | |
| virtual bool | match (const SymbolType &symbol, const Context &context) const noexcept=0 |
| Test whether a symbol match the pattern, given a context. More... | |
Base class to store any symbol pattern on one letter.
| SymbolType_ | The alphabet of the pattern. |
| Context_ | The type of the context in which a dynamic symbol should be evaluated. |
Definition at line 13 of file symbolPattern.h.
|
pure virtualnoexcept |
Test whether a symbol match the pattern, given a context.
| [in] | symbol | the symbol to test. |
| [in] | context | the context to evaluate the pattern. |
|
default |
The default copy assignment operator.
*this.
|
default |
The default move assignment operator.
*this.