ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/sat/src/sat_identificateur.h
Revision: 5
Committed: Tue Jun 12 20:26:34 2007 UTC (17 years, 11 months ago)
Content type: text/plain
Original Path: magic/lib/sat/sat/src/sat_identificateur.h
File size: 1684 byte(s)
Log Message:

File Contents

# User Rev Content
1 5 //------------------------------------------------------------
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     // sat_identificateur.h
16     //
17     //------------------------------------------------------------
18     //------------------------------------------------------------
19     // COPYRIGHT 2000
20     // Version du 02/03/2006 à 11H24
21     //------------------------------------------------------------
22     //------------------------------------------------------------
23     #ifndef __SATIDENT_
24     #define __SATIDENT_
25    
26     #include <iostream>
27    
28     #ifdef WINDOWS_VERSION
29     #ifdef BUILT_DLL_SATLIB
30     #define DLLPORTSAT __declspec(dllexport)
31     #else
32     #define DLLPORTSAT __declspec(dllimport)
33     #endif
34     #else
35     #define DLLPORTSAT
36     #endif
37    
38     //using namespace std;
39    
40    
41     class DLLPORTSAT SAT_IDENTIFICATEUR
42     {
43     public :
44     SAT_IDENTIFICATEUR(unsigned long num);
45     SAT_IDENTIFICATEUR();
46     SAT_IDENTIFICATEUR(SAT_IDENTIFICATEUR& mdd);
47     virtual ~SAT_IDENTIFICATEUR();
48    
49     unsigned long get_id();
50     unsigned long get_id() const;
51    
52     private :
53     const unsigned long id;
54     static unsigned long idmax;
55     };
56    
57    
58    
59    
60    
61    
62     #endif