| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 | #ifndef identifier_H
|
|---|
| 7 | #define identifier_H 1
|
|---|
| 8 |
|
|---|
| 9 | // %%%%%%%%%%%
|
|---|
| 10 | // C++ headers
|
|---|
| 11 | // %%%%%%%%%%%
|
|---|
| 12 | #include <string>
|
|---|
| 13 | #include <vector>
|
|---|
| 14 | using namespace std;
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | class identifier
|
|---|
| 18 | {
|
|---|
| 19 | public:
|
|---|
| 20 | identifier(){};
|
|---|
| 21 | ~identifier(){};
|
|---|
| 22 | string name;
|
|---|
| 23 | string rule;
|
|---|
| 24 | int id;
|
|---|
| 25 | double time;
|
|---|
| 26 | double TimeWindow;
|
|---|
| 27 |
|
|---|
| 28 | public:
|
|---|
| 29 | friend ostream &operator<<(ostream &stream, vector<identifier>);
|
|---|
| 30 | bool operator== (const identifier& I) const;
|
|---|
| 31 | bool operator< (const identifier& I) const;
|
|---|
| 32 | bool operator> (const identifier& I) const;
|
|---|
| 33 | bool operator<= (const identifier& I) const {return !(*this > I);}
|
|---|
| 34 | bool operator>= (const identifier& I) const {return !(*this < I);}
|
|---|
| 35 | bool operator!= (const identifier& I) const {return !(*this == I);}
|
|---|
| 36 | };
|
|---|
| 37 |
|
|---|
| 38 | vector<int> set_IDshifts(vector<int>);
|
|---|
| 39 | vector<identifier> SetId(vector<identifier>, G4VTouchable*, double, double);
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.