Template Class ClassMatcherMixin
Defined in File class_matcher_mixin.h
Class Documentation
-
template<class ClassType, typename Key = std::vector<std::type_index>, typename KeyHash = utils::TypeIndexVectorHash, typename KeyEqualTo = std::equal_to<std::vector<std::type_index>>>
class sparsebase::utils::ClassMatcherMixin Protected Functions
-
std::tuple<ClassType, std::vector<std::type_index>> MatchClass(std::unordered_map<std::type_index, ClassType> &source, std::vector<std::type_index> &ordered, unsigned int K)
Protected Attributes
-
std::unordered_map<Key, ClassType, KeyHash, KeyEqualTo> map_
-
std::tuple<ClassType, std::vector<std::type_index>> MatchClass(std::unordered_map<std::type_index, ClassType> &source, std::vector<std::type_index> &ordered, unsigned int K)