MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / MapKey

Class MapKey

src/yvalve/PluginManager.cpp:624–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

destroyMethod · 0.85
nextMethod · 0.85
registerPluginFactoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected