#include <desctranslation.h>
◆ DescEntryMap
◆ GroupIdMap
◆ DescTranslation() [1/2]
◆ DescTranslation() [2/2]
◆ MAXON_DISALLOW_COPY_AND_ASSIGN()
◆ MAXON_OPERATOR_MOVE_ASSIGNMENT()
◆ FindTranslationDescID()
Finds the translation structure matching the given DescID.
- Note
- Would be best to have a reverse HashMap<BaseArray<InternedId>, DescID> for a fast reverse mapping, when we can edit DescTranslation content.
- Parameters
-
[in] | id | The description identifier to search for. |
- Returns
- Entry pointer on success, nullptr otherwise.
◆ ReverseFindTranslationDescID()
const DescEntryMap::Entry* ReverseFindTranslationDescID |
( |
const Block< const InternedId > & |
emulKey | ) |
const |
Finds the legacy DescID corresponding to the given identifier. This is a reverse search in regards of FindTranslationDescID;
- Parameters
-
[in] | emulKey | The emulation key to search for. |
- Returns
- Entry pointer on success, nullptr otherwise.
◆ _descIdMap
◆ _groupIdMap