YamlNodePairsToAssociativeArrayConvertor.destruct

Destroy component created using this convertor.

Destroy component created using this convertor. Since convertor could potentially allocate memory for converted component, only itself is containing history of allocation, and therefore it is responsible as well to destroy and free allocated memory with allocator.

class YamlNodePairsToAssociativeArrayConvertor
const
void
destruct
(
const TypeInfo from
,
ref Object converted
,
RCIAllocator allocator = theAllocator
)

Parameters

converted Object

component that should be destroyed.

allocator RCIAllocator

allocator used to allocate converted component. Return: true if component is destroyed, false otherwise

Meta