structname_fieldname_put_range(vector)

This function writes num elements from src to the vector fieldname in the object referenced by handle. Put_range methods are only generated for fixed size objects (which excludes strings). Handle is returned by classname_structname_write_handle().

Prototype

    MCO_RET structname_fieldname_put_range( /*IN*/ structname *handle,
                               /*IN*/ uint2 start_index,
                               /*IN*/ uint2 num,
                               /*IN*/ const <type> *src );

Arguments

handle
A pointer to a structname handle.
start_index
A uint2 that specifies the starting index of the vector at which to start putting values from src.
num
A uint2 that specifies the number of vector elements to be written from src to the object.
src
A pointer of type <type> to the first of num elements to be written to the object.

Description

This function writes num elements from src to the vector fieldname in the object referenced by handle. Put_range methods are only generated for fixed size objects (which excludes strings). Handle is returned by classname_structname_write_handle().

Return Codes

See classname_fieldname_put_range().

Related Topics Link IconRelated Topics