My Project
|
A key for looking up child symbol scopes within a parent, based on name. More...
#include <database.hh>
Public Member Functions | |
ScopeKey (const string &nm, uint4 id) | |
Construct given a name and id. | |
bool | operator< (const ScopeKey &op2) const |
Comparison operator. More... | |
A key for looking up child symbol scopes within a parent, based on name.
A key for mapping from name to Scope. The class includes a deduplication component if Scopes with the same name are allowed.
bool ScopeKey::operator< | ( | const ScopeKey & | op2 | ) | const |
Comparison operator.
Sort first on name, then on dedupId
op2 | is the key to compare with this |