1#ifndef EXPECTED_WARNINGS_INCLUDED
2#define EXPECTED_WARNINGS_INCLUDED
58 void add_warning(std::uint32_t warning_code,
const char *warning_name,
Class representing any one of the following list.
Definition: expected_warnings.h:34
std::vector< std::unique_ptr< Warning > > m_warnings
Definition: expected_warnings.h:87
void update_list()
Update the list of disabled or enabled warnings.
Definition: expected_warnings.cc:51
void add_warning(std::uint32_t warning_code, const char *warning_name, bool once_property)
Add a new warning to the existing list of warnings only if it doesn't exist.
Definition: expected_warnings.cc:25
~Expected_warnings()=default
iterator end()
Definition: expected_warnings.h:42
void clear_list()
Delete all warnings from the vector.
Definition: expected_warnings.h:50
Expected_warnings()=default
void remove_warning(std::uint32_t warning_code, bool once_property)
Remove a warning from the existing list of warnings if it exists.
Definition: expected_warnings.cc:39
std::vector< std::unique_ptr< Warning > >::iterator iterator
Definition: expected_warnings.h:36
iterator begin()
Definition: expected_warnings.h:41
std::string warnings_list()
Return a list of symbolic names of disabled or enabled warnings.
Definition: expected_warnings.cc:62
std::size_t count()
Return length of the list containing warnings.
Definition: expected_warnings.h:47
static bool once_property
Definition: mysqltest.cc:289
This file declares the Warning class.