|
LAL: Linear Arrangement Library 23.01.00
A library focused on algorithms on linear arrangements of graphs.
|
Report on a treebank file. More...
#include <report_correctness.hpp>
Public Member Functions | |
| report_treebank_file ()=default | |
| Default constructor. | |
| report_treebank_file (const report_treebank_file &)=default | |
| Default copy constructor. | |
| report_treebank_file (report_treebank_file &&)=default | |
| Default move constructor. | |
| ~report_treebank_file ()=default | |
| Default destructor. | |
| report_treebank_file (uint64_t line_number, const std::string &error_message) | |
| Constructor. More... | |
| report_treebank_file & | operator= (const report_treebank_file &)=default |
| Default copy assignment. | |
| report_treebank_file & | operator= (report_treebank_file &&)=default |
| Default move assignment. | |
| uint64_t | get_line_number () const noexcept |
| Returns the line number within the treebank file where the error is found. | |
| const std::string & | get_error_message () const noexcept |
| Returns the error message. | |
| std::string && | get_error_message () noexcept |
| Returns the error message. | |
Private Attributes | |
| uint64_t | m_treebank_file_line_number |
| The line number within the treebank file. | |
| std::string | m_error_message |
| Error message. | |
Report on a treebank file.
Stores a simple error message and the line within the file where it is found.
|
inline |
Constructor.
| line_number | Line number within the treebank file. |
| error_message | Error message. |