}
if (api->Execute("CPPExt_Template.edl") != EDL_NORMAL) {
- ErrorMsg << "CPPExt" << "unable to load : CPPExt_Template.edl" << endm;
+ ErrorMsg() << "CPPExt" << "unable to load : CPPExt_Template.edl" << endm;
Standard_NoSuchObject::Raise();
}
if (api->Execute("CPPExt_TemplateOBJY.edl") != EDL_NORMAL) {
- ErrorMsg << "CPPExt" << "unable to load : CPPExt_TemplateOBJY.edl" << endm;
+ ErrorMsg() << "CPPExt" << "unable to load : CPPExt_TemplateOBJY.edl" << endm;
Standard_NoSuchObject::Raise();
}
if (api->Execute("CPPExt_TemplateCSFDB.edl") != EDL_NORMAL) {
- ErrorMsg << "CPPExt" << "unable to load : CPPExt_TemplateCSFDB.edl" << endm;
+ ErrorMsg() << "CPPExt" << "unable to load : CPPExt_TemplateCSFDB.edl" << endm;
Standard_NoSuchObject::Raise();
}
if (api->Execute("CPPExt_TemplateOBJS.edl") != EDL_NORMAL) {
- ErrorMsg << "CPPExt" << "unable to load : CPPExt_TemplateOBJS.edl" << endm;
+ ErrorMsg() << "CPPExt" << "unable to load : CPPExt_TemplateOBJS.edl" << endm;
Standard_NoSuchObject::Raise();
}
}
}
}
else {
- ErrorMsg << "CPPExt" \
+ ErrorMsg() << "CPPExt" \
<< "type " << aType->FullName()->ToCString() \
<< " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
else {
- ErrorMsg << "CPPExt" << "incomplete alias deep type in method's parameter..." << endm;
+ ErrorMsg() << "CPPExt" << "incomplete alias deep type in method's parameter..." << endm;
Standard_NoSuchObject::Raise();
}
}
srcPackage = aMeta->GetPackage(aName);
}
else {
- ErrorMsg << "CPPExt" << aName->ToCString() << " not defined..." << endm;
+ ErrorMsg() << "CPPExt" << aName->ToCString() << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
Handle(MS_StdClass) aClass = *((Handle(MS_StdClass)*)&srcType);
if (aClass->Incomplete()) {
- ErrorMsg << "CPPExt" << aName->ToCString() << " not complete..." << endm;
+ ErrorMsg() << "CPPExt" << aName->ToCString() << " not complete..." << endm;
Standard_NoSuchObject::Raise();
}
outfile->Append(aHandleFile);
if (aClass->GetInheritsNames()->Length() == 0) {
- ErrorMsg << "CPPExt" << "incomplete metaschema..." << endm;
+ ErrorMsg() << "CPPExt" << "incomplete metaschema..." << endm;
Standard_NoSuchObject::Raise();
}
outfile->Append(aHandleFile);
if (aClass->GetInheritsNames()->Length() == 0) {
- ErrorMsg << "CPPExt" << "incomplete metaschema..." << endm;
+ ErrorMsg() << "CPPExt" << "incomplete metaschema..." << endm;
Standard_NoSuchObject::Raise();
}
CPP_ExceptionDerivated(aMeta,api,aClass,outfile,FullList,Supplement);
}
else {
- ErrorMsg << "CPPExt" << "CPP_TransientClass - the class is NULL..." << endm;
+ ErrorMsg() << "CPPExt" << "CPP_TransientClass - the class is NULL..." << endm;
Standard_NoSuchObject::Raise();
}
}
}
if (!CPP_SetFriendMethod(aMeta,api,theClass->GetFriendMets(),publics)) {
- ErrorMsg << "CPPExt" << "a friend method was not found..." << endm;
+ ErrorMsg() << "CPPExt" << "a friend method was not found..." << endm;
Standard_NoSuchObject::Raise();
}
CPP_MPVDerivated(aMeta,api,aClass,outfile,incp,Supplement);
}
else {
- ErrorMsg << "CPPExt" << "CPP_MPVClass - the class is NULL..." << endm;
+ ErrorMsg() << "CPPExt" << "CPP_MPVClass - the class is NULL..." << endm;
Standard_NoSuchObject::Raise();
}
}
CPP_PackageDerivated(aMeta,api,aPackage,outfile,incp,Supplement);
}
else {
- ErrorMsg << "CPPExt" << "CPP_Package - the package is NULL..." << endm;
+ ErrorMsg() << "CPPExt" << "CPP_Package - the package is NULL..." << endm;
Standard_NoSuchObject::Raise();
}
}
}
if (!CPP_SetFriendMethod(aMeta,api,theClass->GetFriendMets(),publics)) {
- ErrorMsg << "CPPExt" << "a friend method was not found..." << endm;
+ ErrorMsg() << "CPPExt" << "a friend method was not found..." << endm;
Standard_NoSuchObject::Raise();
}
CPP_PersistentDerivatedCSFDB(aMeta,api,aClass,outfile,incp,Supplement);
}
else {
- ErrorMsg << "CPPExt" << "CPP_PersistentClassCSFDB - the class is NULL..." << endm;
+ ErrorMsg() << "CPPExt" << "CPP_PersistentClassCSFDB - the class is NULL..." << endm;
Standard_NoSuchObject::Raise();
}
}
result->AssignCat(aTypeName);
}
else if (aClass->IsTransient()) {
- ErrorMsg << "CPPExt" << "type " << aType->FullName()->ToCString() << " is Transient an cannot be a field of a Persistent capable class" << endm;
+ ErrorMsg() << "CPPExt" << "type " << aType->FullName()->ToCString() << " is Transient an cannot be a field of a Persistent capable class" << endm;
Standard_NoSuchObject::Raise();
}
else {
}
}
else {
- ErrorMsg << "CPPExt" << "type " << aType->FullName()->ToCString() << " not defined..." << endm;
+ ErrorMsg() << "CPPExt" << "type " << aType->FullName()->ToCString() << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
if (!CPP_SetFriendMethod(aMeta,api,theClass->GetFriendMets(),publics)) {
- ErrorMsg << "CPPExt" << "a friend method was not found..." << endm;
+ ErrorMsg() << "CPPExt" << "a friend method was not found..." << endm;
Standard_NoSuchObject::Raise();
}
CPP_PersistentDerivatedOBJS(aMeta,api,aClass,outfile,incp,Supplement);
}
else {
- ErrorMsg << "CPPExt" << "CPP_PersistentClassOBJS - the class is NULL..." << endm;
+ ErrorMsg() << "CPPExt" << "CPP_PersistentClassOBJS - the class is NULL..." << endm;
Standard_NoSuchObject::Raise();
}
}
result->AssignCat(aTypeName);
}
else if (aClass->IsTransient()) {
- ErrorMsg << "CPPExt" << "type " << aType->FullName()->ToCString() << " is Transient an cannot be a field of a Persistent capable class" << endm;
+ ErrorMsg() << "CPPExt" << "type " << aType->FullName()->ToCString() << " is Transient an cannot be a field of a Persistent capable class" << endm;
Standard_NoSuchObject::Raise();
}
else {
}
}
else {
- ErrorMsg << "CPPExt" << "type " << aType->FullName()->ToCString() << " not defined..." << endm;
+ ErrorMsg() << "CPPExt" << "type " << aType->FullName()->ToCString() << " not defined..." << endm;
Standard_NoSuchObject::Raise();
}
}
if (!CPP_SetFriendMethod(aMeta,api,theClass->GetFriendMets(),publics)) {
- ErrorMsg << "CPPExt" << "a friend method was not found..." << endm;
+ ErrorMsg() << "CPPExt" << "a friend method was not found..." << endm;
Standard_NoSuchObject::Raise();
}
CPP_PersistentDerivatedOBJY(aMeta,api,aClass,outfile,incp,Supplement);
}
else {
- ErrorMsg << "CPPExt" << "CPP_PersistentClassOBJY - the class is NULL..." << endm;
+ ErrorMsg() << "CPPExt" << "CPP_PersistentClassOBJY - the class is NULL..." << endm;
Standard_NoSuchObject::Raise();
}
}
}
if (!CPP_SetFriendMethod(aMeta,api,theClass->GetFriendMets(),publics)) {
- ErrorMsg << "CPPExt" << "Error : a friend method was not found..." << endm;
+ ErrorMsg() << "CPPExt" << "Error : a friend method was not found..." << endm;
Standard_NoSuchObject::Raise();
}
CPP_StorableDerivated(aMeta,api,aClass,outfile,incp,Supplement);
}
else {
- ErrorMsg << "CPPExt" << "CPP_StorableClass - the class is NULL..." << endm;
+ ErrorMsg() << "CPPExt" << "CPP_StorableClass - the class is NULL..." << endm;
Standard_NoSuchObject::Raise();
}
}
}
if (!CPP_SetFriendMethod(aMeta,api,theClass->GetFriendMets(),publics)) {
- ErrorMsg << "CPPExt" << "a friend method was not found..." << endm;
+ ErrorMsg() << "CPPExt" << "a friend method was not found..." << endm;
Standard_NoSuchObject::Raise();
}
CPP_TransientDerivated(aMeta,api,aClass,outfile,incp,Supplement);
}
else {
- ErrorMsg << "CPPExt" << "CPP_TransientClass - the class is NULL..." << endm;
+ ErrorMsg() << "CPPExt" << "CPP_TransientClass - the class is NULL..." << endm;
Standard_NoSuchObject::Raise();
}
}