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