/*------------------------------------------------------------------------- * * htmlescape.hpp * * Лицензия: BSD. * Copyright (c) 2004 Andrei V. Shetuhin * * Реализация функции NUM_FORMAT. * * *------------------------------------------------------------------------- */ #ifndef _HTMLESCAPE_HPP__ #define _HTMLESCAPE_HPP__ 1 #ifdef WIN32 #pragma warning (disable : 4786) #endif // C++ Includes #include // Local Includes #include namespace template_parser_std_fn_ns { class htmlescape: public template_parser_ns::udf_fn { public: // Конструктор htmlescape(); // Количество принимаемых параметров template_parser_ns::udf_fn::e_accept_params accept_params(); // Передача параметров void param(const std::string &sParam); // Вычисление void handler(); // Результат вычислений std::string &result(); // Деструктор ~htmlescape(); private: // Результат std::string sResult; // Параметр std::string sParam; }; } // namespace template_parser_std_fn_ns #endif // _HTMLESCAPE_HPP__ // End.