1 |
francois |
1156 |
//####//------------------------------------------------------------ |
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 |
|
|
//####// ot_reference.h |
15 |
|
|
//####// |
16 |
|
|
//####//------------------------------------------------------------ |
17 |
|
|
//####//------------------------------------------------------------ |
18 |
|
|
//####// COPYRIGHT 2000-2024 |
19 |
|
|
//####// jeu 13 jun 2024 11:53:59 EDT |
20 |
|
|
//####//------------------------------------------------------------ |
21 |
|
|
//####//------------------------------------------------------------ |
22 |
francois |
283 |
#ifndef __OTREFERENCE_ |
23 |
|
|
#define __OTREFERENCE_ |
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
francois |
1156 |
|
28 |
|
|
class OT_REFERENCE |
29 |
francois |
283 |
{ |
30 |
|
|
public : |
31 |
|
|
OT_REFERENCE(); |
32 |
|
|
OT_REFERENCE(OT_REFERENCE& mdd); |
33 |
|
|
virtual ~OT_REFERENCE(); |
34 |
|
|
|
35 |
|
|
void incrementer(void); |
36 |
|
|
void decrementer(void); |
37 |
|
|
int get_nb_reference(void); |
38 |
|
|
|
39 |
|
|
private : |
40 |
|
|
int reference; |
41 |
|
|
}; |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
#endif |