reglibcpp  2.0.0
A C++ implementation of models for regular languages
Public Member Functions | List of all members
reg::symbol_not_found Struct Reference

Signals that an input symbol was used that the FA doesn't recognize. More...

#include <utils.h>

Inheritance diagram for reg::symbol_not_found:
std::invalid_argument

Public Member Functions

 symbol_not_found (char const *what_arg="Cannot find the given symbol.")
 Constructs an exception object with the given message. More...
 
 symbol_not_found (std::string &&what_arg)
 
 symbol_not_found (char32_t symbol)
 Constructs an exception object incorporating the given symbol in its message. More...
 
 symbol_not_found (size_t symbol_index)
 Constructs an exception object incorporating the given symbol index in its message. More...
 

Detailed Description

Signals that an input symbol was used that the FA doesn't recognize.

Definition at line 74 of file utils.h.

Constructor & Destructor Documentation

◆ symbol_not_found() [1/4]

reg::symbol_not_found::symbol_not_found ( char const *  what_arg = "Cannot find the given symbol.")
inline

Constructs an exception object with the given message.

Definition at line 76 of file utils.h.

◆ symbol_not_found() [2/4]

reg::symbol_not_found::symbol_not_found ( std::string &&  what_arg)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 80 of file utils.h.

◆ symbol_not_found() [3/4]

reg::symbol_not_found::symbol_not_found ( char32_t  symbol)
inline

Constructs an exception object incorporating the given symbol in its message.

Definition at line 84 of file utils.h.

◆ symbol_not_found() [4/4]

reg::symbol_not_found::symbol_not_found ( size_t  symbol_index)
inline

Constructs an exception object incorporating the given symbol index in its message.

Definition at line 89 of file utils.h.


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