| 48 | } |
| 49 | |
| 50 | uint32_t ComponentContext::incSortIndexSize(Sort::SortType ST) noexcept { |
| 51 | switch (ST) { |
| 52 | case Sort::SortType::Func: |
| 53 | return addFunc(); |
| 54 | case Sort::SortType::Value: |
| 55 | return addValue(); |
| 56 | case Sort::SortType::Type: |
| 57 | return addType(); |
| 58 | case Sort::SortType::Component: |
| 59 | return addComponent(); |
| 60 | case Sort::SortType::Instance: |
| 61 | return addInstance(); |
| 62 | default: |
| 63 | return 0; |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | uint32_t |
| 68 | ComponentContext::incCoreSortIndexSize(Sort::CoreSortType ST) noexcept { |