The File class provides functions to export HTML files.
More...
#include <sprk_html.h>
|
static void | Export (KeyPath const &in_key_path, char const *in_file_name, char const *in_template_name) |
| Performs an synchronous export of the specified HTML file with the provided template. More...
|
|
|
| File () |
| Private default constructor to prevent instantiation. More...
|
|
The File class provides functions to export HTML files.
◆ File()
HPS::HTML::File::File |
( |
| ) |
|
|
private |
Private default constructor to prevent instantiation.
◆ Export()
static void HPS::HTML::File::Export |
( |
KeyPath const & |
in_key_path, |
|
|
char const * |
in_file_name, |
|
|
char const * |
in_template_name |
|
) |
| |
|
static |
Performs an synchronous export of the specified HTML file with the provided template.
May throw an IOException if a problem occurs during export.
- Parameters
-
in_key_path | The KeyPath containing the data to export. |
in_file_name | The name of the file to write the HTML data to. This filename should be a fully-qualified path, otherwise the export may fail. |
in_template_name | The name of HTML template to use during export. |
The documentation for this class was generated from the following file: