LsmDomNamedNodeMap

## LsmDomNamedNodeMap LsmDomNamedNodeMap — Base class for DOM named node maps |

## Synopsis

    LsmDomNode *        lsm_dom_named_node_map_get_item     (LsmDomNamedNodeMap *map,
                                                             unsigned int index);
    unsigned int        lsm_dom_named_node_map_get_length   (LsmDomNamedNodeMap *map);
    LsmDomNode *        lsm_dom_named_node_map_get_named_item
                                                            (LsmDomNamedNodeMap *map,
                                                             const char *name);
    LsmDomNode *        lsm_dom_named_node_map_set_named_item
                                                            (LsmDomNamedNodeMap *map,
                                                             LsmDomNode *node);
    LsmDomNode *        lsm_dom_named_node_map_remove_named_item
                                                            (LsmDomNamedNodeMap *map,
                                                             const char *name);

## Description

## Details

### lsm_dom_named_node_map_get_item ()

    LsmDomNode *        lsm_dom_named_node_map_get_item     (LsmDomNamedNodeMap *map,
                                                             unsigned int index);

`map` : | a LsmDomNamedNodeMap
`index` : | item index
Returns : | The node corresponding to `index`, NULL on error. [transfer none]

### lsm_dom_named_node_map_get_length ()

    unsigned int        lsm_dom_named_node_map_get_length   (LsmDomNamedNodeMap *map);

### lsm_dom_named_node_map_get_named_item ()

    LsmDomNode *        lsm_dom_named_node_map_get_named_item
                                                            (LsmDomNamedNodeMap *map,
                                                             const char *name);

`map` : | a LsmDomNamedNodeMap
`name` : | name of the requested item
Returns : | The corresponding node, NULL if not found. [transfer none]

### lsm_dom_named_node_map_set_named_item ()

    LsmDomNode *        lsm_dom_named_node_map_set_named_item
                                                            (LsmDomNamedNodeMap *map,
                                                             LsmDomNode *node);

`map` : | a LsmDomNamedNodeMap
`node` : | a LsmDomNode
Returns : | same as `node`, NULL on error. [transfer none]

### lsm_dom_named_node_map_remove_named_item ()

    LsmDomNode *        lsm_dom_named_node_map_remove_named_item
                                                            (LsmDomNamedNodeMap *map,
                                                             const char *name);

`map` : | a LsmDomNamedNodeMap
`name` : | name of the item to remove
Returns : | removed node, NULL on error. [transfer full]