本文整理汇总了C++中result_type::is_child方法的典型用法代码示例。如果您正苦于以下问题:C++ result_type::is_child方法的具体用法?C++ result_type::is_child怎么用?C++ result_type::is_child使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类result_type
的用法示例。
在下文中一共展示了result_type::is_child方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
void object_generator::
populate(const unsigned int position, result_type& v) {
dogen::yarn::element_generator::populate(position, v);
v.all_attributes(create_std_list_dogen_yarn_attribute(position + 0));
v.local_attributes(create_std_list_dogen_yarn_attribute(position + 1));
v.inherited_attributes(create_std_unordered_map_dogen_yarn_name_std_list_dogen_yarn_attribute(position + 2));
v.is_immutable(create_bool(position + 3));
v.is_fluent(create_bool(position + 4));
v.is_parent(create_bool(position + 5));
v.is_child(create_bool(position + 6));
v.is_leaf(create_bool(position + 7));
v.is_final(create_bool(position + 8));
v.root_parent(create_boost_optional_dogen_yarn_name(position + 9));
v.parent(create_boost_optional_dogen_yarn_name(position + 10));
v.leaves(create_std_list_dogen_yarn_name(position + 11));
v.in_inheritance_relationship(create_bool(position + 12));
v.transparent_associations(create_std_list_dogen_yarn_name(position + 13));
v.opaque_associations(create_std_list_dogen_yarn_name(position + 14));
v.base_visitor(create_boost_optional_dogen_yarn_name(position + 15));
v.derived_visitor(create_boost_optional_dogen_yarn_name(position + 16));
v.is_visitation_root(create_bool(position + 17));
v.is_visitation_leaf(create_bool(position + 18));
v.type_parameters(create_dogen_yarn_type_parameters(position + 19));
v.object_type(create_dogen_yarn_object_types(position + 20));
v.modeled_concepts(create_std_list_dogen_yarn_name(position + 21));
v.associative_container_keys(create_std_list_dogen_yarn_name(position + 22));
v.provides_opaqueness(create_bool(position + 23));
}
示例2:
void concept_generator::
populate(const unsigned int position, result_type& v) {
dogen::yarn::element_generator::populate(position, v);
v.all_properties(create_std_list_dogen_yarn_property(position + 0));
v.local_properties(create_std_list_dogen_yarn_property(position + 1));
v.inherited_properties(create_std_unordered_map_dogen_yarn_name_std_list_dogen_yarn_property_(position + 2));
v.is_immutable(create_bool(position + 3));
v.is_fluent(create_bool(position + 4));
v.refines(create_std_list_dogen_yarn_name(position + 5));
v.is_parent(create_bool(position + 6));
v.is_child(create_bool(position + 7));
}
示例3:
void object_generator::
populate(const unsigned int position, result_type& v) {
dogen::tack::type_generator::populate(position, v);
v.all_properties(create_std_list_dogen_tack_property(position + 0));
v.local_properties(create_std_list_dogen_tack_property(position + 1));
v.inherited_properties(create_std_unordered_map_dogen_tack_name_std_list_dogen_tack_property_(position + 2));
v.is_parent(create_bool(position + 3));
v.is_visitable(create_bool(position + 4));
v.is_immutable(create_bool(position + 5));
v.is_fluent(create_bool(position + 6));
v.is_child(create_bool(position + 7));
v.is_original_parent_visitable(create_bool(position + 8));
v.relationships(create_std_unordered_map_dogen_tack_relationship_types_std_list_dogen_tack_name_(position + 9));
v.object_type(create_dogen_tack_object_types(position + 10));
v.is_final(create_bool(position + 11));
}