Operation void general_output_function (output_classification kindof, char * str), in Class component