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

Signals that a state was mentioned that isn't part of the FA. More...

#include <utils.h>

Inheritance diagram for reg::state_not_found:
std::invalid_argument

Public Member Functions

 state_not_found (char const *what_arg="Cannot find the given state.")
 Constructs an exception object with the given message. More...
 
 state_not_found (std::string &&what_arg)
 
 state_not_found (std::string const &state)
 Constructs an exception object incorporating the given state name in its message. More...
 
 state_not_found (size_t state_index)
 Constructs an exception object incorporating the given state index in its message. More...
 

Detailed Description

Signals that a state was mentioned that isn't part of the FA.

Definition at line 55 of file utils.h.

Constructor & Destructor Documentation

◆ state_not_found() [1/4]

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

Constructs an exception object with the given message.

Definition at line 57 of file utils.h.

◆ state_not_found() [2/4]

reg::state_not_found::state_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 60 of file utils.h.

◆ state_not_found() [3/4]

reg::state_not_found::state_not_found ( std::string const &  state)
inline

Constructs an exception object incorporating the given state name in its message.

Definition at line 64 of file utils.h.

◆ state_not_found() [4/4]

reg::state_not_found::state_not_found ( size_t  state_index)
inline

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

Definition at line 68 of file utils.h.


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