1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#pragma once #include <list> #include "errors/types/imails_error.hpp" namespace smtp::checker { class RegistratorMails { public: RegistratorMails() = default; ~RegistratorMails() = default; void Add( errors::types::IErrorMailsPtr const &error ); bool Check( std::string const& line ) const; private: std::list<errors::types::IErrorMailsPtr> mErrors; }; }