Sdk/Binding: Add component access by name

Former-commit-id: dd2e5d76254e8ce5e60db62e606c8129d784f528
This commit is contained in:
Lynix
2016-05-05 20:40:25 +02:00
parent 5e5a83f825
commit 51549f8526
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>