}
}
else {
- ErrorMsg << "CPPClient" << "Init : Method " << asyncmet->Value(i) << " not found..." << endm;
+ ErrorMsg() << "CPPClient" << "Init : Method " << asyncmet->Value(i) << " not found..." << endm;
Standard_NoSuchObject::Raise();
}
}
}
else {
- ErrorMsg << "CPPClient" << "Init : Client " << aName << " not found..." << endm;
+ ErrorMsg() << "CPPClient" << "Init : Client " << aName << " not found..." << endm;
Standard_NoSuchObject::Raise();
}
}
}
if (api->Execute("CPPClient_Template.edl") != EDL_NORMAL) {
- ErrorMsg << "CPPClient" << "unable to load : CPPClient_Template.edl" << endm;
+ ErrorMsg() << "CPPClient" << "unable to load : CPPClient_Template.edl" << endm;
Standard_NoSuchObject::Raise();
}
if (api->Execute("CPPClient_General.edl") != EDL_NORMAL) {
- ErrorMsg << "CPPClient" << "unable to load : CPPClient_General.edl" << endm;
+ ErrorMsg() << "CPPClient" << "unable to load : CPPClient_General.edl" << endm;
Standard_NoSuchObject::Raise();
}
}
thetype = aMeta->GetType(parname);
}
else {
- ErrorMsg << "CPPClient" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPClient" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
thetype = aMeta->GetType(parname);
}
else {
- ErrorMsg << "CPPClient" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPClient" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
aType = aMeta->GetType(parname);
}
else {
- ErrorMsg << "CPPClient" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPClient" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
}
}
else {
- ErrorMsg << "CPPClient" << "Type " << aTypeName << " not defined..." << endm;
+ ErrorMsg() << "CPPClient" << "Type " << aTypeName << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
aType = aMeta->GetType(parname);
}
else {
- ErrorMsg << "CPPClient" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPClient" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
theArgList = CPPClient_BuildParameterList(aMeta,m->Params(),forDeclaration);
if (theArgList == CPPClient_ErrorArgument) {
- WarningMsg << "CPPClient" << "Bad argument type in method (pointer or imported type) " << m->FullName() << endm;
- WarningMsg << "CPPClient" << "Method : " << m->FullName() << " not exported." << endm;
+ WarningMsg() << "CPPClient" << "Bad argument type in method (pointer or imported type) " << m->FullName() << endm;
+ WarningMsg() << "CPPClient" << "Method : " << m->FullName() << " not exported." << endm;
api->AddVariable(VMethod,CPPClient_ErrorArgument->ToCString());
return;
}
Handle(TCollection_HAsciiString) returnT = CPPClient_BuildType(aMeta,retType->TypeName());
if (returnT == CPPClient_ErrorArgument) {
- WarningMsg << "CPPClient" << "Return type (pointer or imported type) of " << m->FullName() << " not exportable." << endm;
- WarningMsg << "CPPClient" << "Method : " << m->FullName() << " not exported." << endm;
+ WarningMsg() << "CPPClient" << "Return type (pointer or imported type) of " << m->FullName() << " not exportable." << endm;
+ WarningMsg() << "CPPClient" << "Method : " << m->FullName() << " not exported." << endm;
api->AddVariable(VMethod,CPPClient_ErrorArgument->ToCString());
return;
}
theArgList = CPPClient_BuildParameterList(aMeta,m->Params(),forDeclaration);
if (theArgList == CPPClient_ErrorArgument) {
- WarningMsg << "CPPClient" << "Bad argument type in method (pointer or imported type) " << m->FullName() << endm;
- WarningMsg << "CPPClient" << "Method : " << m->FullName() << " not exported." << endm;
+ WarningMsg() << "CPPClient" << "Bad argument type in method (pointer or imported type) " << m->FullName() << endm;
+ WarningMsg() << "CPPClient" << "Method : " << m->FullName() << " not exported." << endm;
api->AddVariable(VMethod,CPPClient_ErrorArgument->ToCString());
return;
}
Handle(TCollection_HAsciiString) returnT = CPPClient_BuildType(aMeta,retType->TypeName());
if (returnT == CPPClient_ErrorArgument) {
- WarningMsg << "CPPClient" << "Return type (pointer or imported type) of " << m->FullName() << " not exportable." << endm;
- WarningMsg << "CPPClient" << "Method : " << m->FullName() << " not exported." << endm;
+ WarningMsg() << "CPPClient" << "Return type (pointer or imported type) of " << m->FullName() << " not exportable." << endm;
+ WarningMsg() << "CPPClient" << "Method : " << m->FullName() << " not exported." << endm;
api->AddVariable(VMethod,CPPClient_ErrorArgument->ToCString());
return;
}
rtype = aMeta->GetType(parname);
}
else {
- ErrorMsg << "CPPClient" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPClient" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
rtype = aMeta->GetType(parname);
}
else {
- ErrorMsg << "CPPClient" << "Type " << parname << " not defined..." << endm;
+ ErrorMsg() << "CPPClient" << "Type " << parname << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
srcPackage = aMeta->GetPackage(aName);
}
else {
- ErrorMsg << "CPPClient" << aName->ToCString() << " not defined..." << endm;
+ ErrorMsg() << "CPPClient" << aName->ToCString() << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
else if (strcmp(Mode,"CPPClient_INCOMPLETE") == 0) {theMode = CPPClient_INCOMPLETE;}
else if (strcmp(Mode,"CPPClient_SEMICOMPLETE") == 0) {theMode = CPPClient_SEMICOMPLETE;}
else {
- ErrorMsg << "CPPClient" << "Unknown extraction mode:" << Mode << endm;
+ ErrorMsg() << "CPPClient" << "Unknown extraction mode:" << Mode << endm;
Standard_NoSuchObject::Raise();
}
CPPClient_TypeExtract(aMeta,aTypeName,edlsfullpath,outdir,outfile,theMode);
}
else {
- ErrorMsg << "CPPClient" << "Type " << aTypeName << " not defined..." << endm;
+ ErrorMsg() << "CPPClient" << "Type " << aTypeName << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}