1 |
francois |
1158 |
//####//------------------------------------------------------------ |
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 |
|
|
//####// mc_propriete.h |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 17:15:00 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
francois |
283 |
|
23 |
francois |
296 |
#ifndef mc_proprieteH |
24 |
|
|
#define mc_proprieteH |
25 |
francois |
283 |
|
26 |
|
|
|
27 |
|
|
|
28 |
francois |
1158 |
|
29 |
|
|
|
30 |
francois |
283 |
#include <map> |
31 |
|
|
|
32 |
|
|
|
33 |
francois |
1158 |
|
34 |
francois |
283 |
#include <string> |
35 |
|
|
|
36 |
francois |
1158 |
class MC_PROPRIETE |
37 |
francois |
283 |
{ |
38 |
|
|
public: |
39 |
francois |
296 |
MC_PROPRIETE(char* valeur); |
40 |
|
|
~MC_PROPRIETE(); |
41 |
francois |
283 |
|
42 |
|
|
void change_valeur(int num,double val); |
43 |
|
|
void change_unite(int num,char* val); |
44 |
|
|
double get_valeur(int num); |
45 |
|
|
char* get_unite(int num); |
46 |
|
|
char* get_nom(void); |
47 |
|
|
|
48 |
|
|
private: |
49 |
|
|
std::string nom; |
50 |
|
|
double valeur[3]; |
51 |
|
|
std::string unite[3]; |
52 |
|
|
}; |
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
#endif |