Beispiel #1
0
std::size_t text_template_hasher::hash(const text_template& v) {
    std::size_t seed(0);

    combine(seed, hash_boost_filesystem_path(v.input_path()));
    combine(seed, hash_boost_filesystem_path(v.output_path()));
    combine(seed, v.properties());
    combine(seed, hash_std_unordered_map_std_string_std_string(v.variables()));
    combine(seed, v.body());

    return seed;
}
Beispiel #2
0
std::size_t knitting_options_hasher::hash(const knitting_options& v) {
    std::size_t seed(0);

    combine(seed, v.verbose());
    combine(seed, hash_boost_filesystem_path(v.target()));
    combine(seed, v.delete_extra_files());
    combine(seed, v.force_write());
    combine(seed, hash_std_vector_std_string(v.ignore_patterns()));
    combine(seed, hash_boost_filesystem_path(v.output_directory_path()));

    return seed;
}
Beispiel #3
0
std::size_t file_info_hasher::hash(const file_info&v) {
    std::size_t seed(0);

    combine(seed, v.documentation());
    combine(seed, v.includes());
    combine(seed, v.descriptor());
    combine(seed, v.header_guard());
    combine(seed, hash_boost_filesystem_path(v.file_path()));
    combine(seed, hash_boost_filesystem_path(v.relative_path()));
    combine(seed, hash_boost_shared_ptr_dogen_cpp_entity(v.entity()));

    return seed;
}
std::size_t move_ctor_descendant_hasher::hash(const move_ctor_descendant& v) {
    std::size_t seed(0);

    combine(seed, dynamic_cast<const dogen::test_models::trivial_inheritance::move_ctor_base&>(v));

    combine(seed, hash_boost_filesystem_path(v.prop_1()));
    return seed;
}
Beispiel #5
0
std::size_t class_g_hasher::hash(const class_g& v) {
    std::size_t seed(0);

    combine(seed, hash_boost_filesystem_path(v.prop_0()));
    combine(seed, hash_std_list_boost_filesystem_path(v.prop_1()));

    return seed;
}
Beispiel #6
0
std::size_t descriptor_hasher::hash(const descriptor& v) {
    std::size_t seed(0);

    combine(seed, hash_boost_filesystem_path(v.path()));
    combine(seed, v.extension());
    combine(seed, v.is_target());

    return seed;
}
Beispiel #7
0
std::size_t input_options_hasher::hash(const input_options& v) {
    std::size_t seed(0);

    combine(seed, hash_boost_filesystem_path(v.target()));
    combine(seed, v.external_module_path());
    combine(seed, hash_std_vector_dogen_config_reference(v.references()));

    return seed;
}
Beispiel #8
0
std::size_t stitching_options_hasher::hash(const stitching_options& v) {
    std::size_t seed(0);

    combine(seed, v.verbose());
    combine(seed, hash_boost_filesystem_path(v.target()));
    combine(seed, v.force_write());

    return seed;
}
std::size_t formatter_properties_hasher::hash(const formatter_properties& v) {
    std::size_t seed(0);

    combine(seed, v.enabled());
    combine(seed, hash_boost_filesystem_path(v.file_path()));
    combine(seed, hash_boost_optional_std_string(v.header_guard()));
    combine(seed, hash_std_list_std_string(v.inclusion_dependencies()));
    combine(seed, hash_std_unordered_set_std_string(v.integrated_facets()));

    return seed;
}
Beispiel #10
0
std::size_t stitching_properties_hasher::hash(const stitching_properties& v) {
    std::size_t seed(0);

    combine(seed, v.stream_variable_name());
    combine(seed, hash_boost_filesystem_path(v.relative_output_directory()));
    combine(seed, hash_std_list_std_string(v.inclusion_dependencies()));
    combine(seed, hash_std_list_std_string(v.containing_namespaces()));
    combine(seed, v.wale_template());
    combine(seed, hash_std_unordered_map_std_string_std_string(v.wale_kvps()));

    return seed;
}
std::size_t odb_options_info_hasher::hash(const odb_options_info& v) {
    std::size_t seed(0);

    combine(seed, dynamic_cast<const dogen::quilt::cpp::formattables::formattable&>(v));

    combine(seed, v.model_name());
    combine(seed, v.product_name());
    combine(seed, hash_boost_filesystem_path(v.file_path()));
    combine(seed, v.file_name());
    combine(seed, v.odb_folder());
    combine(seed, hash_boost_optional_dogen_formatters_general_settings(v.general_settings()));

    return seed;
}
Beispiel #12
0
std::size_t move_ctor_base_hasher::hash(const move_ctor_base& v) {
    std::size_t seed(0);

    combine(seed, hash_boost_filesystem_path(v.prop_0()));
    return seed;
}