ГОСТ Р ИСОГГС 10303-26—2015
Udouble
((double *)сВ->р)?1]
- 400.0;
- 401.1;
<(double *>сВ->р>;2] - 401.2;
tB*+;
tB->len - 6;
tB->p - (double *) malloc (tB->len • sizeof (double));
((double
*>
tB->p)[0] - 500.0;
((double
*)
tB->p)[11 - 501.1;
<(double
*>
tB->p)(2; - 502.2;
((double
*>
tB->p)[31 - 503.3;
((double
*>
tB->p)[4) - 504.4;
<(double
*>
tB->p)[5; - 505.5;
/ *
Done with. В */
return(rstat);
)
/ / .....................................................................................................................................................
// Create nested aggregate of references to Point instances
/ /
// The number of elements on each level are:
// 2-3-6
// -3
// -4
//2-3
//
-6
/ / .....................................................................................................................................................
herr_t create_nested_point_aggr<hid_t group_id, hid_t
vlen_of_vlen_ref_tid>
?
long rstat;
hid_tspace;
hid_tdset;
ir.st_ref_t inst_ref;
inst_ref_t *s_p_ref;
inst_ref_t *t_p_ref;
hvl t wdata[2];
/ *
Array of vlen structures to write
* /
hvl“t *tA, *tB;
hsize_t dimsfl] - 12’;
rstat - -1;
/*
* Initialize variable-length data.
V
/■* Initializing vector C
* /
wdata[0].len - 3;
*) malloc
( 3
*
sizeof
(hvl_t>);
wdata’0].p - (hvl_t
wdataII].len - 2;
wdata[l].p - (hvl_t
•) malloc
( 1
*
sizeof
(hvl_t));
s_p_ref - &inst_ref;
/ *
Initialize vector A ■/
tA - wdata[0].p;
tA->len - 5;
tA->p - (hdset_reg_ref_t *) malloc (tA->len
*
sizeof (inst_ref_t))
t_p_ref - (inst_ref_t*>tA->p;