ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mecanique/src/mc_materiau.h
Revision: 283
Committed: Tue Sep 13 21:11:20 2011 UTC (13 years, 8 months ago) by francois
Content type: text/plain
Original Path: magic/lib/materiau/src/mt_materiau.h
File size: 1901 byte(s)
Log Message:
structure de l'écriture

File Contents

# User Rev Content
1 francois 283 //------------------------------------------------------------
2     //------------------------------------------------------------
3     // MAGiC
4     // Jean Christophe Cuilli�re et Vincent FRANCOIS
5     // D�partement de G�nie M�canique - UQTR
6     //------------------------------------------------------------
7     // Le projet MAGIC est un projet de recherche du d�partement
8     // de g�nie m�canique de l'Universit� du Qu�bec �
9     // Trois Rivi�res
10     // Les librairies ne peuvent �tre utilis�es sans l'accord
11     // des auteurs (contact : francois@uqtr.ca)
12     //------------------------------------------------------------
13     //------------------------------------------------------------
14     //
15     // mt_materiau.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 � 11H23
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23    
24     #ifndef mt_materiauH
25     #define mt_materiauH
26     //---------------------------------------------------------------------------
27     #ifdef WINDOWS_VERSION
28     #ifdef BUILT_DLL_MAT
29     #define DLLPORTMAT __declspec(dllexport)
30     #else
31     #define DLLPORTMAT __declspec(dllimport)
32     #endif
33     #else
34     #define DLLPORTMAT
35     #endif
36    
37    
38     #include "tpl_liste_entite.h"
39     #include <string>
40    
41     class DLLPORTMAT MT_MATERIAU
42     {
43     public:
44     MT_MATERIAU(char* valnom,char*valdes);
45     ~MT_MATERIAU();
46    
47    
48     class MT_PROPRIETE* ajouter_propriete(char* nom,double val1,char* unite1,double val2,char* unite2,double val3,char* unite3);
49     int get_nb_propriete();
50     class MT_PROPRIETE* get_propriete(int num);
51     char* get_nom(void);
52     char* get_description(void);
53     class MT_PROPRIETE* get_propriete(char *nom);
54    
55    
56     private:
57     std::string nom;
58     std::string description;
59     TPL_LISTE_ENTITE<class MT_PROPRIETE*> lst_prop;
60     };
61    
62    
63    
64     #endif