| 622 | |
| 623 | |
| 624 | class MapKey : public AutoStorage |
| 625 | { |
| 626 | public: |
| 627 | MapKey(unsigned int ptype, const PathName& pname) |
| 628 | : type(ptype), name(getPool(), pname) |
| 629 | { } |
| 630 | |
| 631 | MapKey(MemoryPool& p, const MapKey& mk) |
| 632 | : AutoStorage(p), type(mk.type), name(getPool(), mk.name) |
| 633 | { } |
| 634 | |
| 635 | bool operator<(const MapKey& c) const { return type < c.type || (type == c.type && name < c.name); } |
| 636 | bool operator==(const MapKey& c) const { return type == c.type && name == c.name; } |
| 637 | bool operator>(const MapKey& c) const { return type > c.type || (type == c.type && name > c.name); } |
| 638 | private: |
| 639 | unsigned int type; |
| 640 | PathName name; |
| 641 | }; |
| 642 | |
| 643 | static bool destroyingPluginsMap = false; |
| 644 |
no outgoing calls
no test coverage detected