| Line | |
|---|
| 1 | // ================================================================ // |
|---|
| 2 | // // |
|---|
| 3 | // File : types.h // |
|---|
| 4 | // Purpose : // |
|---|
| 5 | // // |
|---|
| 6 | // Coded by Ralf Westram (coder@reallysoft.de) in November 2006 // |
|---|
| 7 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 8 | // http://www.arb-home.de/ // |
|---|
| 9 | // // |
|---|
| 10 | // ================================================================ // |
|---|
| 11 | #ifndef TYPES_H |
|---|
| 12 | #define TYPES_H |
|---|
| 13 | |
|---|
| 14 | #ifndef DEFS_H |
|---|
| 15 | #include "defs.h" |
|---|
| 16 | #endif |
|---|
| 17 | |
|---|
| 18 | #ifndef _GLIBCXX_MAP |
|---|
| 19 | #include <map> |
|---|
| 20 | #endif |
|---|
| 21 | #ifndef _GLIBCXX_SET |
|---|
| 22 | #include <set> |
|---|
| 23 | #endif |
|---|
| 24 | #ifndef _GLIBCXX_VECTOR |
|---|
| 25 | #include <vector> |
|---|
| 26 | #endif |
|---|
| 27 | |
|---|
| 28 | typedef std::set<std::string> stringSet; |
|---|
| 29 | typedef std::map<std::string, std::string> stringMap; |
|---|
| 30 | typedef std::vector<std::string> stringVector; |
|---|
| 31 | |
|---|
| 32 | DEFINE_NAMED_ITERATORS(std::string, string); |
|---|
| 33 | DEFINE_ITERATORS(stringSet); |
|---|
| 34 | DEFINE_ITERATORS(stringMap); |
|---|
| 35 | DEFINE_ITERATORS(stringVector); |
|---|
| 36 | |
|---|
| 37 | #else |
|---|
| 38 | #error types.h included twice |
|---|
| 39 | #endif // TYPES_H |
|---|
| 40 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.