libzeep

PrevUpHomeNext

Class template html_template_processor

zeep::http::html_template_processor — actual implementation of the abstract basic_template_processor

Synopsis

// In header: <zeep/http/template-processor.hpp>

template<typename Loader> 
class html_template_processor : public zeep::http::basic_template_processor {
public:
  // construct/copy/destruct
  html_template_processor(const std::string & = "", bool = true);
  ~html_template_processor();

  // public member functions
  virtual std::filesystem::file_time_type 
  file_time(const std::string &, std::error_code &) noexcept;
  virtual std::istream * 
  load_file(const std::string &, std::error_code &) noexcept;
};

Description

html_template_processor public construct/copy/destruct

  1. html_template_processor(const std::string & docroot = "", 
                            bool addDefaultTagProcessors = true);
  2. ~html_template_processor();

html_template_processor public member functions

  1. virtual std::filesystem::file_time_type 
    file_time(const std::string & file, std::error_code & ec) noexcept;
    return last_write_time of file
  2. virtual std::istream * 
    load_file(const std::string & file, std::error_code & ec) noexcept;
    return error in ec if file was not found

PrevUpHomeNext