コード例 #1
0
ファイル: a_class_td.cpp プロジェクト: pgannon/dogen
void a_class_generator::
populate(const unsigned int position, result_type& v) {
    v.bool_property(create_bool(position + 0));
    v.char_property(create_char(position + 1));
    v.uchar_property(create_unsigned_char(position + 2));
    v.int_property(create_int(position + 3));
    v.uint_property(create_unsigned_int(position + 4));
    v.long_property(create_long(position + 5));
    v.ulong_property(create_unsigned_long(position + 6));
    v.long_long_property(create_long_long(position + 7));
    v.ulong_long_property(create_unsigned_long_long(position + 8));
    v.short_property(create_short(position + 9));
    v.ushort_property(create_unsigned_short(position + 10));
    v.double_property(create_double(position + 11));
    v.float_property(create_float(position + 12));
}
コード例 #2
0
void abstract_object_generator::
populate(const unsigned int position, result_type& v) {
    dogen::sml::type_generator::populate(position, v);
    v.properties(create_std_list_dogen_sml_property(position + 0));
    v.operations(create_std_list_dogen_sml_operation(position + 1));
    v.parent_name(create_boost_optional_dogen_sml_qname(position + 2));
    v.original_parent_name(create_boost_optional_dogen_sml_qname(position + 3));
    v.leaves(create_std_list_dogen_sml_qname(position + 4));
    v.is_parent(create_bool(position + 5));
    v.number_of_type_arguments(create_unsigned_int(position + 6));
    v.is_visitable(create_bool(position + 7));
    v.is_immutable(create_bool(position + 8));
    v.is_versioned(create_bool(position + 9));
    v.is_comparable(create_bool(position + 10));
    v.is_fluent(create_bool(position + 11));
    v.modeled_concepts(create_std_list_dogen_sml_qname(position + 12));
}
コード例 #3
0
ファイル: class_a_td.cpp プロジェクト: pgannon/dogen
void class_a_generator::
populate(const unsigned int position, result_type& v) {
    v.prop_0(create_unsigned_int(position + 0));
}
コード例 #4
0
void time_series_versioned_key_generator::
populate(const unsigned int position, result_type& v) {
    v.id(create_unsigned_int(position + 0));
    v.version(create_unsigned_int(position + 1));
}
コード例 #5
0
void evaluation_response_generator::
populate(const unsigned int position, result_type& v) {
    v.rating_evaluation_results(create_creris_credit_risk_rating_evaluation_results(position + 0));
    v.request_id(create_unsigned_int(position + 1));
}
コード例 #6
0
ファイル: primary_key_td.cpp プロジェクト: memsharded/dogen
void primary_key_generator::
populate(const unsigned int position, result_type& v) {
    v.prop_0(create_unsigned_int(position + 0));
    v.prop_1(create_std_string(position + 1));
}
コード例 #7
0
void child_with_members_generator::
populate(const unsigned int position, result_type& v) {
    dogen::trivial_inheritance::parent_without_members_generator::populate(position, v);
    v.prop_0(create_unsigned_int(position + 0));
}
コード例 #8
0
void just_identity_ver_generator::
populate(const unsigned int position, result_type& v) {
    v.prop_0(create_int(position + 0));
    v.version(create_unsigned_int(position + 1));
}