library/src/utility/BP-StringFormattingSessions.cc
// This routine will display final output generated and display it to the user via
// stdout.
This routine will display final output generated and display it to the user via
stdout.
This routine will display final output generated and display it to the user via stdout .
BP_ERROR_T BP_DisplayFinalOutputSFSession(P_BP_SF_SESSION session, BP_BOOL display_colored)
{
	if(!session)
		return ERR_FAILURE;
	if(session->final_columnization && display_colored == BP_FALSE)
	{
		BP_DisplayGenericColumnization(session->final_columnization, BP_TRUE);
	}
	if(session->final_columnization_colorized && display_colored == BP_TRUE)
	{
		BP_DisplayGenericColumnization(session->final_columnization_colorized, BP_TRUE);
	}
	return ERR_SUCCESS;
}
BP_ERROR_T BP_DisplayFinalOutputSFSession ( P_BP_SF_SESSION session , BP_BOOL display_colored ) { if ( ! session ) return ERR_FAILURE ; if ( session -> final_columnization && display_colored == BP_FALSE ) { BP_DisplayGenericColumnization ( session -> final_columnization , BP_TRUE ) ; } if ( session -> final_columnization_colorized && display_colored == BP_TRUE ) { BP_DisplayGenericColumnization ( session -> final_columnization_colorized , BP_TRUE ) ; } return ERR_SUCCESS ; }
This routine will display final output generated and display it to the user via
stdout.
This routine will display final output generated and display it to the user via stdout .
// ensure we have a session to display from // return indicating success