model_server/ui_qac/src/QC_ReportUI.cxx
////////////////////////////////////////////////////////////////////////////////
//
// Methods to use Access API to Quality Cockpit Report information
//
////////////////////////////////////////////////////////////////////////////////
Methods to use Access API to Quality Cockpit Report information
Methods to use Access API to Quality Cockpit Report information
int QC_ReportUI::getReportTypes(genString *&types)
{
  Initialize(QC_ReportUI::getReportTypes(genString *&));
  int retval = -1;
  genString result;
  if ( sendCmd("sev_get_report_formats", result) == TCL_OK )
    {
      TclList l = (char *) result;
      if ( l.Size() > 0 )
	{
	  types = new genString [l.Size()];
	  for ( int i = 0; i < l.Size(); i++ )
	    types[i] = l[i];
	}
      retval = l.Size();
    }
  return retval;
}
int QC_ReportUI :: getReportTypes ( genString * & types ) { Initialize ( QC_ReportUI :: getReportTypes ( genString * & ) ) ; int retval = -1 ; genString result ; if ( sendCmd ( " " , result ) == TCL_OK ) { TclList l = ( char * ) result ; if ( l . Size ( ) > 0 ) { types = new genString [ l . Size ( ) ] ; for ( int i = 0 ; i < l . Size ( ) ; i ++ ) types [ i ] = l [ i ] ; } retval = l . Size ( ) ; } return retval ; }
Methods to use Access API to Quality Cockpit Report information
Methods to use Access API to Quality Cockpit Report information