-// Function : isXmgrace
-// Retourne vrai si le fichier associe est de type ASCII
-//================================================================
-bool HOMARD_UTILS::isXmgrace(_PTR(SObject) MonObj)
-{
- _PTR(GenericAttribute) anAttr;
- if (!MonObj->FindAttribute(anAttr, "AttributeComment")) return false;
- _PTR(AttributeComment) aFileComment (anAttr);
- std::string Type = aFileComment->Value();
- if (QString(Type.c_str()) == QString("HomardOuputQual")) return true;
- return false;
-}
-//================================================================
-// Retourne vrai si l objet est du type voulu