From 2372711a5de46a10e7c1b66842e2e89af68b81da Mon Sep 17 00:00:00 2001 From: gdd Date: Wed, 28 Sep 2011 14:00:43 +0000 Subject: [PATCH] Fix missing corrections --- doc/images/create_case_7.png | Bin 0 -> 7240 bytes src/HOMARDGUI/HomardConfigFile.cxx | 214 ------- src/HOMARDGUI/HomardConfigFile.hxx | 64 -- src/HOMARDGUI/HomardDlg.h | 181 ------ src/HOMARDGUI/MonEditCase.cxx | 2 +- src/HOMARDGUI/ui/HomardCas.ui | 181 ------ src/HOMARDGUI/ui/HomardDlg.ui | 467 --------------- src/HOMARDGUI/ui/HomardEditLog.ui | 60 -- src/HOMARDGUI/ui/HomardIteration.ui | 218 ------- src/HOMARDGUI/ui/HomardPourLesNuls.ui | 738 ------------------------ src/HOMARDGUI/ui/HomardRaffiUniforme.ui | 383 ------------ src/HOMARD_I/driver_gen_i.cxx | 264 --------- src/HOMARD_I/driver_gen_i.h | 105 ---- 13 files changed, 1 insertion(+), 2876 deletions(-) create mode 100644 doc/images/create_case_7.png delete mode 100644 src/HOMARDGUI/HomardConfigFile.cxx delete mode 100644 src/HOMARDGUI/HomardConfigFile.hxx delete mode 100644 src/HOMARDGUI/HomardDlg.h delete mode 100644 src/HOMARDGUI/ui/HomardCas.ui delete mode 100644 src/HOMARDGUI/ui/HomardDlg.ui delete mode 100644 src/HOMARDGUI/ui/HomardEditLog.ui delete mode 100644 src/HOMARDGUI/ui/HomardIteration.ui delete mode 100644 src/HOMARDGUI/ui/HomardPourLesNuls.ui delete mode 100644 src/HOMARDGUI/ui/HomardRaffiUniforme.ui delete mode 100644 src/HOMARD_I/driver_gen_i.cxx delete mode 100644 src/HOMARD_I/driver_gen_i.h diff --git a/doc/images/create_case_7.png b/doc/images/create_case_7.png new file mode 100644 index 0000000000000000000000000000000000000000..c5987297bba46cc6cd487e94455bd6303b14b9d1 GIT binary patch literal 7240 zcma)hbyO7L|L!2Dw1@~wgDcV~4NER1h)9Q$Qqs~LQYs}OohyQL2!g~CB8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 zY${Efl&QkySiichMCIn1*&Y#N31((y=mbog{g3z`j|HD^nSr^E59eGM-egwil~^yKzsW%(y}O+<=CGAu}VR z(P63rw8Bd(3##+ZsW*kr&d$^xJxX609UTn`fjV3dtQ&)yHo4@^ZwbZIhlYk;oUO?U z^;1$(x(f=tE;P%k#z-X**$(Akc6MB>tvi?ZJSr$5;DAB*!}5>C+Vb*2zd&nMramVP zNK)X2i^|GsYie{jY3Q9g#)nxzAGxTZA>GK?-u^j$d4x{Ptk54}5x%-=gRVc4gu`V6 zjy2g6sy^X_9}~(M8cr)QU-OY_Q7fptA|@tAN0%BJdI_S6?#x$?eQpM{6eMytS62dv zg(dgfw{LIWy!o@hV&!Kgc>6RK4jwlph4$YQZFak{{L|s&MoTFB30dW zIQa@0_bgoeM@4qKM6RdSKO7bPpQ_=EiY-8wOE5j=11FZmra*gRW9$=H!h!Lc7b72l zR6K+w^3Of7;s7n2pyQ>hHYdQBZDZp8cK%2${uHT^(7%HD94Q13YRbL)x??Z;rfXH@sNgl+Us`TL1qTLA%s+wG!!ck=Ar)! D7wt*P literal 0 HcmV?d00001 diff --git a/src/HOMARDGUI/HomardConfigFile.cxx b/src/HOMARDGUI/HomardConfigFile.cxx deleted file mode 100644 index c07d1c92..00000000 --- a/src/HOMARDGUI/HomardConfigFile.cxx +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright (C) 2011 CEA/DEN, EDF R&D -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -// - -// -// File : HomardConfigFile.cxx -// Author : Paul RASCLE, EDF -// Module : HOMARD -// cree un fichier de configuration HOMARD - -using namespace std; - -#include "HomardConfigFile.hxx" -#include "utilities.h" -#include -#include -#include -#include -#include - - - - -//============================================================================= -/*! - * - */ -//============================================================================= - -HomardConfigFile::HomardConfigFile(): - _nomFichier(string("HOMARD.Configuration")), - _prefix(string("")) - { - - string t1[] = {string("CCMaiN__"), string("CCNoMN__"), string("CCSolN__"), string("CCFronti"), - string("HOMaiN__"), string("RenumN__"), string("ListeStd"), string("PPBasFic"), - string("CCAssoci"), string("NumeIter"), string("CCMaiNP1"), string("CCNoMNP1"), - string("TypeElem"), string("TypeRaff"), string("TypeDera"), string("HOMaiN__"), - string("HOMaiNP1"), string("CCNoChaI"), string("CCCoChaI"), string("CCNumOrI"), - string("CCNumPTI"), string("SeuilBPE"), string("SeuilHPE"), string("CCIndica")}; - std::list l1(t1,t1+24); - _motscle_ss_valeur=l1; - - string t2[] = {string("Aucun0__"), string("Nb_Enti2"), string("Interpe3"), string("Qualite5"), - string("Nb_Enti7"), string("Connex11"), string("Taille13") }; - std::list l2(t2,t2+7); - _motscle_oui_non=l2; - - string t3[] = {string("ModeHOMA"), string("EcriFiHO")}; - std::list l3(t3,t3+2); - _motscle_autre=l3; - - _dictValeur[string("Nb_Enti2")]=string("oui") ; - - _dictValeuroui[string("Aucun0__")]=0; - _dictValeuroui[string("Nb_Enti2")]=2; - _dictValeuroui[string("Interpe3")]=3; - _dictValeuroui[string("Qualite5")]=5; - _dictValeuroui[string("Nb_Enti7")]=7; - _dictValeuroui[string("Connex11")]=11; - _dictValeuroui[string("Taille13")]=13; - - } -//============================================================================= -/*! - * - */ -//============================================================================= -HomardConfigFile::~HomardConfigFile() -{ -} -//============================================================================= -/*! - * - */ -//============================================================================= -void HomardConfigFile::setBilan(bool etat) -{ - _bBilan = etat; -} -//============================================================================= -/*! - * - */ -//============================================================================= -bool HomardConfigFile::initVal(const string motclef ,const string valeur) -{ - //SCRUTE(motclef); - //SCRUTE(valeur); - bool ok = false; - if ( cherche_dans_liste(_motscle_ss_valeur, motclef)) - { - _dictValeur[motclef]=valeur; - ok = true; - } - else - { - if ( cherche_dans_liste(_motscle_oui_non,motclef)) - { - if (valeur =="oui" || valeur == "non") - { - _dictValeur[motclef]=valeur; - ok = true; - } - } - else - if ( cherche_dans_liste(_motscle_autre,motclef)) - // Il faudrait avoir un mecanisme de verification de la valeur // - // passee, non mis en place actuellement avec des strings ? // - { - _dictValeur[motclef]=valeur; - ok = true; - } - } - return ok; -} - -//============================================================================= -/*! - * - */ -//============================================================================= -bool HomardConfigFile::cherche_dans_liste(std::list & liste, const motcle motclef ) -{ - bool ok = false; - std::list::iterator it =liste.begin(); - while ( it != liste.end()) - { - if ( *it == motclef) - { - ok = true; - break; - } - it ++; - } - return ok; -} - -//============================================================================= -/*! - * - */ -//============================================================================= -string HomardConfigFile::getMyDir() -{ - return _myDir; -} -//============================================================================= -/*! - * - */ -//============================================================================= -bool HomardConfigFile::createFile() -{ - bool ok = true; - - const char *a = "/tmp/ed.XXXXXX"; - char * cible = new char[15]; - strcpy(cible,a) ; - mkdtemp(cible); - - _myDir = string(cible); - string myfile=_myDir+string("/HOMARD.Configuration"); - - try - { - - ofstream ficHomard( myfile.c_str()) ; - int typeBilan = 1; - - std::map::iterator it = _dictValeur.begin(); - for (; it != _dictValeur.end(); it++) - { - motcle motclef=(*it).first; - valeur valmot =(*it).second; - if ( cherche_dans_liste(_motscle_oui_non,motclef)) - { - if (valmot== "oui") - { - typeBilan=typeBilan*_dictValeuroui[motclef]; - } - } - else - ficHomard << motclef << " " << valmot << std::endl ; - } - - if (_bBilan == true) - { - ficHomard << "TypeBila "<< typeBilan << std::endl ; - } - ficHomard.close(); - } - catch (...) - { - ok = false; - } - return ok; - -} diff --git a/src/HOMARDGUI/HomardConfigFile.hxx b/src/HOMARDGUI/HomardConfigFile.hxx deleted file mode 100644 index f850de8f..00000000 --- a/src/HOMARDGUI/HomardConfigFile.hxx +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (C) 2011 CEA/DEN, EDF R&D -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -// - -// -// File : HomardConfigFile.hxx -// Author : Paul RASCLE, EDF -// Module : SMESH - - -#ifndef _HOMARD_CONFIG_FILE -#define _HOMARD_CONFIG_FILE - -#include -#include -#include - -using namespace std; - -class HomardConfigFile -{ - typedef string motcle; - typedef string valeur; - -public : - HomardConfigFile(); - ~HomardConfigFile(); - bool initVal(const string motclef ,const string valeur); - bool createFile(); - void setBilan(bool etat); - string getMyDir(); - -protected : - - std::list _motscle_ss_valeur; - std::list _motscle_oui_non ; - std::list _motscle_autre; - - std::map _dictValeur; - std::map _dictValeuroui; - - string _nomFichier; - string _prefix; - bool _bBilan; - string _myDir; - - bool cherche_dans_liste(std::list & liste , const motcle motclef); -} ; -#endif diff --git a/src/HOMARDGUI/HomardDlg.h b/src/HOMARDGUI/HomardDlg.h deleted file mode 100644 index c4a1134e..00000000 --- a/src/HOMARDGUI/HomardDlg.h +++ /dev/null @@ -1,181 +0,0 @@ -/******************************************************************************** -** Form generated from reading ui file 'HomardDlg.ui' -** -** Created: Fri Jan 16 19:12:09 2009 -** by: Qt User Interface Compiler version 4.4.3 -** -** WARNING! All changes made in this file will be lost when recompiling ui file! -********************************************************************************/ - -#ifndef HOMARDDLG_H -#define HOMARDDLG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_HomardDlg -{ -public: - QGroupBox *groupBox; - QLabel *label; - QLabel *label_2; - QComboBox *ListeMeshName; - QPushButton *PushFichier; - QLineEdit *NomFichier; - QGroupBox *groupBox_3; - QWidget *widget; - QGridLayout *gridLayout; - QCheckBox *NbEntites; - QSpacerItem *verticalSpacer; - QCheckBox *Volumes; - QSpacerItem *horizontalSpacer; - QCheckBox *Inter; - QCheckBox *Qualite; - QCheckBox *Connexite; - QGroupBox *groupBox_2; - QCheckBox *Histo; - QCheckBox *Bilan; - QGroupBox *groupBox_4; - QPushButton *lancement; - QPushButton *terminer; - - void setupUi(QWidget *HomardDlg) - { - if (HomardDlg->objectName().isEmpty()) - HomardDlg->setObjectName(QString::fromUtf8("HomardDlg")); - HomardDlg->resize(632, 372); - groupBox = new QGroupBox(HomardDlg); - groupBox->setObjectName(QString::fromUtf8("groupBox")); - groupBox->setGeometry(QRect(10, 0, 614, 131)); - label = new QLabel(groupBox); - label->setObjectName(QString::fromUtf8("label")); - label->setGeometry(QRect(20, 20, 57, 17)); - label_2 = new QLabel(groupBox); - label_2->setObjectName(QString::fromUtf8("label_2")); - label_2->setGeometry(QRect(20, 90, 57, 17)); - ListeMeshName = new QComboBox(groupBox); - ListeMeshName->setObjectName(QString::fromUtf8("ListeMeshName")); - ListeMeshName->setGeometry(QRect(100, 70, 501, 41)); - PushFichier = new QPushButton(groupBox); - PushFichier->setObjectName(QString::fromUtf8("PushFichier")); - PushFichier->setGeometry(QRect(100, 20, 51, 31)); - NomFichier = new QLineEdit(groupBox); - NomFichier->setObjectName(QString::fromUtf8("NomFichier")); - NomFichier->setGeometry(QRect(170, 10, 431, 51)); - groupBox_3 = new QGroupBox(HomardDlg); - groupBox_3->setObjectName(QString::fromUtf8("groupBox_3")); - groupBox_3->setGeometry(QRect(10, 140, 614, 78)); - widget = new QWidget(groupBox_3); - widget->setObjectName(QString::fromUtf8("widget")); - widget->setGeometry(QRect(21, 10, 445, 92)); - gridLayout = new QGridLayout(widget); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - gridLayout->setContentsMargins(0, 0, 0, 0); - NbEntites = new QCheckBox(widget); - NbEntites->setObjectName(QString::fromUtf8("NbEntites")); - NbEntites->setChecked(true); - - gridLayout->addWidget(NbEntites, 0, 0, 3, 2); - - verticalSpacer = new QSpacerItem(20, 58, QSizePolicy::Minimum, QSizePolicy::Expanding); - - gridLayout->addItem(verticalSpacer, 0, 2, 4, 1); - - Volumes = new QCheckBox(widget); - Volumes->setObjectName(QString::fromUtf8("Volumes")); - Volumes->setChecked(true); - - gridLayout->addWidget(Volumes, 0, 3, 2, 1); - - horizontalSpacer = new QSpacerItem(198, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - gridLayout->addItem(horizontalSpacer, 1, 1, 2, 1); - - Inter = new QCheckBox(widget); - Inter->setObjectName(QString::fromUtf8("Inter")); - Inter->setChecked(false); - - gridLayout->addWidget(Inter, 2, 3, 2, 1); - - Qualite = new QCheckBox(widget); - Qualite->setObjectName(QString::fromUtf8("Qualite")); - Qualite->setChecked(true); - - gridLayout->addWidget(Qualite, 3, 0, 1, 2); - - Connexite = new QCheckBox(widget); - Connexite->setObjectName(QString::fromUtf8("Connexite")); - Connexite->setChecked(true); - - gridLayout->addWidget(Connexite, 4, 0, 1, 2); - - groupBox_2 = new QGroupBox(HomardDlg); - groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); - groupBox_2->setGeometry(QRect(10, 220, 614, 78)); - Histo = new QCheckBox(groupBox_2); - Histo->setObjectName(QString::fromUtf8("Histo")); - Histo->setGeometry(QRect(330, 30, 171, 22)); - Histo->setChecked(true); - Bilan = new QCheckBox(groupBox_2); - Bilan->setObjectName(QString::fromUtf8("Bilan")); - Bilan->setGeometry(QRect(10, 30, 171, 22)); - Bilan->setChecked(true); - groupBox_4 = new QGroupBox(HomardDlg); - groupBox_4->setObjectName(QString::fromUtf8("groupBox_4")); - groupBox_4->setGeometry(QRect(10, 310, 614, 51)); - lancement = new QPushButton(groupBox_4); - lancement->setObjectName(QString::fromUtf8("lancement")); - lancement->setGeometry(QRect(430, 10, 83, 31)); - terminer = new QPushButton(groupBox_4); - terminer->setObjectName(QString::fromUtf8("terminer")); - terminer->setGeometry(QRect(520, 10, 83, 31)); - - retranslateUi(HomardDlg); - - QMetaObject::connectSlotsByName(HomardDlg); - } // setupUi - - void retranslateUi(QWidget *HomardDlg) - { - HomardDlg->setWindowTitle(QApplication::translate("HomardDlg", "Homard : Analyse de maillage", 0, QApplication::UnicodeUTF8)); - groupBox->setTitle(QString()); - label->setText(QApplication::translate("HomardDlg", "MED File", 0, QApplication::UnicodeUTF8)); - label_2->setText(QApplication::translate("HomardDlg", "Mesh", 0, QApplication::UnicodeUTF8)); - PushFichier->setText(QApplication::translate("HomardDlg", "Icon", 0, QApplication::UnicodeUTF8)); - groupBox_3->setTitle(QApplication::translate("HomardDlg", "Options", 0, QApplication::UnicodeUTF8)); - NbEntites->setText(QApplication::translate("HomardDlg", "Nombre d'entit\303\251s", 0, QApplication::UnicodeUTF8)); - Volumes->setText(QApplication::translate("HomardDlg", "Volumes/Surfaces/Longueurs", 0, QApplication::UnicodeUTF8)); - Inter->setText(QApplication::translate("HomardDlg", "Interp\303\251n\303\251tration", 0, QApplication::UnicodeUTF8)); - Qualite->setText(QApplication::translate("HomardDlg", "Qualit\303\251", 0, QApplication::UnicodeUTF8)); - Connexite->setText(QApplication::translate("HomardDlg", "Connexit\303\251", 0, QApplication::UnicodeUTF8)); - groupBox_2->setTitle(QApplication::translate("HomardDlg", "Conservation des r\303\251sultats", 0, QApplication::UnicodeUTF8)); - Histo->setText(QApplication::translate("HomardDlg", "Histogramme Qualit\303\251", 0, QApplication::UnicodeUTF8)); - Bilan->setText(QApplication::translate("HomardDlg", "Bilan", 0, QApplication::UnicodeUTF8)); - groupBox_4->setTitle(QString()); - lancement->setText(QApplication::translate("HomardDlg", "Ok", 0, QApplication::UnicodeUTF8)); - terminer->setText(QApplication::translate("HomardDlg", "Cancel", 0, QApplication::UnicodeUTF8)); - Q_UNUSED(HomardDlg); - } // retranslateUi - -}; - -namespace Ui { - class HomardDlg: public Ui_HomardDlg {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // HOMARDDLG_H diff --git a/src/HOMARDGUI/MonEditCase.cxx b/src/HOMARDGUI/MonEditCase.cxx index 1c2680fd..5f1ecaff 100644 --- a/src/HOMARDGUI/MonEditCase.cxx +++ b/src/HOMARDGUI/MonEditCase.cxx @@ -164,7 +164,7 @@ void MonEditCase::InitValEdit() int nbcol = TWBoundary->columnCount(); int nbrow = TWBoundary->rowCount(); for ( int i = 0; i < nbrow; i++ ) - { for ( int j = 0; j < nbcol; j++ ) TWBoundary->item( i, j )->setFlags( !Qt::ItemIsEnabled ); } + { for ( int j = 0; j < nbcol; j++ ) TWBoundary->item( i, j )->setFlags( Qt::ItemIsSelectable ); } // on met un nom blanc au coin QTableWidgetItem *__colItem = new QTableWidgetItem(); __colItem->setText(QApplication::translate("CreateCase", "", 0, QApplication::UnicodeUTF8)); diff --git a/src/HOMARDGUI/ui/HomardCas.ui b/src/HOMARDGUI/ui/HomardCas.ui deleted file mode 100644 index 555f866d..00000000 --- a/src/HOMARDGUI/ui/HomardCas.ui +++ /dev/null @@ -1,181 +0,0 @@ - -HomardCas - - - HomardCas - - - - 0 - 0 - 561 - 193 - - - - Analyse de maillage avec HOMARD - - - false - - - - GroupBox1 - - - - 10 - 10 - 540 - 130 - - - - Case - - - - textLabel1 - - - - 10 - 20 - 71 - 31 - - - - Name - - - - - NomCas - - - - 110 - 20 - 420 - 30 - - - - - - pushDirect - - - - 10 - 70 - 91 - 31 - - - - Directory - - - - - NomDirect - - - - 110 - 70 - 421 - 31 - - - - - - - ButtonOk - - - - 420 - 150 - 61 - 31 - - - - OK - - - - - ButtonCancel - - - - 490 - 150 - 61 - 31 - - - - Cancel - - - - - - NomCas - returnPressed() - HomardCas - SetNomCas() - - - NomCas - textChanged(const QString&) - HomardCas - SetNomCas(const QString&) - - - NomDirect - returnPressed() - HomardCas - SetDir2() - - - NomDirect - textChanged(const QString&) - HomardCas - SetDir2(const QString&) - - - pushDirect - pressed() - HomardCas - SetDir() - - - ButtonOk - pressed() - HomardCas - PushOnApply() - - - ButtonCancel - pressed() - HomardCas - close() - - - - PushOnApply() - SetDir() - SetDir2() - SetDir2( const QString & ) - SetNomCas() - SetNomCas( const QString & ) - - - diff --git a/src/HOMARDGUI/ui/HomardDlg.ui b/src/HOMARDGUI/ui/HomardDlg.ui deleted file mode 100644 index 69482bb3..00000000 --- a/src/HOMARDGUI/ui/HomardDlg.ui +++ /dev/null @@ -1,467 +0,0 @@ - -HomardDlg - - - HomardDlg - - - - 0 - 0 - 467 - 355 - - - - - 5 - 5 - 0 - 0 - - - - Homard : Analyse de maillage - - - true - - - - unnamed - - - - spacer10 - - - Vertical - - - Expanding - - - - 20 - 16 - - - - - - groupBox3 - - - - 5 - 5 - 0 - 0 - - - - Options - - - - unnamed - - - - layout30 - - - - unnamed - - - - Connexite - - - Connexité - - - true - - - - - Inter - - - Interpénétration - - - false - - - - - Volumes - - - Volumes/Surfaces/Longueurs - - - true - - - - - NbEntites - - - Nombre d'entités - - - true - - - - - Qualite - - - Qualité - - - true - - - - - - - - - groupBox4 - - - - - - - unnamed - - - - Horizontal Spacing2 - - - Horizontal - - - Expanding - - - - 290 - 20 - - - - - - lancement - - - &OK - - - - - - true - - - true - - - - - terminer - - - &Cancel - - - - - - true - - - - - - - groupBox7 - - - - 5 - 5 - 0 - 0 - - - - - 230 - 230 - 230 - - - - Raised - - - 1 - - - - - - - unnamed - - - - lblMesh - - - - 1 - 5 - 0 - 0 - - - - Mesh - - - - - lblCommande - - - - 1 - 5 - 0 - 0 - - - - MED File - - - - - PushFichier - - - - 0 - 0 - 0 - 0 - - - - - - - image0 - - - - - lblTypeMesh - - - - 1 - 5 - 0 - 0 - - - - - - - image1 - - - A quoi ça sert ? - - - - - NomFichier - - - - 300 - 21 - - - - - - ListeMeshName - - - - 300 - 31 - - - - - - - - groupBox3_2 - - - - 5 - 5 - 0 - 0 - - - - Conservation des résultats - - - - unnamed - - - - bilans - - - Bilan - - - true - - - - - Histo - - - Histogramme Qualité - - - true - - - - - - - - - 89504e470d0a1a0a0000000d49484452000000140000001408060000008d891d0d0000009849444154388db5d4cb1180200c0450e3580f056c49f6c0c91e2c690bb0213d7110123e417373c0371b3408c9e5cb5a3fd5fe00b79e4d006e6b8da40c83a98ef37a3dc73d147bbac0940208778ee6d57d86009a583798635aaba99a2d6b18490182faa1aa092dacf68e5893e2c1cc845e4c0567b0029cc5d4843398097ab1022429710fcb715ed50b6128e12caa4e4a9a044fdbe68fedad0767bd6302a986f8310000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff610000019449444154388da593316b1b411046df86341764588104b75708e2224d4c50bb1748e18021977f18489bceed152e03b96b83c14d2ae36295c2e41624d81108c6857cc9099f0dc1d30cb3cb37f398fdd6344dc373e2c5b3d4c0cb615196a55a6b89313296cfbf9d63ad65cbd68c12d88925dc0454f5418e3172fae994555c3d4e103791ec28e3eb97063b77c8bac3cd1d1fab575c5d2ac6185495b66dc777602796b44e07e24e3a7e7cffc3db77e6effd300e1af404923a9c73a49de07287887075a9c44da458142c4f96fa24819b3b92086e661111f2dc21d2117eed77911d654f13ecc53922c2ebdc219270b329d7b7ad699ac6b46dfbf82ba475c2e539b28bb8dcd16d3ab6bb9fe6faf75e5496a50e35e33b10c1cd1ce97e324055550a60ad6579b2d4be1e27984de924914d32fac9755d9beaacd27013288a82baae8df75e477d9024319d64ac6e3b0cff1c1a42a058147dd618e34302630cef3f141cbf317c3e3b06a0691ad34f1e12a8ea6183fa627f18c2bd8d43c07baf00c5a2a0bea84d9fabaad2b66d8df99fefecbdd7819d8df75eef005295fc1dc06daa230000000049454e44ae426082 - - - - - lancement - pressed() - HomardDlg - Lancement() - - - terminer - pressed() - HomardDlg - close() - - - ListeMeshName - activated(int) - HomardDlg - SetMaillage() - - - NomFichier - returnPressed() - HomardDlg - SetNomFichier() - - - PushFichier - clicked() - HomardDlg - PushNomFichier() - - - Connexite - stateChanged(int) - HomardDlg - SetConnexite() - - - Inter - stateChanged(int) - HomardDlg - SetInter() - - - NbEntites - stateChanged(int) - HomardDlg - SetNbEntites() - - - Histo - stateChanged(int) - HomardDlg - SetHisto() - - - Qualite - stateChanged(int) - HomardDlg - SetQualite() - - - Volumes - stateChanged(int) - HomardDlg - SetVolumes() - - - bilans - stateChanged(int) - HomardDlg - SetBilans() - - - - SetNomFichier() - PushNomFichier() - SetMaillage() - SetNbEntites() - Lancement() - SetInter() - SetBilans() - SetConnexite() - SetHisto() - SetQualite() - SetVolumes() - - - diff --git a/src/HOMARDGUI/ui/HomardEditLog.ui b/src/HOMARDGUI/ui/HomardEditLog.ui deleted file mode 100644 index bc8613a3..00000000 --- a/src/HOMARDGUI/ui/HomardEditLog.ui +++ /dev/null @@ -1,60 +0,0 @@ - -HomardEditLog - - - HomardEditLog - - - - 0 - 0 - 487 - 338 - - - - Homard : - - - true - - - - lblTypeMesh - - - - 457 - 16 - 16 - 28 - - - - - - - image0 - - - - - FileEditeur - - - - 0 - 0 - 490 - 340 - - - - - - - 89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff610000019449444154388da593316b1b411046df86341764588104b75708e2224d4c50bb1748e18021977f18489bceed152e03b96b83c14d2ae36295c2e41624d81108c6857cc9099f0dc1d30cb3cb37f398fdd6344dc373e2c5b3d4c0cb615196a55a6b89313296cfbf9d63ad65cbd68c12d88925dc0454f5418e3172fae994555c3d4e103791ec28e3eb97063b77c8bac3cd1d1fab575c5d2ac6185495b66dc777602796b44e07e24e3a7e7cffc3db77e6effd300e1af404923a9c73a49de07287887075a9c44da458142c4f96fa24819b3b92086e661111f2dc21d2117eed77911d654f13ecc53922c2ebdc219270b329d7b7ad699ac6b46dfbf82ba475c2e539b28bb8dcd16d3ab6bb9fe6faf75e5496a50e35e33b10c1cd1ce97e324055550a60ad6579b2d4be1e27984de924914d32fac9755d9beaacd27013288a82baae8df75e477d9024319d64ac6e3b0cff1c1a42a058147dd618e34302630cef3f141cbf317c3e3b06a0691ad34f1e12a8ea6183fa627f18c2bd8d43c07baf00c5a2a0bea84d9fabaad2b66d8df99fefecbdd7819d8df75eef005295fc1dc06daa230000000049454e44ae426082 - - - - diff --git a/src/HOMARDGUI/ui/HomardIteration.ui b/src/HOMARDGUI/ui/HomardIteration.ui deleted file mode 100644 index 72e661a5..00000000 --- a/src/HOMARDGUI/ui/HomardIteration.ui +++ /dev/null @@ -1,218 +0,0 @@ - -HomardIteration - - - HomardIteration - - - - 0 - 0 - 533 - 112 - - - - Homard : Iteration Control - - - true - - - - lblTypeMesh - - - - 497 - 38 - 16 - 26 - - - - - - - image0 - - - - - IterBox - - - - 140 - 10 - 41 - 21 - - - - - - NomFichier - - - - 180 - 40 - 310 - 21 - - - - - 250 - 21 - - - - - - PushFichier - - - - 144 - 39 - 24 - 24 - - - - - - - image1 - - - - - buttonOk - - - - 366 - 80 - 58 - 21 - - - - Refine - - - - - - true - - - true - - - - - buttonCancel - - - - 430 - 80 - 60 - 21 - - - - &Cancel - - - - - - true - - - - - textLabel1 - - - - 10 - 10 - 120 - 21 - - - - Iteration Rank - - - - - lblCommande - - - - 7 - 37 - 128 - 28 - - - - Configuration File - - - - - - 89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff610000019449444154388da593316b1b411046df86341764588104b75708e2224d4c50bb1748e18021977f18489bceed152e03b96b83c14d2ae36295c2e41624d81108c6857cc9099f0dc1d30cb3cb37f398fdd6344dc373e2c5b3d4c0cb615196a55a6b89313296cfbf9d63ad65cbd68c12d88925dc0454f5418e3172fae994555c3d4e103791ec28e3eb97063b77c8bac3cd1d1fab575c5d2ac6185495b66dc777602796b44e07e24e3a7e7cffc3db77e6effd300e1af404923a9c73a49de07287887075a9c44da458142c4f96fa24819b3b92086e661111f2dc21d2117eed77911d654f13ecc53922c2ebdc219270b329d7b7ad699ac6b46dfbf82ba475c2e539b28bb8dcd16d3ab6bb9fe6faf75e5496a50e35e33b10c1cd1ce97e324055550a60ad6579b2d4be1e27984de924914d32fac9755d9beaacd27013288a82baae8df75e477d9024319d64ac6e3b0cff1c1a42a058147dd618e34302630cef3f141cbf317c3e3b06a0691ad34f1e12a8ea6183fa627f18c2bd8d43c07baf00c5a2a0bea84d9fabaad2b66d8df99fefecbdd7819d8df75eef005295fc1dc06daa230000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d49484452000000140000001408060000008d891d0d0000009849444154388db5d4cb1180200c0450e3580f056c49f6c0c91e2c690bb0213d7110123e417373c0371b3408c9e5cb5a3fd5fe00b79e4d006e6b8da40c83a98ef37a3dc73d147bbac0940208778ee6d57d86009a583798635aaba99a2d6b18490182faa1aa092dacf68e5893e2c1cc845e4c0567b0029cc5d4843398097ab1022429710fcb715ed50b6128e12caa4e4a9a044fdbe68fedad0767bd6302a986f8310000000049454e44ae426082 - - - - - NomFichier - returnPressed() - HomardIteration - SetNomFichier() - - - buttonOk - clicked() - HomardIteration - Lancement() - - - buttonCancel - clicked() - HomardIteration - close() - - - PushFichier - pressed() - HomardIteration - PushNomFichier() - - - IterBox - valueChanged(int) - HomardIteration - ChangeIter(int) - - - - Lancement() - SetNomFichier() - PushNomFichier() - ChangeIter(int) - - - diff --git a/src/HOMARDGUI/ui/HomardPourLesNuls.ui b/src/HOMARDGUI/ui/HomardPourLesNuls.ui deleted file mode 100644 index 25b6d000..00000000 --- a/src/HOMARDGUI/ui/HomardPourLesNuls.ui +++ /dev/null @@ -1,738 +0,0 @@ - -HomardPourLesNuls - - - HomardPourLesNuls - - - - 0 - 0 - 563 - 375 - - - - Homard for Dummies - - - true - - - - unnamed - - - - layout27 - - - - unnamed - - - - layout49 - - - - unnamed - - - - lblCommande - - - MED File - - - - - spacer4 - - - Horizontal - - - Expanding - - - - 120 - 20 - - - - - - layout48 - - - - unnamed - - - - layout26 - - - - unnamed - - - - PushFichier - - - - - - image0 - - - - - NomFichier - - - - 382 - 21 - - - - - - - - lblTypeMesh - - - - - - image1 - - - - - - - - - spacer19 - - - Vertical - - - Expanding - - - - 20 - 29 - - - - - - layout26 - - - - unnamed - - - - spacer20 - - - Horizontal - - - Expanding - - - - 104 - 20 - - - - - - layout25 - - - - unnamed - - - - groupBox2 - - - - - - - unnamed - - - - layout43 - - - - unnamed - - - - layout41 - - - - unnamed - - - - layout34 - - - - unnamed - - - - lblMesh - - - Mesh - - - - - spacer5 - - - Horizontal - - - Expanding - - - - 70 - 20 - - - - - - ListeMeshName - - - - 350 - 31 - - - - - - - - spacer15 - - - Vertical - - - Expanding - - - - 20 - 31 - - - - - - layout40 - - - - unnamed - - - - layout34_2 - - - - unnamed - - - - lblMesh_3 - - - Error Field - - - - - spacer5_2 - - - Horizontal - - - Expanding - - - - 70 - 20 - - - - - - ListeField - - - - 350 - 31 - - - - - - - - layout34_3 - - - - unnamed - - - - lblMesh_2 - - - Componant - - - - - spacer5_3 - - - Horizontal - - - Expanding - - - - 70 - 20 - - - - - - ListeComponant - - - - 350 - 31 - - - - - - - - layout34_4 - - - - unnamed - - - - lblMesh_4 - - - Iteration - - - - - spacer5_4 - - - Horizontal - - - Expanding - - - - 70 - 20 - - - - - - ListeIteration - - - - 350 - 31 - - - - - - - - - - - - spacer16 - - - Vertical - - - Expanding - - - - 31 - 51 - - - - - - layout42 - - - - unnamed - - - - layout38 - - - - unnamed - - - - lblMesh_2_2_2_2 - - - Refinement % - - - - - spacer6_4 - - - Horizontal - - - Expanding - - - - 50 - 20 - - - - - - PRaf - - - - 350 - 0 - - - - false - - - false - - - 30 - - - Horizontal - - - Above - - - 10 - - - - - - - layout38_2 - - - - unnamed - - - - lblMesh_2_2_2_2_3 - - - Unrefinement % - - - - - spacer6_4_2 - - - Horizontal - - - Expanding - - - - 50 - 20 - - - - - - PDeRaf - - - - 350 - 0 - - - - false - - - 0 - - - Horizontal - - - Above - - - 10 - - - - - - - - - - - - - spacer18 - - - Vertical - - - Expanding - - - - 20 - 41 - - - - - - Layout1 - - - - unnamed - - - 0 - - - 6 - - - - Horizontal Spacing2 - - - Horizontal - - - Expanding - - - - 20 - 0 - - - - - - buttonOk - - - &OK - - - - - - true - - - true - - - - - buttonCancel - - - &Cancel - - - - - - true - - - - - - - - - - - - - - - 89504e470d0a1a0a0000000d49484452000000140000001408060000008d891d0d0000009849444154388db5d4cb1180200c0450e3580f056c49f6c0c91e2c690bb0213d7110123e417373c0371b3408c9e5cb5a3fd5fe00b79e4d006e6b8da40c83a98ef37a3dc73d147bbac0940208778ee6d57d86009a583798635aaba99a2d6b18490182faa1aa092dacf68e5893e2c1cc845e4c0567b0029cc5d4843398097ab1022429710fcb715ed50b6128e12caa4e4a9a044fdbe68fedad0767bd6302a986f8310000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff610000019449444154388da593316b1b411046df86341764588104b75708e2224d4c50bb1748e18021977f18489bceed152e03b96b83c14d2ae36295c2e41624d81108c6857cc9099f0dc1d30cb3cb37f398fdd6344dc373e2c5b3d4c0cb615196a55a6b89313296cfbf9d63ad65cbd68c12d88925dc0454f5418e3172fae994555c3d4e103791ec28e3eb97063b77c8bac3cd1d1fab575c5d2ac6185495b66dc777602796b44e07e24e3a7e7cffc3db77e6effd300e1af404923a9c73a49de07287887075a9c44da458142c4f96fa24819b3b92086e661111f2dc21d2117eed77911d654f13ecc53922c2ebdc219270b329d7b7ad699ac6b46dfbf82ba475c2e539b28bb8dcd16d3ab6bb9fe6faf75e5496a50e35e33b10c1cd1ce97e324055550a60ad6579b2d4be1e27984de924914d32fac9755d9beaacd27013288a82baae8df75e477d9024319d64ac6e3b0cff1c1a42a058147dd618e34302630cef3f141cbf317c3e3b06a0691ad34f1e12a8ea6183fa627f18c2bd8d43c07baf00c5a2a0bea84d9fabaad2b66d8df99fefecbdd7819d8df75eef005295fc1dc06daa230000000049454e44ae426082 - - - - - buttonOk - clicked() - HomardPourLesNuls - Lancement() - - - buttonCancel - clicked() - HomardPourLesNuls - reject() - - - ListeComponant - activated(int) - HomardPourLesNuls - SetComponant() - - - ListeField - activated(int) - HomardPourLesNuls - SetError() - - - ListeIteration - activated(int) - HomardPourLesNuls - SetIter() - - - ListeMeshName - activated(int) - HomardPourLesNuls - SetMaillage() - - - NomFichier - returnPressed() - HomardPourLesNuls - SetNomFichier() - - - PRaf - valueChanged(int) - HomardPourLesNuls - ChangeRaf() - - - PRaf - valueChanged(int) - HomardPourLesNuls - ChangeDeRaf() - - - PushFichier - clicked() - HomardPourLesNuls - PushNomFichier() - - - - SetNomFichier() - PushNomFichier() - SetMaillage() - SetError() - SetComponant() - Lancement() - ChangeDeRaf() - SetIter() - ChangeRaf() - - - diff --git a/src/HOMARDGUI/ui/HomardRaffiUniforme.ui b/src/HOMARDGUI/ui/HomardRaffiUniforme.ui deleted file mode 100644 index ac5b4b53..00000000 --- a/src/HOMARDGUI/ui/HomardRaffiUniforme.ui +++ /dev/null @@ -1,383 +0,0 @@ - -HomardRaffi - - - HomardRaffi - - - - 0 - 0 - 533 - 206 - - - - Uniform Refinement - - - true - - - - unnamed - - - - layout32 - - - - unnamed - - - - layout49 - - - - unnamed - - - - lblCommande - - - MED File - - - - - spacer4 - - - Horizontal - - - Expanding - - - - 120 - 20 - - - - - - layout48 - - - - unnamed - - - - layout26 - - - - unnamed - - - - PushFichier - - - - - - image0 - - - - - NomFichier - - - - 382 - 21 - - - - - - - - lblTypeMesh - - - - - - image1 - - - - - - - - - spacer15 - - - Vertical - - - Expanding - - - - 21 - 41 - - - - - - layout31 - - - - unnamed - - - - spacer20 - - - Horizontal - - - Expanding - - - - 104 - 20 - - - - - - layout29 - - - - unnamed - - - - spacer19 - - - Vertical - - - Expanding - - - - 20 - 29 - - - - - - groupBox2 - - - - - - - unnamed - - - - layout34 - - - - unnamed - - - - lblMesh - - - Mesh - - - - - spacer5 - - - Horizontal - - - Expanding - - - - 70 - 20 - - - - - - ListeMeshName - - - - 350 - 31 - - - - - - - - - - spacer18 - - - Vertical - - - Expanding - - - - 20 - 41 - - - - - - Layout1 - - - - unnamed - - - 0 - - - 6 - - - - Horizontal Spacing2 - - - Horizontal - - - Expanding - - - - 20 - 0 - - - - - - buttonOk - - - Refine - - - - - - true - - - true - - - - - buttonCancel - - - &Cancel - - - - - - true - - - - - - - - - - - - - - - 89504e470d0a1a0a0000000d49484452000000140000001408060000008d891d0d0000009849444154388db5d4cb1180200c0450e3580f056c49f6c0c91e2c690bb0213d7110123e417373c0371b3408c9e5cb5a3fd5fe00b79e4d006e6b8da40c83a98ef37a3dc73d147bbac0940208778ee6d57d86009a583798635aaba99a2d6b18490182faa1aa092dacf68e5893e2c1cc845e4c0567b0029cc5d4843398097ab1022429710fcb715ed50b6128e12caa4e4a9a044fdbe68fedad0767bd6302a986f8310000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d49484452000000100000001008060000001ff3ff610000019449444154388da593316b1b411046df86341764588104b75708e2224d4c50bb1748e18021977f18489bceed152e03b96b83c14d2ae36295c2e41624d81108c6857cc9099f0dc1d30cb3cb37f398fdd6344dc373e2c5b3d4c0cb615196a55a6b89313296cfbf9d63ad65cbd68c12d88925dc0454f5418e3172fae994555c3d4e103791ec28e3eb97063b77c8bac3cd1d1fab575c5d2ac6185495b66dc777602796b44e07e24e3a7e7cffc3db77e6effd300e1af404923a9c73a49de07287887075a9c44da458142c4f96fa24819b3b92086e661111f2dc21d2117eed77911d654f13ecc53922c2ebdc219270b329d7b7ad699ac6b46dfbf82ba475c2e539b28bb8dcd16d3ab6bb9fe6faf75e5496a50e35e33b10c1cd1ce97e324055550a60ad6579b2d4be1e27984de924914d32fac9755d9beaacd27013288a82baae8df75e477d9024319d64ac6e3b0cff1c1a42a058147dd618e34302630cef3f141cbf317c3e3b06a0691ad34f1e12a8ea6183fa627f18c2bd8d43c07baf00c5a2a0bea84d9fabaad2b66d8df99fefecbdd7819d8df75eef005295fc1dc06daa230000000049454e44ae426082 - - - - - NomFichier - returnPressed() - HomardRaffi - SetNomFichier() - - - buttonOk - clicked() - HomardRaffi - Lancement() - - - buttonCancel - clicked() - HomardRaffi - close() - - - PushFichier - pressed() - HomardRaffi - PushNomFichier() - - - ListeMeshName - activated(const QString&) - HomardRaffi - SetMaillage() - - - - Lancement() - SetNomFichier() - SetMaillage() - PushNomFichier() - - - diff --git a/src/HOMARD_I/driver_gen_i.cxx b/src/HOMARD_I/driver_gen_i.cxx deleted file mode 100644 index 163217d8..00000000 --- a/src/HOMARD_I/driver_gen_i.cxx +++ /dev/null @@ -1,264 +0,0 @@ -// Copyright (C) 2011 CEA/DEN, EDF R&D -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -// - -#include -#include "driver_gen_i.h" - - -//=========================================================================== - Driver_Base_Gen_i::Driver_Base_Gen_i(CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - PortableServer::ObjectId * contId, - const char *instanceName, - const char *interfaceName) -// :Engines_Component_i(orb, poa, contId, instanceName, interfaceName) - { - MESSAGE("Driver_Base_Gen_i::Driver_Base_Gen_i : "); - }; - -//=========================================================================== - Driver_Base_Gen_i::~Driver_Base_Gen_i() - { - MESSAGE("Driver_Base_Gen_i::~Driver_Base_Gen_i"); - }; - -//=========================================================================== - CORBA::Boolean Driver_Base_Gen_i::Load(SALOMEDS::SComponent_ptr theComponent, - const SALOMEDS::TMPFile & theStream, - const char* theURL, - bool isMultiFile) - { - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("Driver_Base_Gen_i::Load"); - MESSAGE("Should be implemented"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - return false; - }; - -//=========================================================================== - CORBA::Boolean Driver_Base_Gen_i::LoadASCII(SALOMEDS::SComponent_ptr theComponent, - const SALOMEDS::TMPFile & theStream, - const char* theURL, - bool isMultiFile) - { - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("Driver_Base_Gen_i::LoadASCII"); - MESSAGE("Should be implemented"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - return false; - }; - -//=========================================================================== - char* Driver_Base_Gen_i::LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject, - const char* aLocalPersistentID, - CORBA::Boolean isMultiFile, - CORBA::Boolean isASCII) - { - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("Driver_Base_Gen_i::LocalPersistentIDToIOR"); - MESSAGE("Should be implemented"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - CORBA::String_var aString(""); - return aString._retn(); - }; - -//=========================================================================== - SALOMEDS::TMPFile* Driver_Base_Gen_i::Save(SALOMEDS::SComponent_ptr theComponent, - const char* theURL, - bool isMultiFile) - { - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("Driver_Base_Gen_i::Save"); - MESSAGE("Should be implemented"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - SALOMEDS::TMPFile_var aStreamFile = new SALOMEDS::TMPFile(0); - return aStreamFile._retn(); - }; - -//=========================================================================== - SALOMEDS::TMPFile* Driver_Base_Gen_i::SaveASCII(SALOMEDS::SComponent_ptr theComponent, - const char* theURL, - bool isMultiFile) - { - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("Driver_Base_Gen_i::SaveASCII"); - MESSAGE("Should be implemented"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - SALOMEDS::TMPFile_var aStreamFile = new SALOMEDS::TMPFile(0); - return aStreamFile._retn(); - }; - -//=========================================================================== - char* Driver_Base_Gen_i::IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject, - const char* IORString, - CORBA::Boolean isMultiFile, - CORBA::Boolean isASCII) - { - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("Driver_Base_Gen_i::IORToLocalPersistentID"); - MESSAGE("Should be implemented"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - CORBA::String_var aString(""); - return aString._retn(); - }; - - -//=========================================================================== - void Driver_Base_Gen_i::Close(SALOMEDS::SComponent_ptr theComponent) - { - MESSAGE("------------------------"); - MESSAGE("Driver_Base_Gen_i::Close"); - MESSAGE("------------------------"); - }; - -//=========================================================================== - char* Driver_Base_Gen_i::ComponentDataType() - { - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("Driver_Base_Gen_i::ComponentDataType"); - MESSAGE("Should be implemented"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - return CORBA::string_dup("J aurais du nommer mon type prefere"); - }; - -//=========================================================================== - bool Driver_Base_Gen_i::CanPublishInStudy(CORBA::Object_ptr theIOR) - { - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("Driver_Base_Gen_i::CanPublishInStudy"); - MESSAGE("Should be implemented"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - return false; - }; - -//=========================================================================== - SALOMEDS::SObject_ptr Driver_Base_Gen_i::PublishInStudy(SALOMEDS::Study_ptr theStudy, - SALOMEDS::SObject_ptr theSObject, - CORBA::Object_ptr theObject, - const char* theName) - throw (SALOME::SALOME_Exception) - { - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("Driver_Base_Gen_i::PublishInStudy"); - MESSAGE("Should be implemented"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - SALOMEDS::SObject_var aResultSO; - return aResultSO._retn(); - }; - -//=========================================================================== - CORBA::Boolean Driver_Base_Gen_i::CanCopy(SALOMEDS::SObject_ptr theObject) - { - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("Driver_Base_Gen_i::CanCopy"); - MESSAGE("Should be implemented"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - //return false; - return true; - }; - -//=========================================================================== - SALOMEDS::TMPFile* Driver_Base_Gen_i::CopyFrom(SALOMEDS::SObject_ptr theObject, - CORBA::Long& theObjectID) -{ - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("Driver_Base_Gen_i::CopyFrom"); - MESSAGE("Should be implemented"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - MESSAGE("--------------------------------------"); - SALOMEDS::TMPFile_var aStreamFile = new SALOMEDS::TMPFile(0); - return aStreamFile._retn(); -}; - -//=========================================================================== - SALOMEDS::SObject_ptr Driver_Base_Gen_i::PasteInto( const SALOMEDS::TMPFile & theStream, - CORBA::Long theObjectID, - SALOMEDS::SObject_ptr theSObject) - { - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("Driver_Base_Gen_i::PasteInto"); - MESSAGE("Should be implemented"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - SALOMEDS::SObject_var aResultSO; - return aResultSO._retn(); - }; - -//=========================================================================== - CORBA::Boolean Driver_Base_Gen_i::CanPaste ( const char *theComponentName, - CORBA::Long theObjectID) - { - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("Driver_Base_Gen_i::CanPaste"); - MESSAGE("Should be implemented"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - MESSAGE("-----------------------------------------"); - return false; - }; - - diff --git a/src/HOMARD_I/driver_gen_i.h b/src/HOMARD_I/driver_gen_i.h deleted file mode 100644 index 3e79d5c8..00000000 --- a/src/HOMARD_I/driver_gen_i.h +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (C) 2011 CEA/DEN, EDF R&D -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -// - -#ifndef __DRIVER_BAS_GEN_I_H__ -#define __DRIVER_BAS_GEN_I_H__ - -#include "SALOME_Component_i.hxx" -#include "SALOME_NamingService.hxx" - -#include CORBA_CLIENT_HEADER(SALOMEDS) - - -//--------------------------------------------------------- - class Driver_Base_Gen_i : - public virtual POA_SALOMEDS::Driver -//--------------------------------------------------------- - { - - - Driver_Base_Gen_i(); - public: - Driver_Base_Gen_i(CORBA::ORB_ptr orb, - PortableServer::POA_ptr poa, - PortableServer::ObjectId * contId, - const char *instanceName, - const char *interfaceName); - - - virtual ~Driver_Base_Gen_i(); - - //--------------------------------------------- - // inherited methods from SALOMEDS::Driver - //--------------------------------------------- - - //virtual SALOMEDS::TMPFile* Save(SALOMEDS::SComponent_ptr theComponent, - SALOMEDS::TMPFile* Save(SALOMEDS::SComponent_ptr theComponent, - const char* theURL, - bool isMultiFile); - - virtual SALOMEDS::TMPFile* SaveASCII(SALOMEDS::SComponent_ptr theComponent, - const char* theURL, - bool isMultiFile); - - virtual bool Load(SALOMEDS::SComponent_ptr, - const SALOMEDS::TMPFile &, - const char* theURL, - bool isMultiFile); - - virtual bool LoadASCII(SALOMEDS::SComponent_ptr, - const SALOMEDS::TMPFile &, - const char* theURL, - bool isMultiFile); - - virtual void Close(SALOMEDS::SComponent_ptr IORSComponent); - - virtual char* ComponentDataType(); - - virtual char* IORToLocalPersistentID(SALOMEDS::SObject_ptr theSObject, - const char* IORString, - CORBA::Boolean isMultiFile, - CORBA::Boolean isASCII); - - virtual char* LocalPersistentIDToIOR(SALOMEDS::SObject_ptr theSObject, - const char* aLocalPersistentID, - CORBA::Boolean isMultiFile, - CORBA::Boolean isASCII); - - virtual bool CanPublishInStudy(CORBA::Object_ptr theIOR); - - virtual SALOMEDS::SObject_ptr PublishInStudy - (SALOMEDS::Study_ptr theStudy, - SALOMEDS::SObject_ptr theSObject, - CORBA::Object_ptr theObject, - const char* theName) - throw (SALOME::SALOME_Exception); - - virtual CORBA::Boolean CanCopy(SALOMEDS::SObject_ptr theObject); - - virtual SALOMEDS::TMPFile* CopyFrom(SALOMEDS::SObject_ptr theObject, - CORBA::Long& theObjectID); - - virtual CORBA::Boolean CanPaste(const char* theComponentName, - CORBA::Long theObjectID); - - virtual SALOMEDS::SObject_ptr PasteInto(const SALOMEDS::TMPFile& theStream, - CORBA::Long theObjectID, - SALOMEDS::SObject_ptr theObject); - }; -#endif -- 2.39.2