1 // HOMARD HOMARD : implementaion of HOMARD idl descriptions
3 // Copyright (C) 2011-2012 CEA/DEN, EDF R&D
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License.
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 // File : HOMARD_Iteration.hxx
22 // Author : Paul RASCLE, EDF
26 // L'ordre de description des fonctions est le meme dans tous les fichiers
27 // HOMARD_aaaa.idl, HOMARD_aaaa.hxx, HOMARD_aaaa.cxx, HOMARD_aaaa_i.hxx, HOMARD_aaaa_i.cxx :
28 // 1. Les generalites : Name, Delete, DumpPython, Dump, Restore
29 // 2. Les caracteristiques
30 // 3. Le lien avec les autres structures
32 // Quand les 2 fonctions Setxxx et Getxxx sont presentes, Setxxx est decrit en premier
34 #ifndef _HOMARD_ITER_HXX_
35 #define _HOMARD_ITER_HXX_
40 class HOMARD_Iteration
47 void SetName( const char* Name );
48 std::string GetName() const;
50 std::string GetDumpPython() const;
53 void SetDirName( const char* NomDir );
54 std::string GetDirName() const;
56 void SetNumber( int NumIter );
57 int GetNumber() const;
59 void SetEtat( bool etat );
62 void SetMeshName( const char* NomMesh );
63 std::string GetMeshName() const;
65 void SetMeshFile( const char* MeshFile );
66 std::string GetMeshFile() const;
68 void SetFieldFile( const char* FieldFile );
69 std::string GetFieldFile() const;
70 void SetTimeStepRank( int TimeStep, int Rank );
71 void SetTimeStepRankLast();
72 int GetTimeStep() const;
75 void SetMessFile( const char* MessFile );
76 std::string GetMessFile() const;
78 // Liens avec les autres iterations
79 void LinkNextIteration( const char* NomIteration );
80 void UnLinkNextIteration( const char* NomIteration );
81 void UnLinkNextIterations();
82 const std::list<std::string>& GetIterations() const;
84 void SetIterParentName( const char* iterParent );
85 std::string GetIterParentName() const;
87 // Liens avec les autres structures
88 void SetCaseName( const char* NomCas );
89 std::string GetCaseName() const;
91 void SetHypoName( const char* NomHypo );
92 std::string GetHypoName() const;
99 std::string _MeshFile;
100 std::string _FieldFile;
103 std::string _MessFile;
104 std::string _IterParent;
105 std::string _NomHypo;
108 std::list<std::string> _mesIterFilles;