# | Line 10 | Line 10 | |
---|---|---|
10 | ||
11 | class Pattern { | |
12 | public: | |
13 | < | //typedef std::vector< std::pair <uint32_t, unsigned int > > DataType; |
13 | > | |
14 | typedef std::map<uint32_t, unsigned int > DataType; | |
15 | ||
16 | Pattern() {} | |
17 | ||
18 | + | |
19 | + | static uint32_t rotateDetId(uint32_t rawId, int step); |
20 | + | Pattern getRotated(int step) const; |
21 | + | |
22 | + | |
23 | //is not empty | |
24 | operator bool() const { return theData.size() > 0; } | |
25 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |