register_transform_func


Description:

public static void register_transform_func (Type src_type, Type dest_type, ValueTransform transform_func)

Registers a value transformation function for use in transform.

A previously registered transformation function for src_type and dest_type will be replaced.

Parameters:

src_type

Source type.

dest_type

Target type.

transform_func

a function which transforms values of type src_type into value of type dest_type