MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
mstruct_analyse.h
Aller à la documentation de ce fichier.
1 //####//------------------------------------------------------------
2 //####//------------------------------------------------------------
3 //####// MAGiC
4 //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5 //####// Departement de Genie Mecanique - UQTR
6 //####//------------------------------------------------------------
7 //####// MAGIC est un projet de recherche de l equipe ERICCA
8 //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9 //####// http://www.uqtr.ca/ericca
10 //####// http://www.uqtr.ca/
11 //####//------------------------------------------------------------
12 //####//------------------------------------------------------------
13 //####//
14 //####// mstruct_analyse.h
15 //####//
16 //####//------------------------------------------------------------
17 //####//------------------------------------------------------------
18 //####// COPYRIGHT 2000-2024
19 //####// jeu 13 jun 2024 11:58:57 EDT
20 //####//------------------------------------------------------------
21 //####//------------------------------------------------------------
22 #ifndef _MSTRUCT_ANALYSE_
23 #define _MSTRUCT_ANALYSE_
24 #include <fstream>
25 typedef void fonction_affiche(char *);
26 
27 class BOITE_3D;
28 class MSTRUCT_VES;
29 
31 {
32 public:
33  MSTRUCT_ANALYSE(void);
34  MSTRUCT_ANALYSE(std::string identifiant,std::string nom_groupe_forme="",BOITE_3D* boite_3d=NULL);
35  MSTRUCT_ANALYSE(MSTRUCT_VES* ves,std::string identifiant,std::string nom_groupe_forme="",BOITE_3D* boite_3d=NULL);
36  MSTRUCT_ANALYSE(MSTRUCT_ANALYSE &mdd,bool cpy_data=true);
37  ~MSTRUCT_ANALYSE(void);
38  MSTRUCT_VES* get_ves(void);
39  std::string get_identifiant(void);
40  void change_identifiant(std::string identifiant);
41  virtual void change_boite_analyse(BOITE_3D boite_3d);
42  virtual BOITE_3D *get_boite_analyse(void);
43  virtual void change_nom_groupe_forme(std::string nom_groupe_forme);
44  virtual std::string get_nom_groupe_forme(void);
45  virtual long get_type(void)=0;
46  virtual void exporter(std::ofstream& ofstrm, long i, bool avec_entete=false, bool avec_graph=false, char* prefix_graph = (char*)"")=0;
47  virtual void enregistrer(std::ofstream& ofstrm);
48  virtual void ouvrir(std::ifstream& ifstrm);
49  virtual void affiche_contenu(fonction_affiche *fonc);
50  virtual void executer(void)=0;
51 protected:
52  std::string m_identifiant;
54  std::string m_nom_groupe_forme;
56 };
57 
58 #endif
MSTRUCT_ANALYSE::exporter
virtual void exporter(std::ofstream &ofstrm, long i, bool avec_entete=false, bool avec_graph=false, char *prefix_graph=(char *)"")=0
MSTRUCT_ANALYSE::get_type
virtual long get_type(void)=0
MSTRUCT_ANALYSE::enregistrer
virtual void enregistrer(std::ofstream &ofstrm)
Definition: mstruct_analyse.cpp:100
MSTRUCT_ANALYSE::m_boite_analyse
BOITE_3D * m_boite_analyse
Definition: mstruct_analyse.h:53
MSTRUCT_ANALYSE::get_boite_analyse
virtual BOITE_3D * get_boite_analyse(void)
Definition: mstruct_analyse.cpp:85
MSTRUCT_ANALYSE::m_nom_groupe_forme
std::string m_nom_groupe_forme
Definition: mstruct_analyse.h:54
MSTRUCT_ANALYSE::get_ves
MSTRUCT_VES * get_ves(void)
Definition: mstruct_analyse.cpp:64
MSTRUCT_ANALYSE::m_ves
MSTRUCT_VES * m_ves
Definition: mstruct_analyse.h:55
fonction_affiche
void fonction_affiche(char *)
Definition: mstruct_analyse.h:25
MSTRUCT_ANALYSE
Definition: mstruct_analyse.h:30
MSTRUCT_ANALYSE::get_nom_groupe_forme
virtual std::string get_nom_groupe_forme(void)
Definition: mstruct_analyse.cpp:95
MSTRUCT_ANALYSE::change_identifiant
void change_identifiant(std::string identifiant)
Definition: mstruct_analyse.cpp:69
MSTRUCT_VES
Definition: mstruct_ves.h:45
MSTRUCT_ANALYSE::executer
virtual void executer(void)=0
BOITE_3D
Definition: ot_boite_3d.h:27
MSTRUCT_ANALYSE::get_identifiant
std::string get_identifiant(void)
Definition: mstruct_analyse.cpp:74
MSTRUCT_ANALYSE::affiche_contenu
virtual void affiche_contenu(fonction_affiche *fonc)
Definition: mstruct_analyse.cpp:171
MSTRUCT_ANALYSE::change_boite_analyse
virtual void change_boite_analyse(BOITE_3D boite_3d)
Definition: mstruct_analyse.cpp:79
MSTRUCT_ANALYSE::change_nom_groupe_forme
virtual void change_nom_groupe_forme(std::string nom_groupe_forme)
Definition: mstruct_analyse.cpp:90
MSTRUCT_ANALYSE::m_identifiant
std::string m_identifiant
Definition: mstruct_analyse.h:52
MSTRUCT_ANALYSE::ouvrir
virtual void ouvrir(std::ifstream &ifstrm)
Definition: mstruct_analyse.cpp:131
MSTRUCT_ANALYSE::MSTRUCT_ANALYSE
MSTRUCT_ANALYSE(void)
Definition: mstruct_analyse.cpp:24
MSTRUCT_ANALYSE::~MSTRUCT_ANALYSE
~MSTRUCT_ANALYSE(void)
Definition: mstruct_analyse.cpp:59