ROSE
0.9.6a
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
genUID.h
Go to the documentation of this file.
1
#ifndef GEN_UID_H
2
#define GEN_UID_H
3
4
#ifdef THREADED
5
#include "tbb/mutex.h"
6
#endif
7
8
// Generates unique unsigned long ids, with a user-specified minimum id
9
class
genUID
10
{
11
unsigned
long
curUID
;
12
#ifdef THREADED
13
tbb::mutex* uidAccessM;
14
#endif
15
16
public
:
17
// minimum ID defaults to 0
18
genUID
();
19
// minimum ID will be minUID
20
genUID
(
unsigned
long
minUID);
21
22
unsigned
long
getUID
();
23
};
24
25
#endif
rose-edg4x
src
midend
programAnalysis
genericDataflow
genUID.h
Generated on Mon May 5 2014 17:29:23 for ROSE by
1.8.4