|
Leonardus
|
Central registry for all core code entries. More...
#include <registry.h>
Collaboration diagram for Registry:Classes | |
| struct | CoreCodeMetadata |
| Internal representation of a core code entry. More... | |
Public Types | |
| enum class | CCIntention : std::uint8_t { SystemDict , LeoDict , Loop , Odo , Compatibility } |
| Intention of a core code entry. More... | |
Static Public Member Functions | |
| static bool | lookUp (core_t *p_core) |
| Checks if core code is in the static table. | |
| static std::string_view | lookUpName (core_t *p_core) |
| Finds the name of a core code. | |
| static size_t | lookUpStackusage (core_t *p_core) |
| Finds the stackusage of a core code. | |
| static core_t * | lookUpCoreCode (std::string_view p_name) |
| Finds the core code for a name. | |
| static std::vector< std::pair< std::string_view, core_t * > > | getPopulate (CCIntention p_int) |
| Assembles a vector with all core code entries of a specific intention. | |
Static Private Attributes | |
| static const std::unordered_map< core_t *, CoreCodeMetadata > | coreCodeTable_ |
| Table of all core code entries. | |
Central registry for all core code entries.
Provides lookup and dictionary population functionality.
|
strong |
Intention of a core code entry.
|
static |
Assembles a vector with all core code entries of a specific intention.
| [in] | p_int | The intention of the entries to include. |
|
inlinestatic |
Checks if core code is in the static table.
| [in] | p_core | The core code to look up. |
|
static |
Finds the core code for a name.
Look up with O(n).
| [in] | p_name | The name to look up. |
|
static |
Finds the name of a core code.
Look up with hash.
| [in] | p_core | The core code to look up. |
|
static |
Finds the stackusage of a core code.
Look up with hash.
| [in] | p_core | The core code to look up. |