本文整理汇总了C++中result_type类的典型用法代码示例。如果您正苦于以下问题:C++ result_type类的具体用法?C++ result_type怎么用?C++ result_type使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了result_type类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: populate
void visual_studio_project_generator::
populate(const unsigned int position, result_type& v) {
dogen::yarn::element_generator::populate(position, v);
v.project_guid(create_std_string(position + 0));
v.project_name(create_std_string(position + 1));
v.tools_version(create_std_string(position + 2));
}
示例2: populate
void outputting_properties_generator::
populate(const unsigned int position, result_type& v) {
v.force_write(create_bool(position + 0));
v.delete_extra_files(create_bool(position + 1));
v.ignore_files_matching_regex(create_std_vector_std_string(position + 2));
v.delete_empty_directories(create_bool(position + 3));
}
示例3: populate
void enumerator_info_generator::
populate(const unsigned int position, result_type& v) {
v.name(create_std_string(position + 0));
v.qualified_name(create_std_string(position + 1));
v.documentation(create_std_string(position + 2));
v.value(create_std_string(position + 3));
}
示例4: populate
void qname_generator::
populate(const unsigned int position, result_type& v) {
v.model_name(create_std_string(position + 0));
v.external_module_path(create_std_list_std_string(position + 1));
v.module_path(create_std_list_std_string(position + 2));
v.simple_name(create_std_string(position + 3));
}
示例5: populate
void class_d_generator::
populate(const unsigned int position, result_type& v) {
v.prop_0(create_boost_optional_int(position + 0));
v.prop_1(create_boost_optional_dogen_test_models_boost_model_class_a(position + 1));
v.prop_2(create_boost_optional_dogen_test_models_boost_model_pkg1_class_c(position + 2));
v.prop_3(create_boost_optional_std_vector_dogen_test_models_boost_model_class_a_(position + 3));
}
示例6: populate
void input_settings_generator::
populate(const unsigned int position, result_type& v) {
v.target(create_boost_filesystem_path(position + 0));
v.external_module_path(create_std_string(position + 1));
v.references(create_std_vector_dogen_config_reference(position + 2));
v.disable_model_module(create_bool(position + 3));
}
示例7: populate
void knitting_options_generator::
populate(const unsigned int position, result_type& v) {
v.verbose(create_bool(position + 0));
v.input(create_dogen_config_input_options(position + 1));
v.output(create_dogen_config_output_options(position + 2));
v.cpp(create_dogen_config_cpp_options(position + 3));
}
示例8: populate
void processed_comment_generator::
populate(const unsigned int position, result_type& v) {
v.documentation(create_std_string(position + 0));
v.key_value_pairs(create_std_list_std_pair_std_string_std_string_(position + 1));
v.applicable_to_parent_object(create_bool(position + 2));
v.original_content(create_std_string(position + 3));
}
示例9: populate
void formatter_properties_generator::
populate(const unsigned int position, result_type& v) {
v.enabled(create_bool(position + 0));
v.file_path(create_boost_filesystem_path(position + 1));
v.header_guard(create_boost_optional_std_string(position + 2));
v.inclusion_dependencies(create_std_list_std_string(position + 3));
v.integrated_facets(create_std_unordered_set_std_string(position + 4));
}
示例10: populate
void artefact_properties_generator::
populate(const unsigned int position, result_type& v) {
v.enabled(create_bool(position + 0));
v.overwrite(create_bool(position + 1));
v.file_path(create_boost_filesystem_path(position + 2));
v.formatting_style(create_dogen_coding_meta_model_formatting_styles(position + 3));
v.formatting_input(create_std_string(position + 4));
}
示例11: populate
void repository_generator::
populate(const unsigned int position, result_type& v) {
v.all_field_definitions(create_std_list_dogen_dynamic_field_definition(position + 0));
v.field_definitions_by_name(create_std_unordered_map_std_string_dogen_dynamic_field_definition(position + 1));
v.field_definitions_by_facet_name(create_std_unordered_map_std_string_std_list_dogen_dynamic_field_definition_(position + 2));
v.field_definitions_by_formatter_name(create_std_unordered_map_std_string_std_list_dogen_dynamic_field_definition_(position + 3));
v.field_definitions_by_model_name(create_std_unordered_map_std_string_std_list_dogen_dynamic_field_definition_(position + 4));
}
示例12: populate
void cpp_options_generator::
populate(const unsigned int position, result_type& v) {
v.split_project(create_bool(position + 0));
v.project_directory_path(create_boost_filesystem_path(position + 1));
v.source_directory_path(create_boost_filesystem_path(position + 2));
v.include_directory_path(create_boost_filesystem_path(position + 3));
v.disable_cmakelists(create_bool(position + 4));
}
示例13: populate
void modeline_generator::
populate(const unsigned int position, result_type& v) {
dogen::coding::meta_model::element_generator::populate(position, v);
v.editor(create_dogen_coding_meta_model_decoration_editor(position + 0));
v.location(create_dogen_coding_meta_model_decoration_modeline_location(position + 1));
v.fields(create_std_list_dogen_coding_meta_model_decoration_modeline_field(position + 2));
v.technical_space(create_dogen_coding_meta_model_technical_space(position + 3));
}
示例14: operator
result_type operator() (const result_type& str) const {
std::vector<result_type> v;
result_type::const_iterator
first = str.begin(),
last = str.end();
qi::parse(first, last, +(char_-',')%',', v);
return v[8];
}
示例15: populate
void truncated_cone_generator::
populate(const unsigned int position, result_type& v) {
neurite::geometry::solid_generator::populate(position, v);
v.first(create_neurite_geometry_vector3d(position + 0));
v.first_radius(create_double(position + 1));
v.second_radius(create_double(position + 2));
v.second(create_neurite_geometry_vector3d(position + 3));
v.height(create_double(position + 4));
}