OpenCMISS-Iron Internal API Documentation
trees::tree_detachanddestroy Interface Reference

Private Member Functions

subroutine tree_detach_and_destroy (TREE, NUMBER_IN_TREE, TREE_VALUES, ERR, ERROR,)
 Detaches the tree values and returns them as a pointer to the an array and then destroys the tree. More...
 

Detailed Description

Definition at line 118 of file trees.f90.

Member Function/Subroutine Documentation

subroutine trees::tree_detachanddestroy::tree_detach_and_destroy ( type(tree_type), pointer  TREE,
integer(intg), intent(out)  NUMBER_IN_TREE,
integer(intg), dimension(:), pointer  TREE_VALUES,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
private

Detaches the tree values and returns them as a pointer to the an array and then destroys the tree.

Parameters
treeA pointer to the tree to detach and destroy
[out]number_in_treeOn exit, the number in the array that has been detached
tree_valuesOn exit, a pointer to the dettached tree values. Must not be associated on entry.
[out]errThe error code
[out]errorThe error string.

Definition at line 335 of file trees.f90.