ГОСТ Р ИСОГГС 10303-26—2015
tB->p - (ir.st_ref_t *) malloc <tB->ler. * sizeof <inst_ref_t) );
t_p_ref - (inst_ref_c*>cB->p;
inst_ref.ir.stance_in.dex - 5;
memcpy<t_p_ref,s_p_ref,sizeof (ir.st_ref_t));
++t_p_ref;
inst_ref.instance_index - 21;
memcpy(t_p_ref,s_p_ref, sizeof (ir.st_ref_t));
++t_p_ref;
inst_ref.ir.stance_ir.dex - 7;
memcpy(t_p_ref,s_p_ref,sizeof(ir.st_ref_t));
++t_p_ref;
ir.st_ref.ir.stance_index - 13;
memcpy<t_p_ref,s_p_ref,sizeof(inst_ref_t));
++t_p_ref;
inst_ref.instance_index - 16;
memcpy(t_p_ref,s_p_ref,sizeof(inst_ref_t));
++t_p_ref;
inst_ref.instance_index - 10;
memcpy(t_p_ref,s_p_ref,sizeof (ir.st_ref_t));
f *
Done with В */
/ *
*
Create dataspace. Setting maximum size to NULL sets the maximum
* size to be the current size.
V
space - H5Screate_simple <1, dims, NULL);
/*
* Create the dataset and write the variable-length data to it.
V
dset - H5Dcreate (group_id, "Aggr-properties-1",
vlen_of_vlen_ref_tid, space, H5P_DEFAULT, H5P_DEFAULT,H5P_DEFAULT);
rstat - H5Dwrite (dset, vlen_of_vlen_ref_tid, H5S_ALL,
H5S_ALL, H5P_DEFAULT, wdata);
return(rstat);
)
//
..................................................................................................................................................
-
// Create many Points:
/ /
// This function is similar to the create_points function.
// The only difference is that more points are created
// for the purpose of referir.g to them from an aggregate defined in
// Land_survey Compound type.
// Geometrically the Points make up 25 squares in a mesh.
// (0000,4000),(1000,4000),(2000,4000),(3000,4000),(4000,4000)
// (0000,3000),(1000,3000),(2000,3000),(3000,3000),(4000,3000)
// (0000,2000),(1000,2000),(2000,2000),(3000,2000),(4000,2000)
// (0000,1000),(1000,1000),(2000,1000),<3000,1000),<4000,1000)
// (0000,0000),(1000,0000),(2000,0000),(3000,0000),(4000,0000)
/ /
..........
..........................................................................................................................................
herr_t create_many_points(hid_t groupid, hid_t ptid)
int i,j,k;
herr t rstat;
44