Example #1
0
std::size_t helper_descriptor_hasher::hash(const helper_descriptor& v) {
    std::size_t seed(0);

    combine(seed, v.family());
    combine(seed, hash_std_list_std_string(v.namespaces()));
    combine(seed, v.name_identifiable());
    combine(seed, v.name_qualified());
    combine(seed, v.name_tree_qualified());
    combine(seed, v.name_tree_identifiable());
    combine(seed, v.is_simple_type());
    combine(seed, v.is_circular_dependency());

    return seed;
}
Example #2
0
std::size_t helper_descriptor_hasher::hash(const helper_descriptor& v) {
    std::size_t seed(0);

    combine(seed, v.family());
    combine(seed, hash_std_list_std_string(v.namespaces()));
    combine(seed, v.name_identifiable());
    combine(seed, v.name_qualified());
    combine(seed, v.name_tree_qualified());
    combine(seed, v.name_tree_identifiable());
    combine(seed, hash_boost_optional_dogen_quilt_cpp_formattables_streaming_properties(v.streaming_properties()));
    combine(seed, v.is_simple_type());
    combine(seed, v.requires_hashing_helper());
    combine(seed, v.is_circular_dependency());
    combine(seed, v.is_pointer());

    return seed;
}