X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHOMARD%2FHOMARD_Hypothesis.hxx;h=9b89e81acf4e9c3d18f5dd8cfe755972dabce45a;hb=499468132a2c35186f4f1f44ea9004b4f7c13589;hp=439d43e9c661ee7bc80aefadad8d8900cbcca0db;hpb=f6f5fc5a139003866577563125e8acbc6ec3f42c;p=modules%2Fhomard.git diff --git a/src/HOMARD/HOMARD_Hypothesis.hxx b/src/HOMARD/HOMARD_Hypothesis.hxx index 439d43e9..9b89e81a 100644 --- a/src/HOMARD/HOMARD_Hypothesis.hxx +++ b/src/HOMARD/HOMARD_Hypothesis.hxx @@ -1,11 +1,11 @@ // HOMARD HOMARD : implementation of HOMARD idl descriptions // -// Copyright (C) 2011-2013 CEA/DEN, EDF R&D +// Copyright (C) 2011-2016 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. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -19,7 +19,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // File : HOMARD_Hypothesis.hxx -// Author : Paul RASCLE, EDF +// Author : Gerald NICOLAS, EDF // Module : HOMARD // // Remarques : @@ -34,10 +34,16 @@ #ifndef _HOMARD_HYPOTHESIS_HXX_ #define _HOMARD_HYPOTHESIS_HXX_ +#include "HOMARD.hxx" + #include #include -class HOMARD_Hypothesis +#if defined WIN32 +#pragma warning ( disable: 4251 ) +#endif + +class HOMARDIMPL_EXPORT HOMARD_Hypothesis { public: HOMARD_Hypothesis(); @@ -84,18 +90,21 @@ public: void SetAdapInit( int AdapInit ); const int GetAdapInit() const; - void SetLevelOutput( int LevelOutput ); - const int GetLevelOutput() const; + void SetExtraOutput( int ExtraOutput ); + const int GetExtraOutput() const; - void AddGroup( const char* LeGroupe); + void AddGroup( const char* Group); + void SupprGroup( const char* Group ); + void SupprGroups(); void SetGroups(const std::list& ListGroup ); const std::list& GetGroups() const; void SetTypeFieldInterp( int TypeFieldInterp ); int GetTypeFieldInterp() const; - void AddFieldInterp( const char* FieldInterp ); - void SupprFieldInterp(); - const std::list& GetListFieldInterp() const; + void AddFieldInterpType( const char* FieldInterp, int TypeInterp ); + void SupprFieldInterp( const char* FieldInterp ); + void SupprFieldInterps(); + const std::list& GetFieldInterps() const; // Liens avec les autres structures void SetCaseCreation( const char* NomCasCreation ); @@ -135,13 +144,14 @@ private: int _NivMax; double _DiamMin; int _AdapInit; - int _LevelOutput; + int _ExtraOutput; std::list _ListIter; std::list _ListZone; std::list _ListComp; std::list _ListGroupSelected; std::list _ListFieldInterp; + }; #endif