// --- Standard library ---
-#include <iostream.h>
-
// --- AliRoot header files ---
#include "AliPHOSQAObjectCheckable.h"
//____________________________________________________________________________
AliPHOSQAObjectCheckable::AliPHOSQAObjectCheckable(const char * name) : AliPHOSQAVirtualCheckable(name)
{
- fType = new char[1] ;
- strcpy(fType,"O") ;
+ fType = "O" ;
fObject = 0 ;
}
//____________________________________________________________________________
void AliPHOSQAObjectCheckable::Print() const
{
- cout << " Checkable-> " << GetName() << " : value = " << endl ;
+ Info("Print", "Checkable-> %s : value = ", GetName()) ;
if( fObject )
fObject->Print() ;
else
- cerr << "ERROR : no object specified yet " << endl ;
+ Info("Print", "no object specified yet" ) ;
}