1#ifndef EXPECTED_WARNINGS_INCLUDED
2#define EXPECTED_WARNINGS_INCLUDED
59 void add_warning(std::uint32_t warning_code,
const char *warning_name,
Class representing any one of the following list.
Definition: expected_warnings.h:35
std::vector< std::unique_ptr< Warning > > m_warnings
Definition: expected_warnings.h:88
void update_list()
Update the list of disabled or enabled warnings.
Definition: expected_warnings.cc:52
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:26
~Expected_warnings()=default
iterator end()
Definition: expected_warnings.h:43
void clear_list()
Delete all warnings from the vector.
Definition: expected_warnings.h:51
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:40
std::vector< std::unique_ptr< Warning > >::iterator iterator
Definition: expected_warnings.h:37
iterator begin()
Definition: expected_warnings.h:42
std::string warnings_list()
Return a list of symbolic names of disabled or enabled warnings.
Definition: expected_warnings.cc:63
std::size_t count()
Return length of the list containing warnings.
Definition: expected_warnings.h:48
static bool once_property
Definition: mysqltest.cc:296
This file declares the Warning class.