/* * FlushString.hh * * Created on: 25 ÿíâ. 2021 ã. * Author: titov */ #ifndef UMLIBRARY_SYSTEMIC_FLUSHSTRING_HH_ #define UMLIBRARY_SYSTEMIC_FLUSHSTRING_HH_ #include "CustomParameters.hpp" #include "SystemException.hh" namespace systemic { class FlushString { systemic::CustomParameters & cp; const std::pair string; const systemic::CustomParameters::ProviderId provider_id; const systemic::CustomParameters::Id parameter_id; public: struct FlushException : public SystemException { std::size_t id() const noexcept; std::pair binary() const noexcept; const char * what() const noexcept; const systemic::CustomParameters::Id parameter_id; FlushException( systemic::CustomParameters::Id parameter_id ); }; FlushString( systemic::CustomParameters & cp, std::pair string, systemic::CustomParameters::ProviderId provider_id, systemic::CustomParameters::Id parameter_id ); void flush(); }; } #endif /* UMLIBRARY_SYSTEMIC_FLUSHSTRING_HH_ */