LAL: Linear Arrangement Library 23.01.00
A library focused on algorithms on linear arrangements of graphs.
|
Report on a treebank collection. More...
#include <report_correctness.hpp>
Public Member Functions | |
report_treebank_collection ()=default | |
Default constructor. | |
report_treebank_collection (const report_treebank_collection &)=default | |
Default copy constructor. | |
report_treebank_collection (report_treebank_collection &&)=default | |
Default move constructor. | |
~report_treebank_collection ()=default | |
Default destructor. | |
report_treebank_collection (const std::string &treebank_file_path, uint64_t main_file_line, uint64_t treebank_line_number, const std::string &error_message) noexcept | |
Constructor with data. More... | |
report_treebank_collection & | operator= (const report_treebank_collection &)=default |
Default copy assignment. | |
report_treebank_collection & | operator= (report_treebank_collection &&)=default |
Default move assignment. | |
const std::string & | get_treebank_file_name () const noexcept |
Returns the line number within the treebank file where the error is found. | |
uint64_t | get_line_within_main_file () const noexcept |
Returns the error message. | |
uint64_t | get_treebank_file_line () 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. | |
Report on a treebank collection.
Stores a simple error message and the line within the file where it is found (see lal::io::report_treebank_file), and the name of the treebank where the error is found and the line within the main file where the treebank was read at.
|
inlinenoexcept |
Constructor with data.
treebank_file_path | Name of the treebank where the error is found. |
main_file_line | Line within the main file. |
treebank_line_number | Line within the treebank file. |
error_message | Error message. |