> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/modules/group__vfiprt/namespacevfihtml.md).

# vfihtml

[Data Structures](#nested-classes) | [Typedefs](#typedef-members) | [Functions](#func-members)

|                 |                                                                                                                      |
| --------------- | -------------------------------------------------------------------------------------------------------------------- |
| Data Structures |                                                                                                                      |
| class           | [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) |

|                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ---------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Typedefs                                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| typedef [vfiipc::JSObject](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfiipc_1_1_j_s_object.md) | [JSObject](#aae7be032793c509f7d46a8e251b0f0e5)                                                                                                                                                                                                                                                                                                                                                                                                                 |
| typedef bool(\*                                                                                                                    | [ScriptProcessor](#a3cbd3cd62b8b160ff8fd641acf6858e2)) (void \*data, const std::string \&script, std::map< std::string, std::string > &[value](/s-adk-5.1-programmers-guide/readme/files/dir_30aba3d9bf6279a25d84abe4015711f7/dir_f7a957c8f5c8e80b5a8d4b37f193d419/dir_e8da2933844aa72825eccee783cf08f3/_web_service_wrappers_8c.md#a6e248376c0290338633d8137822eb209), std::string \&out, std::string \&err, std::string \&exitcode)                          |
| typedef bool(\*                                                                                                                    | [ScriptProcessorExt](#ab0bf156adfcbf468dc8caedf9fc0c747)) (void \*data, const std::string \&script, std::map< std::string, std::string > &[value](/s-adk-5.1-programmers-guide/readme/files/dir_30aba3d9bf6279a25d84abe4015711f7/dir_f7a957c8f5c8e80b5a8d4b37f193d419/dir_e8da2933844aa72825eccee783cf08f3/_web_service_wrappers_8c.md#a6e248376c0290338633d8137822eb209), std::string \&out, std::string \&err, std::string \&exitcode, ExtContext \*context) |
| typedef std::map< std::string, std::string >                                                                                       | [stringmap](#a53240b3eda61c045f82728814874a1f8)                                                                                                                                                                                                                                                                                                                                                                                                                |

|                                                                                                                                                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                   |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Functions                                                                                                                                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                   |
| [DllSpec](/s-adk-5.1-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) void                                                                                                                 | [htmlSetScriptProcessor](#a67c7add0a3e05b7854d310b3678b9f41) (const char \*name, [ScriptProcessor](#a3cbd3cd62b8b160ff8fd641acf6858e2) proc, void \*data)                                                                                                                                                         |
| [DllSpec](/s-adk-5.1-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) void                                                                                                                 | [htmlSetScriptProcessor](#a3635a881d0a3f4ac7e347a6990bc9021) (const char \*name, [ScriptProcessorExt](#ab0bf156adfcbf468dc8caedf9fc0c747) proc, void \*data=0)                                                                                                                                                    |
| [DllSpec](/s-adk-5.1-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) | [operator+](#a3d78ca4ce27a959bf398e15ffb3ac35c) (const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&a, const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&b)  |
| [DllSpec](/s-adk-5.1-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) | [operator-](#abb5f451bfe33b4d0957051af55e3ae99) (const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&a, const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&b)  |
| bool                                                                                                                                                                                                                                                                                                                                   | [operator==](#a8925dae3d083f52e28204c76dc63cfb5) (const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&a, const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&b) |
| bool                                                                                                                                                                                                                                                                                                                                   | [operator!=](#a6869fb59c93e8b8039fa26a47db06300) (const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&a, const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&b) |
| bool                                                                                                                                                                                                                                                                                                                                   | [operator<](#a62aae78823ad670db1f2a3871f9c6138) (const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&a, const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&b)  |
| bool                                                                                                                                                                                                                                                                                                                                   | [operator<=](#a157e4057ccddad828bf42ae796a7c877) (const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&a, const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&b) |
| bool                                                                                                                                                                                                                                                                                                                                   | [operator>](#a9b79b43d164b3effb8259fab63cde591) (const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&a, const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&b)  |
| bool                                                                                                                                                                                                                                                                                                                                   | [operator>=](#a1bfa3d2893680e868a6e38bc12b17b05) (const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&a, const [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) \&b) |
| [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md)                                                                                                                                                                                                                   | [operator\*](#a6f93946b848787d14daadba81d73b56c) (int t, [TimeStamp::Unit\_MS](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md#classvfihtml_1_1_time_stamp_1_1_unit___m_s))                                                                               |
| [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md)                                                                                                                                                                                                                   | [operator\*](#a91630290de39196e23b6360b1a67c272) (int t, [TimeStamp::Unit\_S](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md#classvfihtml_1_1_time_stamp_1_1_unit___s))                                                                                  |

### TypedefDocumentation <a href="#typedef-documentation" id="typedef-documentation"></a>

### JSObject <a href="#aae7be032793c509f7d46a8e251b0f0e5" id="aae7be032793c509f7d46a8e251b0f0e5"></a>

typedef [vfiipc::JSObject](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfiipc_1_1_j_s_object.md) \[JSObject]\(#aae7be032793c509f7d46a8e251b0f0e5)

### ScriptProcessor <a href="#a3cbd3cd62b8b160ff8fd641acf6858e2" id="a3cbd3cd62b8b160ff8fd641acf6858e2"></a>

typedef bool(\\\* ScriptProcessor) (void \\\*data, const std::string \&script, std::map\\< std::string, std::string \\> &[value](/s-adk-5.1-programmers-guide/readme/files/dir_30aba3d9bf6279a25d84abe4015711f7/dir_f7a957c8f5c8e80b5a8d4b37f193d419/dir_e8da2933844aa72825eccee783cf08f3/_web_service_wrappers_8c.md#a6e248376c0290338633d8137822eb209), std::string \&out, std::string \&err, std::string \&exitcode)

script processor callback

**Parameters**

\[in] **data** transparent callback data pointer \[in] **script** script to be processed, leading and trailing whitespace has been removed. \[in] **value** name value pairs that are used as initial value of input fields, checkboxes, etc. and that are used during script processing. \[out] **out** resulting HTML code that was generated by the script. On invocation it is empty. \[out] **err** error messages that were generated during script execution (comparable to output to stderr). On invocation it is empty. \[out] **exitcode** content of parameter that was passed to exit()

#### Returns

true if script was successful and if the script is to be replaced by the content of *out*, false if error or exit with exit code

### ScriptProcessorExt <a href="#ab0bf156adfcbf468dc8caedf9fc0c747" id="ab0bf156adfcbf468dc8caedf9fc0c747"></a>

typedef bool(\\\* ScriptProcessorExt) (void \\\*data, const std::string \&script, std::map\\< std::string, std::string \\> &[value](/s-adk-5.1-programmers-guide/readme/files/dir_30aba3d9bf6279a25d84abe4015711f7/dir_f7a957c8f5c8e80b5a8d4b37f193d419/dir_e8da2933844aa72825eccee783cf08f3/_web_service_wrappers_8c.md#a6e248376c0290338633d8137822eb209), std::string \&out, std::string \&err, std::string \&exitcode, ExtContext \\\*context)

script processor callback for ADK-GUIPRT internal processors with extended capabilities

**Parameters**

\[in] **data** transparent callback data pointer \[in] **script** script to be processed, leading and trailing whitespace has been removed. \[in] **value** name value pairs that are used as initial value of input fields, checkboxes, etc. and that are used during script processing. \[out] **out** resulting HTML code that was generated by the script. On invocation it is empty. \[out] **err** error messages that were generated during script execution (comparable to output to stderr). On invocation it is empty. \[out] **exitcode** content of parameter that was passed to exit() \[in,out] **context** internal extended context

#### Returns

true if script was successful and if the script is to be replaced by the content of *out*, false if error or exit with exit code

### stringmap <a href="#a53240b3eda61c045f82728814874a1f8" id="a53240b3eda61c045f82728814874a1f8"></a>

typedef std::map\ \[stringmap]\(#a53240b3eda61c045f82728814874a1f8)

map\<string,string>

### FunctionDocumentation <a href="#function-documentation" id="function-documentation"></a>

### htmlSetScriptProcessor()\[1/2] <a href="#a67c7add0a3e05b7854d310b3678b9f41" id="a67c7add0a3e05b7854d310b3678b9f41"></a>

[DllSpec](/s-adk-5.1-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) void vfihtml::htmlSetScriptProcessor

set script processor

**Parameters**

\[in] **name** name of the scripting processor, i.e. the name immediately following '\<?' \[in] **proc** processing function pointer, use NULL to delete a script processor. \[in] **data** callback data passed on as first parameter to the processing function

### htmlSetScriptProcessor()\[2/2] <a href="#a3635a881d0a3f4ac7e347a6990bc9021" id="a3635a881d0a3f4ac7e347a6990bc9021"></a>

[DllSpec](/s-adk-5.1-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) void vfihtml::htmlSetScriptProcessor

set script processor

**Parameters**

\[in] **name** name of the scripting processor, i.e. the name immediately following '\<?' \[in] **proc** processing function pointer, use NULL to delete a script processor. \[in] **data** unused, provided just for compatibility

### operator!=() <a href="#a6869fb59c93e8b8039fa26a47db06300" id="a6869fb59c93e8b8039fa26a47db06300"></a>

bool vfihtml::operator!=

inline

compare two time values

**Parameters**

\[in] **a** first time value \[in] **b** second time value

#### Returns

result of a!=b

### operator\*()\[1/2] <a href="#a6f93946b848787d14daadba81d73b56c" id="a6f93946b848787d14daadba81d73b56c"></a>

[TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) vfihtml::operator\\\*

inline

convert int to time value by multiplying with MS unit

**Parameters**

\[in] **t** time in milliseconds

#### Returns

time value

### operator\*()\[2/2] <a href="#a91630290de39196e23b6360b1a67c272" id="a91630290de39196e23b6360b1a67c272"></a>

[TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) vfihtml::operator\\\*

inline

convert int to time value by multiplying with S unit

**Parameters**

\[in] **t** time in seconds

#### Returns

time value

### operator+() <a href="#a3d78ca4ce27a959bf398e15ffb3ac35c" id="a3d78ca4ce27a959bf398e15ffb3ac35c"></a>

[DllSpec](/s-adk-5.1-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) vfihtml::operator+

add two time values

**Parameters**

\[in] **a** first time value \[in] **b** second time value

#### Returns

result of a+b

### operator-() <a href="#abb5f451bfe33b4d0957051af55e3ae99" id="abb5f451bfe33b4d0957051af55e3ae99"></a>

[DllSpec](/s-adk-5.1-programmers-guide/readme/files/dir_15b7eb99384c20f55db7776b7b1ecdad/dir_7d99a5752ef00d9a9478541a793df8d8/dir_b95d7ee73b2963b5e37f0a7269e7a4c6/sound_8h.md#ad7c2e1cb200073ed64c64285a5f37231) [TimeStamp](https://github.com/verifoneone/verifone-git-book-adk/tree/ADK5.1_staging/classvfihtml_1_1_time_stamp.md) vfihtml::operator-

substract two time values

**Parameters**

\[in] **a** first time value \[in] **b** second time value

#### Returns

result of a-b

### operator<() <a href="#a62aae78823ad670db1f2a3871f9c6138" id="a62aae78823ad670db1f2a3871f9c6138"></a>

bool vfihtml::operator\\<

inline

compare two time values

**Parameters**

\[in] **a** first time value \[in] **b** second time value

#### Returns

result of a\<b

### operator<=() <a href="#a157e4057ccddad828bf42ae796a7c877" id="a157e4057ccddad828bf42ae796a7c877"></a>

bool vfihtml::operator\\<=

inline

compare two time values

**Parameters**

\[in] **a** first time value \[in] **b** second time value

#### Returns

result of a<=b

### operator==() <a href="#a8925dae3d083f52e28204c76dc63cfb5" id="a8925dae3d083f52e28204c76dc63cfb5"></a>

bool vfihtml::operator==

inline

compare two time values

**Parameters**

\[in] **a** first time value \[in] **b** second time value

#### Returns

result of a==b

### operator>() <a href="#a9b79b43d164b3effb8259fab63cde591" id="a9b79b43d164b3effb8259fab63cde591"></a>

bool vfihtml::operator\\>

inline

compare two time values

**Parameters**

\[in] **a** first time value \[in] **b** second time value

#### Returns

result of a>b

### operator>=() <a href="#a1bfa3d2893680e868a6e38bc12b17b05" id="a1bfa3d2893680e868a6e38bc12b17b05"></a>

bool vfihtml::operator\\>=

inline

compare two time values

**Parameters**

\[in] **a** first time value \[in] **b** second time value

#### Returns

result of a>=b


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/modules/group__vfiprt/namespacevfihtml.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
