1 |
couturad |
919 |
#ifndef _MSTRUCT_ANALYSE_ |
2 |
|
|
#define _MSTRUCT_ANALYSE_ |
3 |
couturad |
968 |
#include <fstream> |
4 |
couturad |
951 |
typedef void fonction_affiche(char *); |
5 |
|
|
|
6 |
couturad |
968 |
class BOITE_3D; |
7 |
|
|
class MSTRUCT_VES; |
8 |
|
|
|
9 |
couturad |
951 |
class MSTRUCT_ANALYSE |
10 |
couturad |
919 |
{ |
11 |
couturad |
951 |
public: |
12 |
|
|
MSTRUCT_ANALYSE(void); |
13 |
couturad |
968 |
MSTRUCT_ANALYSE(std::string identifiant,std::string nom_groupe_forme="",BOITE_3D* boite_3d=NULL); |
14 |
|
|
MSTRUCT_ANALYSE(MSTRUCT_VES* ves,std::string identifiant,std::string nom_groupe_forme="",BOITE_3D* boite_3d=NULL); |
15 |
|
|
MSTRUCT_ANALYSE(MSTRUCT_ANALYSE &mdd,bool cpy_data=true); |
16 |
couturad |
951 |
~MSTRUCT_ANALYSE(void); |
17 |
couturad |
968 |
MSTRUCT_VES* get_ves(void); |
18 |
couturad |
951 |
std::string get_identifiant(void); |
19 |
|
|
void change_identifiant(std::string identifiant); |
20 |
|
|
virtual void change_boite_analyse(BOITE_3D boite_3d); |
21 |
|
|
virtual BOITE_3D *get_boite_analyse(void); |
22 |
|
|
virtual void change_nom_groupe_forme(std::string nom_groupe_forme); |
23 |
|
|
virtual std::string get_nom_groupe_forme(void); |
24 |
|
|
virtual long get_type(void)=0; |
25 |
couturad |
968 |
virtual void exporter(std::ofstream& ofstrm, long i, bool avec_entete=false, bool avec_graph=false, char* prefix_graph = (char*)"")=0; |
26 |
couturad |
951 |
virtual void enregistrer(std::ofstream& ofstrm); |
27 |
|
|
virtual void ouvrir(std::ifstream& ifstrm); |
28 |
|
|
virtual void affiche_contenu(fonction_affiche *fonc); |
29 |
couturad |
968 |
virtual void executer(void)=0; |
30 |
couturad |
951 |
protected: |
31 |
|
|
std::string m_identifiant; |
32 |
|
|
BOITE_3D *m_boite_analyse; |
33 |
|
|
std::string m_nom_groupe_forme; |
34 |
couturad |
968 |
MSTRUCT_VES* m_ves; |
35 |
couturad |
951 |
}; |
36 |
couturad |
926 |
|
37 |
couturad |
968 |
#endif |