pub fn member_names(&self) -> Result<Vec<String>> {
        extern "C" fn members_callback(
            _id: hid_t, name: *const c_char, _info: *const H5L_info_t, op_data: *mut c_void,
        ) -> herr_t {
            let other_data: &mut Vec<String> = unsafe { &mut *(op_data as *mut Vec<String>) };

            other_data.push(string_from_cstr(name));

            0 // Continue iteration
        }

        let callback_fn: H5L_iterate_t = Some(members_callback);
        let iteration_position: *mut hsize_t = &mut { 0 as u64 };
        let mut result: Vec<String> = Vec::new();
        let other_data: *mut c_void = &mut result as *mut _ as *mut c_void;

        h5call!(H5Literate(
            self.id(),
            H5_index_t::H5_INDEX_NAME,
            H5_iter_order_t::H5_ITER_INC,
            iteration_position,
            callback_fn,
            other_data
        ))?;

        Ok(result)
    }
/// Returns names of all the members in the group, non-recursively.
Returns names of all the members in the group, non-recursively.
Returns names of all the members in the group non - recursively .
pub fn member_names(&self) -> Result<Vec<String>> {
        extern "C" fn members_callback(
            _id: hid_t, name: *const c_char, _info: *const H5L_info_t, op_data: *mut c_void,
        ) -> herr_t {
            let other_data: &mut Vec<String> = unsafe { &mut *(op_data as *mut Vec<String>) };
            other_data.push(string_from_cstr(name));
            0 // Continue iteration
        }
        let callback_fn: H5L_iterate_t = Some(members_callback);
        let iteration_position: *mut hsize_t = &mut { 0 as u64 };
        let mut result: Vec<String> = Vec::new();
        let other_data: *mut c_void = &mut result as *mut _ as *mut c_void;
        h5call!(H5Literate(
            self.id(),
            H5_index_t::H5_INDEX_NAME,
            H5_iter_order_t::H5_ITER_INC,
            iteration_position,
            callback_fn,
            other_data
        ))?;
        Ok(result)
    }
pub fn member_names ( & self ) -> Result < Vec < String > > { extern " " fn members_callback ( _id : hid_t , name : * const c_char , _info : * const H5L_info_t , op_data : * mut c_void , ) -> herr_t { let other_data : & mut Vec < String > = unsafe { & mut * ( op_data as * mut Vec < String > ) } ; other_data . push ( string_from_cstr ( name ) ) ; 0 // Continue iteration } let callback_fn : H5L_iterate_t = Some ( members_callback ) ; let iteration_position : * mut hsize_t = & mut { 0 as u64 } ; let mut result : Vec < String > = Vec :: new ( ) ; let other_data : * mut c_void = & mut result as * mut _ as * mut c_void ; h5call ! ( H5Literate ( self id ( ) H5_index_t H5_INDEX_NAME H5_iter_order_t H5_ITER_INC iteration_position callback_fn other_data ) ) ? ; Ok ( result ) }
Returns names of all the members in the group, non-recursively.
Returns names of all the members in the group non - recursively .
&self
&self