|
libdom
|
Go to the source code of this file.
Typedefs | |
| typedef struct dom_html_collection | dom_html_collection |
Functions | |
| dom_exception | dom_html_collection_get_length (dom_html_collection *col, uint32_t *len) |
| dom_exception | dom_html_collection_item (dom_html_collection *col, uint32_t index, struct dom_node **node) |
| dom_exception | dom_html_collection_named_item (dom_html_collection *col, dom_string *name, struct dom_node **node) |
| void | dom_html_collection_ref (dom_html_collection *col) |
| void | dom_html_collection_unref (dom_html_collection *col) |
| typedef struct dom_html_collection dom_html_collection |
| dom_exception dom_html_collection_get_length | ( | dom_html_collection * | col, |
| uint32_t * | len | ||
| ) |
Get the length of this dom_html_collection
| col | The dom_html_collection object |
| len | The returned length of this collection |
| dom_exception dom_html_collection_item | ( | dom_html_collection * | col, |
| uint32_t | index, | ||
| struct dom_node ** | node | ||
| ) |
Get the node with certain index
| col | The dom_html_collection object |
| index | The index number based on zero |
| node | The returned node object |
| dom_exception dom_html_collection_named_item | ( | dom_html_collection * | col, |
| dom_string * | name, | ||
| struct dom_node ** | node | ||
| ) |
Get the node in the collection according name
| col | The collection |
| name | The name of target node |
| node | The returned node object |
| void dom_html_collection_ref | ( | dom_html_collection * | col | ) |
Claim a reference on this collection
| col | The collection object |
| void dom_html_collection_unref | ( | dom_html_collection * | col | ) |
Relese a reference on this collection
| col | The collection object |