76 const std::string& error_message
134 const std::string& treebank_file_path,
135 uint64_t main_file_line,
136 uint64_t treebank_line_number,
137 const std::string& error_message
Report on a treebank collection.
Definition: report_correctness.hpp:115
uint64_t m_main_file_line
Line within the main file where the treebank file is found.
Definition: report_correctness.hpp:170
const std::string & get_error_message() const noexcept
Returns the error message.
Definition: report_correctness.hpp:163
std::string m_error_message
Error message.
Definition: report_correctness.hpp:174
const std::string & get_treebank_file_name() const noexcept
Returns the line number within the treebank file where the error is found.
Definition: report_correctness.hpp:151
uint64_t get_line_within_main_file() const noexcept
Returns the error message.
Definition: report_correctness.hpp:155
uint64_t m_treebank_file_line_number
The line number within the treebank file.
Definition: report_correctness.hpp:172
~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.
Definition: report_correctness.hpp:133
report_treebank_collection & operator=(const report_treebank_collection &)=default
Default copy assignment.
report_treebank_collection()=default
Default constructor.
std::string m_treebank_file_path
Filename to the treebank file.
Definition: report_correctness.hpp:168
report_treebank_collection(report_treebank_collection &&)=default
Default move constructor.
uint64_t get_treebank_file_line() const noexcept
Returns the line number within the treebank file where the error is found.
Definition: report_correctness.hpp:159
report_treebank_collection(const report_treebank_collection &)=default
Default copy constructor.
Report on a treebank file.
Definition: report_correctness.hpp:56
uint64_t m_treebank_file_line_number
The line number within the treebank file.
Definition: report_correctness.hpp:102
std::string m_error_message
Error message.
Definition: report_correctness.hpp:104
uint64_t get_line_number() const noexcept
Returns the line number within the treebank file where the error is found.
Definition: report_correctness.hpp:90
report_treebank_file(report_treebank_file &&)=default
Default move constructor.
const std::string & get_error_message() const noexcept
Returns the error message.
Definition: report_correctness.hpp:93
report_treebank_file()=default
Default constructor.
std::string && get_error_message() noexcept
Returns the error message.
Definition: report_correctness.hpp:97
report_treebank_file & operator=(const report_treebank_file &)=default
Default copy assignment.
report_treebank_file(const report_treebank_file &)=default
Default copy constructor.
report_treebank_file(uint64_t line_number, const std::string &error_message)
Constructor.
Definition: report_correctness.hpp:74
~report_treebank_file()=default
Default destructor.
Main namespace of the library.
Definition: basic_types.hpp:50