if ( s_CltMap.Contains ( use -> Value ( i ) ) ) {
- ErrorMsg << "_CPPJini_FillUses"
+ ErrorMsg() << "_CPPJini_FillUses"
<< "Cyclic dependency between clients ( check your 'uses' lists )"
<< endm;
Standard_ProgramError :: Raise ();
} else {
- ErrorMsg << "CPPJini" << "Init : Client " << aName << " not found..." << endm;
+ ErrorMsg() << "CPPJini" << "Init : Client " << aName << " not found..." << endm;
Standard_NoSuchObject :: Raise ();
} // end else
if ( api -> Execute ( "CPPJini_Template.edl" ) != EDL_NORMAL ) {
- ErrorMsg << "CPPJini" << "unable to load : CPPJini_Template.edl" << endm;
+ ErrorMsg() << "CPPJini" << "unable to load : CPPJini_Template.edl" << endm;
Standard_NoSuchObject :: Raise ();
} // end if
if ( api -> Execute ( "CPPJini_General.edl" ) != EDL_NORMAL ) {
- ErrorMsg << "CPPJini" << "unable to load : CPPJini_General.edl" << endm;
+ ErrorMsg() << "CPPJini" << "unable to load : CPPJini_General.edl" << endm;
Standard_NoSuchObject :: Raise ();
} // end if
else {
- ErrorMsg << "CPPJini" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPJini" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject :: Raise ();
} // end else
else {
- ErrorMsg << "CPPJini" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPJini" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject :: Raise ();
} // end else
else {
- ErrorMsg << "CPPJini" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPJini" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject :: Raise ();
} // end else
} else {
- ErrorMsg << "CPPJini" << "Type " << aTypeName << " not defined..." << endm;
+ ErrorMsg() << "CPPJini" << "Type " << aTypeName << " not defined..." << endm;
Standard_NoSuchObject :: Raise ();
} // end else
else {
- ErrorMsg << "CPPJini" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPJini" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject :: Raise ();
} // end else
theArgList = CPPJini_BuildParameterList(aMeta,m->Params(),Standard_True);
if (theArgList == CPPJini_ErrorArgument) {
- WarningMsg << "CPPJini" << "Bad argument type in method (pointer or imported type) " << m->FullName() << endm;
- WarningMsg << "CPPJini" << "Method : " << m->FullName() << " not exported." << endm;
+ WarningMsg() << "CPPJini" << "Bad argument type in method (pointer or imported type) " << m->FullName() << endm;
+ WarningMsg() << "CPPJini" << "Method : " << m->FullName() << " not exported." << endm;
api->AddVariable(VJMethod,CPPJini_ErrorArgument->ToCString());
return;
}
Handle(TCollection_HAsciiString) returnT = CPPJini_BuildType(aMeta,retType->TypeName());
if (returnT == CPPJini_ErrorArgument) {
- WarningMsg << "CPPJini" << "Return type (pointer or imported type) of " << m->FullName() << " not exportable." << endm;
- WarningMsg << "CPPJini" << "Method : " << m->FullName() << " not exported." << endm;
+ WarningMsg() << "CPPJini" << "Return type (pointer or imported type) of " << m->FullName() << " not exportable." << endm;
+ WarningMsg() << "CPPJini" << "Method : " << m->FullName() << " not exported." << endm;
api->AddVariable(VJMethod,CPPJini_ErrorArgument->ToCString());
return;
}
aType = aMeta->GetType(parname);
}
else {
- ErrorMsg << "CPPJini" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPJini" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
else {
- ErrorMsg << "CPPJini" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPJini" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject :: Raise ();
} // end else
const Standard_CString Mode)
{
-// InfoMsg << "CPPJini" << "Extract " << aName->ToCString() << endm;
+// InfoMsg() << "CPPJini" << "Extract " << aName->ToCString() << endm;
Handle(MS_Type) srcType;
Handle(MS_Package) srcPackage;
srcPackage = aMeta->GetPackage(aName);
}
else {
- ErrorMsg << "CPPJini" << aName->ToCString() << " not defined..." << endm;
+ ErrorMsg() << "CPPJini" << aName->ToCString() << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
else {
- ErrorMsg << "CPPJini" << "Unknown extraction mode:" << Mode << endm;
+ ErrorMsg() << "CPPJini" << "Unknown extraction mode:" << Mode << endm;
Standard_NoSuchObject :: Raise ();
} // end else
theMode == CPPJini_SEMICOMPLETE && type == CPPJini_COMPLETE
) {
- InfoMsg << "CPPJini" << "Skipping " << aTypeName
+ InfoMsg() << "CPPJini" << "Skipping " << aTypeName
<< " (already defined in " << cltName << ")" << endm;
g_SkipMap.Bind ( aTypeName, cltName );
#if 0
if ( fDuplicate )
- WarningMsg << "CPPJini"
+ WarningMsg() << "CPPJini"
<< aTypeName
<< " defined in more than one client declared in 'uses' statement"
<< endm;
} else {
- ErrorMsg << "CPPJini" << "Type " << aTypeName << " not defined..." << endm;
+ ErrorMsg() << "CPPJini" << "Type " << aTypeName << " not defined..." << endm;
Standard_NoSuchObject :: Raise ();
} // end else