mco_fh_config_node_get_vector_element

Returns the array node’s element at the specified index.

Prototype

    mco_fh_config_node_h mco_fh_config_node_get_vector_element(/*IN*/ mco_fh_config_node_h n,
                                                              /*IN*/ mco_offs_t index)

Arguments

n
The configuration node handle.
index
The index of the desired element.

Description

This function returns the array node’s element at the specified index.

Return Codes

mco_fh_config_node_h
The handle of the array node’s element.

Example

    {
        for (mco_size_t i = 0; i < mco_fh_config_node_get_vector_size(nxcfg); ++i)
        {
            ...
            mco_fh_config_node_get_vector_element(nxcfg, i);
            ...
        }
    }