Sdk/Binding: Add component access by name

Former-commit-id: 8b5cffb55c526124cddffc9f13a05bbecc638bb9
This commit is contained in:
Lynix
2016-05-05 20:40:25 +02:00
parent d678951c33
commit 5e52988d87
3 changed files with 63 additions and 45 deletions

View File

@@ -21,6 +21,7 @@ namespace Ndk
m_componentBinding.resize(T::componentIndex + 1);
m_componentBinding[T::componentIndex] = std::move(binding);
m_componentBindingByName[name] = T::componentIndex;
}
template<typename T>