ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since 8c17ab0 was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
398 bytes
|
Rev | Line | |
---|
[51b7345] | 1 | /* |
---|
| 2 | * This file is part of the Cforall project |
---|
| 3 | * |
---|
| 4 | * $Id: UniqueName.h,v 1.1 2002/04/30 03:30:14 rcbilson Exp $ |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #ifndef UNIQUENAME_H |
---|
| 9 | #define UNIQUENAME_H |
---|
| 10 | |
---|
| 11 | #include <string> |
---|
| 12 | |
---|
| 13 | class UniqueName |
---|
| 14 | { |
---|
| 15 | public: |
---|
| 16 | UniqueName( const std::string &base = "" ); |
---|
| 17 | |
---|
| 18 | std::string newName( const std::string &additional = "" ); |
---|
| 19 | |
---|
| 20 | private: |
---|
| 21 | std::string base; |
---|
| 22 | int count; |
---|
| 23 | }; |
---|
| 24 | |
---|
| 25 | #endif /* #ifndef UNIQUENAME_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.