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 |
//####// ot_reference.cpp |
15 |
//####// |
16 |
//####//------------------------------------------------------------ |
17 |
//####//------------------------------------------------------------ |
18 |
//####// COPYRIGHT 2000-2024 |
19 |
//####// jeu 13 jun 2024 11:54:00 EDT |
20 |
//####//------------------------------------------------------------ |
21 |
//####//------------------------------------------------------------ |
22 |
|
23 |
|
24 |
|
25 |
#include "ot_reference.h" |
26 |
|
27 |
|
28 |
|
29 |
OT_REFERENCE::OT_REFERENCE():reference(0) |
30 |
{ |
31 |
} |
32 |
OT_REFERENCE::OT_REFERENCE(OT_REFERENCE& mdd):reference(0) |
33 |
{ |
34 |
} |
35 |
|
36 |
OT_REFERENCE::~OT_REFERENCE() |
37 |
{ |
38 |
} |
39 |
|
40 |
void OT_REFERENCE::incrementer(void) |
41 |
{ |
42 |
reference++; |
43 |
} |
44 |
|
45 |
void OT_REFERENCE::decrementer(void) |
46 |
{ |
47 |
reference--; |
48 |
} |
49 |
|
50 |
int OT_REFERENCE::get_nb_reference(void) |
51 |
{ |
52 |
return reference; |
53 |
} |
54 |
|