Pulls manifest inner type aliases into a class's scope. More...
#include <ManifestAliases.h>
Pulls manifest inner type aliases into a class's scope.
ManifestAliases<Manifest> inherits from the Extract* helpers above, each of which conditionally introduces one using alias. Only the aliases whose corresponding enum exists in Manifest are injected — missing enums simply produce an empty base class with no ambiguity or compile error.
The result is that any class inheriting ManifestAliases can write Images::Background, Fonts::Main, etc. directly, without fully qualifying the manifest type every time.
| Manifest member | Alias introduced |
|---|---|
Manifest::Images | Images |
Manifest::Fonts | Fonts |
Manifest::Sounds | Sounds |
Manifest::State | State |
Manifest::Flags | Flags |
Manifest::Event | Event |
ManifestAliases is inherited automatically through ManifestResources. Direct use is uncommon outside framework internals.
Definition at line 131 of file ManifestAliases.h.