Data Structures | |
| struct | grid |
| behavior:grid, browser of tabular data (records). More... | |
| struct | scroller |
| behavior:scroller, another way of scrolling More... | |
| struct | virtual_grid |
| behavior:virtual-grid, browser of tabular data (records). More... | |
| struct | sample_data_source |
| sample of data source behavior see behavior:virtual-grid. More... | |
| struct | notification_handler |
| tandard implementation of HTMLAYOUT_NOTIFY handler. More... | |
Namespaces | |
| namespace | dom |
| dom namespace. | |
Typedefs | |
| typedef std::map< std::wstring, value_t > | named_values |
| Collection (map) of Name/Value pairs. | |
Functions | |
| CTL_TYPE | get_ctl_type (const dom::element &el) |
| Get type of input control this DOM element behaves as. | |
| value_t | get_value (dom::element &el) |
| Get value of the DOM element. | |
| void | set_value (dom::element &el, const value_t &v) |
| Set value of the DOM element. | |
| bool | get_values (const dom::element &el, named_values &all) |
| Get values of all "controls" contained inside the DOM element. | |
| bool | set_values (dom::element &el, named_values &all) |
| Set values of all "controls" contained inside the DOM element by items contained in the all colection. | |
| typedef std::map<std::wstring, value_t> htmlayout::named_values |
Collection (map) of Name/Value pairs.
| CTL_TYPE htmlayout::get_ctl_type | ( | const dom::element & | el | ) | [inline] |
Get type of input control this DOM element behaves as.
| [in] | el | const dom::element&, The element. |
| value_t htmlayout::get_value | ( | dom::element & | el | ) | [inline] |
Get value of the DOM element.
Returns value for elements recognized by get_ctl_type() function.
| [in] | el | const dom::element&, The element. |
| bool htmlayout::get_values | ( | const dom::element & | el, | |
| named_values & | all | |||
| ) | [inline] |
Get values of all "controls" contained inside the DOM element.
Function will gather values of elements having name attribute defined and recognized by get_ctl_type() function.
| [in] | el | dom::element&, The element. |
| [out] | all | named_values&, Collection. |
true if there are any value was harvested. | void htmlayout::set_value | ( | dom::element & | el, | |
| const value_t & | v | |||
| ) | [inline] |
Set value of the DOM element.
Sets value for elements recognized by get_ctl_type() function.
| [in] | el | const dom::element&, The element. |
| [in] | v | const value_t&, The value. |
| bool htmlayout::set_values | ( | dom::element & | el, | |
| named_values & | all | |||
| ) | [inline] |
Set values of all "controls" contained inside the DOM element by items contained in the all colection.
Function will set values of elements having name attribute defined and recognized by get_ctl_type() function.
| [in] | el | dom::element&, The element. |
| [out] | all | named_values&, Collection. |
true if there are any value was harvested.
1.5.1-p1