75 const std::string& error_message
132 const std::string& treebank_file_path,
133 uint32_t main_file_line,
134 uint32_t treebank_line_number,
135 const std::string& error_message
Report on a treebank collection.
Definition report_correctness.hpp:111
uint32_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
uint32_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
uint32_t get_line_within_main_file() const noexcept
Returns the error message.
Definition report_correctness.hpp:155
~report_treebank_collection()=default
Default destructor.
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.
report_treebank_collection(const std::string &treebank_file_path, uint32_t main_file_line, uint32_t treebank_line_number, const std::string &error_message) noexcept
Constructor with data.
Definition report_correctness.hpp:131
report_treebank_collection(const report_treebank_collection &)=default
Default copy constructor.
uint32_t m_treebank_file_line_number
The line number within the treebank file.
Definition report_correctness.hpp:172
Report on a treebank file.
Definition report_correctness.hpp:55
std::string m_error_message
Error message.
Definition report_correctness.hpp:100
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:94
report_treebank_file()=default
Default constructor.
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(uint32_t line_number, const std::string &error_message)
Constructor.
Definition report_correctness.hpp:73
uint32_t get_line_number() const noexcept
Returns the line number within the treebank file where the error is found.
Definition report_correctness.hpp:91
~report_treebank_file()=default
Default destructor.
uint32_t m_treebank_file_line_number
The line number within the treebank file.
Definition report_correctness.hpp:98
Main namespace of the library.
Definition definitions.hpp:48