custom-macros.hh
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1348k
- s << obj.manip << obj.obj->names[15];
- before = true;
- }
- if ((*obj.include)[16]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[16];
- before = true;
- }
- if ((*obj.include)[17]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[17];
- before = true;
- }
- if ((*obj.include)[18]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[18];
- before = true;
- }
- if ((*obj.include)[19]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[19];
- before = true;
- }
- if ((*obj.include)[20]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[20];
- before = true;
- }
- if ((*obj.include)[21]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[21];
- before = true;
- }
- if ((*obj.include)[22]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[22];
- before = true;
- }
- if ((*obj.include)[23]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[23];
- }
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_cus_equal_list<Manip>& obj) {
- bool before = false;
- if ((*obj.include)[0]) {
- s << obj.obj->names[0] << obj.comp << obj.manip << obj.obj->##I1;
- before = true;
- }
- if ((*obj.include)[1]) {
- if (before) s << obj.delem;
- s << obj.obj->names[1] << obj.comp << obj.manip << obj.obj->##I2;
- before = true;
- }
- if ((*obj.include)[2]) {
- if (before) s << obj.delem;
- s << obj.obj->names[2] << obj.comp << obj.manip << obj.obj->##I3;
- before = true;
- }
- if ((*obj.include)[3]) {
- if (before) s << obj.delem;
- s << obj.obj->names[3] << obj.comp << obj.manip << obj.obj->##I4;
- before = true;
- }
- if ((*obj.include)[4]) {
- if (before) s << obj.delem;
- s << obj.obj->names[4] << obj.comp << obj.manip << obj.obj->##I5;
- before = true;
- }
- if ((*obj.include)[5]) {
- if (before) s << obj.delem;
- s << obj.obj->names[5] << obj.comp << obj.manip << obj.obj->##I6;
- before = true;
- }
- if ((*obj.include)[6]) {
- if (before) s << obj.delem;
- s << obj.obj->names[6] << obj.comp << obj.manip << obj.obj->##I7;
- before = true;
- }
- if ((*obj.include)[7]) {
- if (before) s << obj.delem;
- s << obj.obj->names[7] << obj.comp << obj.manip << obj.obj->##I8;
- before = true;
- }
- if ((*obj.include)[8]) {
- if (before) s << obj.delem;
- s << obj.obj->names[8] << obj.comp << obj.manip << obj.obj->##I9;
- before = true;
- }
- if ((*obj.include)[9]) {
- if (before) s << obj.delem;
- s << obj.obj->names[9] << obj.comp << obj.manip << obj.obj->##I10;
- before = true;
- }
- if ((*obj.include)[10]) {
- if (before) s << obj.delem;
- s << obj.obj->names[10] << obj.comp << obj.manip << obj.obj->##I11;
- before = true;
- }
- if ((*obj.include)[11]) {
- if (before) s << obj.delem;
- s << obj.obj->names[11] << obj.comp << obj.manip << obj.obj->##I12;
- before = true;
- }
- if ((*obj.include)[12]) {
- if (before) s << obj.delem;
- s << obj.obj->names[12] << obj.comp << obj.manip << obj.obj->##I13;
- before = true;
- }
- if ((*obj.include)[13]) {
- if (before) s << obj.delem;
- s << obj.obj->names[13] << obj.comp << obj.manip << obj.obj->##I14;
- before = true;
- }
- if ((*obj.include)[14]) {
- if (before) s << obj.delem;
- s << obj.obj->names[14] << obj.comp << obj.manip << obj.obj->##I15;
- before = true;
- }
- if ((*obj.include)[15]) {
- if (before) s << obj.delem;
- s << obj.obj->names[15] << obj.comp << obj.manip << obj.obj->##I16;
- before = true;
- }
- if ((*obj.include)[16]) {
- if (before) s << obj.delem;
- s << obj.obj->names[16] << obj.comp << obj.manip << obj.obj->##I17;
- before = true;
- }
- if ((*obj.include)[17]) {
- if (before) s << obj.delem;
- s << obj.obj->names[17] << obj.comp << obj.manip << obj.obj->##I18;
- before = true;
- }
- if ((*obj.include)[18]) {
- if (before) s << obj.delem;
- s << obj.obj->names[18] << obj.comp << obj.manip << obj.obj->##I19;
- before = true;
- }
- if ((*obj.include)[19]) {
- if (before) s << obj.delem;
- s << obj.obj->names[19] << obj.comp << obj.manip << obj.obj->##I20;
- before = true;
- }
- if ((*obj.include)[20]) {
- if (before) s << obj.delem;
- s << obj.obj->names[20] << obj.comp << obj.manip << obj.obj->##I21;
- before = true;
- }
- if ((*obj.include)[21]) {
- if (before) s << obj.delem;
- s << obj.obj->names[21] << obj.comp << obj.manip << obj.obj->##I22;
- before = true;
- }
- if ((*obj.include)[22]) {
- if (before) s << obj.delem;
- s << obj.obj->names[22] << obj.comp << obj.manip << obj.obj->##I23;
- before = true;
- }
- if ((*obj.include)[23]) {
- if (before) s << obj.delem;
- s << obj.obj->names[23] << obj.comp << obj.manip << obj.obj->##I24;
- }
- return s;
- }
- template <class Manip>
- inline NAME##_value_list<Manip> NAME##::value_list(cchar *d, Manip m) const {
- return NAME##_value_list<Manip> (this, d, m);
- }
- template <class Manip>
- inline NAME##_field_list<Manip> NAME##::field_list(cchar *d, Manip m) const {
- return NAME##_field_list<Manip> (this, d, m);
- }
- template <class Manip>
- inline NAME##_equal_list<Manip> NAME##::equal_list(cchar *d, cchar *c, Manip m) const {
- return NAME##_equal_list<Manip> (this, d, c, m);
- }
- template <class Manip>
- inline NAME##_cus_value_list<Manip> NAME##::value_list(cchar *d, Manip m,
- bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24) const {
- return NAME##_cus_value_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24);
- }
- template <class Manip>
- inline NAME##_cus_field_list<Manip> NAME##::field_list(cchar *d, Manip m,
- bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24) const {
- return NAME##_cus_field_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24);
- }
- template <class Manip>
- inline NAME##_cus_equal_list<Manip> NAME##::equal_list(cchar *d, cchar *c, Manip m,
- bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24) const {
- return NAME##_cus_equal_list<Manip> (this, d, c, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24);
- }
- template <class Manip>
- inline NAME##_cus_value_list<Manip> NAME##::value_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24) const {
- return NAME##_cus_value_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24);
- }
- template <class Manip>
- inline NAME##_cus_field_list<Manip> NAME##::field_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24) const {
- return NAME##_cus_field_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24);
- }
- template <class Manip>
- inline NAME##_cus_equal_list<Manip> NAME##::equal_list(cchar *d, cchar *c, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24) const {
- return NAME##_cus_equal_list<Manip> (this, d, c, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24);
- }
- template <class Manip>
- inline NAME##_cus_value_list<Manip>
- NAME##::value_list(cchar *d, Manip m, sql_cmp_type sc) const {
- sql_compare_type_def_##CMP (NAME, value, NUM);
- }
- template <class Manip>
- inline NAME##_cus_field_list<Manip>
- NAME##::field_list(cchar *d, Manip m, sql_cmp_type sc) const {
- sql_compare_type_def_##CMP (NAME, field, NUM);
- }
- template <class Manip>
- inline NAME##_cus_equal_list<Manip>
- NAME##::equal_list(cchar *d, cchar *c, Manip m, sql_cmp_type sc) const {
- sql_compare_type_defe_##CMP (NAME, equal, NUM);
- }
- template <sql_dummy_type dummy>
- void populate_##NAME (NAME *s, const MysqlRow &row) {
- s->##I1 = row[ O1 ];
- s->##I2 = row[ O2 ];
- s->##I3 = row[ O3 ];
- s->##I4 = row[ O4 ];
- s->##I5 = row[ O5 ];
- s->##I6 = row[ O6 ];
- s->##I7 = row[ O7 ];
- s->##I8 = row[ O8 ];
- s->##I9 = row[ O9 ];
- s->##I10 = row[ O10 ];
- s->##I11 = row[ O11 ];
- s->##I12 = row[ O12 ];
- s->##I13 = row[ O13 ];
- s->##I14 = row[ O14 ];
- s->##I15 = row[ O15 ];
- s->##I16 = row[ O16 ];
- s->##I17 = row[ O17 ];
- s->##I18 = row[ O18 ];
- s->##I19 = row[ O19 ];
- s->##I20 = row[ O20 ];
- s->##I21 = row[ O21 ];
- s->##I22 = row[ O22 ];
- s->##I23 = row[ O23 ];
- s->##I24 = row[ O24 ];
- }
- inline NAME##::##NAME (const MysqlRow &row)
- {populate_##NAME##<sql_dummy>(this, row);}
- inline void NAME##::set (const MysqlRow &row)
- {populate_##NAME##<sql_dummy>(this, row);}
- sql_COMPARE__##CMP##(NAME, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, 0, 0 )
- #define sql_create_basic_24(NAME, CMP, CONTR, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24)
- sql_create_basic_c_order_24(NAME, CMP, CONTR, T1, I1, 0, T2, I2, 1, T3, I3, 2, T4, I4, 3, T5, I5, 4, T6, I6, 5, T7, I7, 6, T8, I8, 7, T9, I9, 8, T10, I10, 9, T11, I11, 10, T12, I12, 11, T13, I13, 12, T14, I14, 13, T15, I15, 14, T16, I16, 15, T17, I17, 16, T18, I18, 17, T19, I19, 18, T20, I20, 19, T21, I21, 20, T22, I22, 21, T23, I23, 22, T24, I24, 23)
- #define sql_create_24(NAME, CMP, CONTR, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24)
- sql_create_complete_24(NAME, CMP, CONTR, T1, I1, #I1, 0, T2, I2, #I2, 1, T3, I3, #I3, 2, T4, I4, #I4, 3, T5, I5, #I5, 4, T6, I6, #I6, 5, T7, I7, #I7, 6, T8, I8, #I8, 7, T9, I9, #I9, 8, T10, I10, #I10, 9, T11, I11, #I11, 10, T12, I12, #I12, 11, T13, I13, #I13, 12, T14, I14, #I14, 13, T15, I15, #I15, 14, T16, I16, #I16, 15, T17, I17, #I17, 16, T18, I18, #I18, 17, T19, I19, #I19, 18, T20, I20, #I20, 19, T21, I21, #I21, 20, T22, I22, #I22, 21, T23, I23, #I23, 22, T24, I24, #I24, 23)
- #define sql_create_c_order_24(NAME, CMP, CONTR, T1, I1, O1, T2, I2, O2, T3, I3, O3, T4, I4, O4, T5, I5, O5, T6, I6, O6, T7, I7, O7, T8, I8, O8, T9, I9, O9, T10, I10, O10, T11, I11, O11, T12, I12, O12, T13, I13, O13, T14, I14, O14, T15, I15, O15, T16, I16, O16, T17, I17, O17, T18, I18, O18, T19, I19, O19, T20, I20, O20, T21, I21, O21, T22, I22, O22, T23, I23, O23, T24, I24, O24)
- sql_create_complete_24(NAME, CMP, CONTR, T1, I1, #I1, O1, T2, I2, #I2, O2, T3, I3, #I3, O3, T4, I4, #I4, O4, T5, I5, #I5, O5, T6, I6, #I6, O6, T7, I7, #I7, O7, T8, I8, #I8, O8, T9, I9, #I9, O9, T10, I10, #I10, O10, T11, I11, #I11, O11, T12, I12, #I12, O12, T13, I13, #I13, O13, T14, I14, #I14, O14, T15, I15, #I15, O15, T16, I16, #I16, O16, T17, I17, #I17, O17, T18, I18, #I18, O18, T19, I19, #I19, O19, T20, I20, #I20, O20, T21, I21, #I21, O21, T22, I22, #I22, O22, T23, I23, #I23, O23, T24, I24, #I24, O24)
- #define sql_create_c_names_24(NAME, CMP, CONTR, T1, I1, N1, T2, I2, N2, T3, I3, N3, T4, I4, N4, T5, I5, N5, T6, I6, N6, T7, I7, N7, T8, I8, N8, T9, I9, N9, T10, I10, N10, T11, I11, N11, T12, I12, N12, T13, I13, N13, T14, I14, N14, T15, I15, N15, T16, I16, N16, T17, I17, N17, T18, I18, N18, T19, I19, N19, T20, I20, N20, T21, I21, N21, T22, I22, N22, T23, I23, N23, T24, I24, N24)
- sql_create_complete_24(NAME, CMP, CONTR, T1, I1, N1, 0, T2, I2, N2, 1, T3, I3, N3, 2, T4, I4, N4, 3, T5, I5, N5, 4, T6, I6, N6, 5, T7, I7, N7, 6, T8, I8, N8, 7, T9, I9, N9, 8, T10, I10, N10, 9, T11, I11, N11, 10, T12, I12, N12, 11, T13, I13, N13, 12, T14, I14, N14, 13, T15, I15, N15, 14, T16, I16, N16, 15, T17, I17, N17, 16, T18, I18, N18, 17, T19, I19, N19, 18, T20, I20, N20, 19, T21, I21, N21, 20, T22, I22, N22, 21, T23, I23, N23, 22, T24, I24, N24, 23)
- // ---------------------------------------------------
- // End Create 24
- // ---------------------------------------------------
- // ---------------------------------------------------
- // Begin Create 25
- // ---------------------------------------------------
- #define sql_create_basic_c_order_25(NAME, CMP, CONTR, T1, I1, O1, T2, I2, O2, T3, I3, O3, T4, I4, O4, T5, I5, O5, T6, I6, O6, T7, I7, O7, T8, I8, O8, T9, I9, O9, T10, I10, O10, T11, I11, O11, T12, I12, O12, T13, I13, O13, T14, I14, O14, T15, I15, O15, T16, I16, O16, T17, I17, O17, T18, I18, O18, T19, I19, O19, T20, I20, O20, T21, I21, O21, T22, I22, O22, T23, I23, O23, T24, I24, O24, T25, I25, O25)
- struct NAME;
- template <sql_dummy_type dummy> int sql_compare_##NAME (const NAME &, const NAME &);
- struct NAME {
- T1 I1;
- T2 I2;
- T3 I3;
- T4 I4;
- T5 I5;
- T6 I6;
- T7 I7;
- T8 I8;
- T9 I9;
- T10 I10;
- T11 I11;
- T12 I12;
- T13 I13;
- T14 I14;
- T15 I15;
- T16 I16;
- T17 I17;
- T18 I18;
- T19 I19;
- T20 I20;
- T21 I21;
- T22 I22;
- T23 I23;
- T24 I24;
- T25 I25;
- NAME () {}
- NAME (const MysqlRow &row);
- sql_compare_define_##CMP(NAME, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25, 0, 0)
- };
- template <sql_dummy_type dummy>
- void populate_##NAME (NAME *s, const MysqlRow &row) {
- s->##I1 = row[ O1 ];
- s->##I2 = row[ O2 ];
- s->##I3 = row[ O3 ];
- s->##I4 = row[ O4 ];
- s->##I5 = row[ O5 ];
- s->##I6 = row[ O6 ];
- s->##I7 = row[ O7 ];
- s->##I8 = row[ O8 ];
- s->##I9 = row[ O9 ];
- s->##I10 = row[ O10 ];
- s->##I11 = row[ O11 ];
- s->##I12 = row[ O12 ];
- s->##I13 = row[ O13 ];
- s->##I14 = row[ O14 ];
- s->##I15 = row[ O15 ];
- s->##I16 = row[ O16 ];
- s->##I17 = row[ O17 ];
- s->##I18 = row[ O18 ];
- s->##I19 = row[ O19 ];
- s->##I20 = row[ O20 ];
- s->##I21 = row[ O21 ];
- s->##I22 = row[ O22 ];
- s->##I23 = row[ O23 ];
- s->##I24 = row[ O24 ];
- s->##I25 = row[ O25 ];
- }
- inline NAME##::##NAME (const MysqlRow &row)
- {populate_##NAME##<sql_dummy>(this, row);}
- sql_COMPARE__##CMP##(NAME, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, 0 )
- #define sql_create_complete_25(NAME, CMP, CONTR, T1, I1, N1, O1, T2, I2, N2, O2, T3, I3, N3, O3, T4, I4, N4, O4, T5, I5, N5, O5, T6, I6, N6, O6, T7, I7, N7, O7, T8, I8, N8, O8, T9, I9, N9, O9, T10, I10, N10, O10, T11, I11, N11, O11, T12, I12, N12, O12, T13, I13, N13, O13, T14, I14, N14, O14, T15, I15, N15, O15, T16, I16, N16, O16, T17, I17, N17, O17, T18, I18, N18, O18, T19, I19, N19, O19, T20, I20, N20, O20, T21, I21, N21, O21, T22, I22, N22, O22, T23, I23, N23, O23, T24, I24, N24, O24, T25, I25, N25, O25)
- struct NAME;
- enum NAME##_enum {
- NAME##_##I1,
- NAME##_##I2,
- NAME##_##I3,
- NAME##_##I4,
- NAME##_##I5,
- NAME##_##I6,
- NAME##_##I7,
- NAME##_##I8,
- NAME##_##I9,
- NAME##_##I10,
- NAME##_##I11,
- NAME##_##I12,
- NAME##_##I13,
- NAME##_##I14,
- NAME##_##I15,
- NAME##_##I16,
- NAME##_##I17,
- NAME##_##I18,
- NAME##_##I19,
- NAME##_##I20,
- NAME##_##I21,
- NAME##_##I22,
- NAME##_##I23,
- NAME##_##I24,
- NAME##_##I25
- ,NAME##_NULL
- };
- template <class Manip>
- class NAME##_value_list {
- /*friend ostream& operator << <> (ostream&, const NAME##_value_list&); */
- public:
- const NAME *obj;
- cchar *delem;
- Manip manip;
- public:
- NAME##_value_list (const NAME *o, cchar *d, Manip m)
- : obj(o), delem(d), manip(m) {}
- };
- template <class Manip>
- class NAME##_##field_list {
- /* friend ostream& operator << <> (ostream&, const NAME##_field_list&); */
- public:
- const NAME *obj;
- cchar *delem;
- Manip manip;
- public:
- NAME##_field_list (const NAME *o, cchar *d, Manip m)
- : obj(o), delem(d), manip(m) {}
- };
- template <class Manip>
- class NAME##_equal_list {
- /* friend ostream& operator << <> (ostream&, const NAME##_equal_list&); */
- public:
- const NAME *obj;
- cchar *delem;
- cchar *comp;
- Manip manip;
- public:
- NAME##_equal_list (const NAME *o, cchar *d, cchar *c, Manip m)
- : obj(o), delem(d), comp(c), manip(m) {}
- };
- template <class Manip>
- class NAME##_cus_value_list {
- /* friend ostream& operator << <> (ostream&,
- const NAME##_cus_value_list<Manip>&); */
- public:
- const NAME *obj;
- cchar *delem;
- Manip manip;
- vector<bool> *include;
- bool del_vector;
- public:
- ~##NAME##_cus_value_list () {if (del_vector) delete include;}
- NAME##_cus_value_list (const NAME *o, cchar *d, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25);
- NAME##_cus_value_list (const NAME *o, cchar *d, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25);
- NAME##_cus_value_list (const NAME *o, cchar *d, Manip m ,vector<bool>)
- : obj(o), include(i), del_vector(false), delem(d), manip(m) {}
- };
- template <class Manip>
- class NAME##_cus_field_list {
- /* friend ostream& operator << <> (ostream&,
- const NAME##_cus_field_list<Manip>&); */
- public:
- const NAME *obj;
- cchar *delem;
- Manip manip;
- vector<bool> *include;
- bool del_vector;
- public:
- ~##NAME##_cus_field_list () {if (del_vector) delete include;}
- NAME##_cus_field_list (const NAME *o, cchar *d, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25);
- NAME##_cus_field_list (const NAME *o, cchar *d, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25);
- NAME##_cus_field_list (const NAME *o, cchar *d, Manip m, vector<bool> *i)
- : obj(o), include(i), del_vector(false), delem(d), manip(m) {}
- };
- template <class Manip>
- class NAME##_cus_equal_list {
- /* friend ostream& operator << <> (ostream&,
- const NAME##_cus_equal_list<Manip>&); */
- public:
- const NAME *obj;
- vector<bool> *include;
- bool del_vector;
- cchar *delem;
- cchar *comp;
- Manip manip;
- public:
- ~##NAME##_##cus_equal_list () {if (del_vector) delete include;}
- NAME##_##cus_equal_list (const NAME *o, cchar *d, cchar *c, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25);
- NAME##_##cus_equal_list (const NAME *o, cchar *d, cchar *c, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25);
- NAME##_##cus_equal_list (const NAME *o, cchar *d, cchar *c, Manip m, vector<bool> *i)
- : obj(o), include(i), del_vector(false), delem(d), comp(c), manip(m) {}
- };
- template <sql_dummy_type dummy> int sql_compare_##NAME (const NAME &, const NAME &);
- struct NAME {
- T1 I1;
- T2 I2;
- T3 I3;
- T4 I4;
- T5 I5;
- T6 I6;
- T7 I7;
- T8 I8;
- T9 I9;
- T10 I10;
- T11 I11;
- T12 I12;
- T13 I13;
- T14 I14;
- T15 I15;
- T16 I16;
- T17 I17;
- T18 I18;
- T19 I19;
- T20 I20;
- T21 I21;
- T22 I22;
- T23 I23;
- T24 I24;
- T25 I25;
- NAME () {}
- NAME (const MysqlRow &row);
- void set (const MysqlRow &row);
- sql_compare_define_##CMP(NAME, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25, 0, 0)
- sql_construct_define_##CONTR(NAME, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25, 0, 0)
- static char *names[];
- static char *_table;
- static char *& table() {return _table;}
- /* cus_data */
- NAME##_cus_value_list<quote_type0> value_list(bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const {
- return value_list(",", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_value_list<quote_type0> value_list(##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const {
- return value_list(",", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_value_list<quote_type0> value_list(vector<bool> *i) const {
- return value_list(",", mysql_quote, i);
- }
- NAME##_cus_value_list<quote_type0> value_list(sql_cmp_type sc) const {
- return value_list(",", mysql_quote, sc);
- }
- NAME##_cus_value_list<quote_type0> value_list(cchar *d, bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const {
- return value_list(d, mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_value_list<quote_type0> value_list(cchar *d, ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const {
- return value_list(d, mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_value_list<quote_type0> value_list(cchar *d,
- vector<bool> *i) const {
- return value_list(d, mysql_quote, i);
- }
- NAME##_cus_value_list<quote_type0> value_list(cchar *d,
- sql_cmp_type sc) const {
- return value_list(d, mysql_quote, sc);
- }
- template <class Manip>
- NAME##_cus_value_list<Manip> value_list(cchar *d, Manip m,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const;
- template <class Manip>
- NAME##_cus_value_list<Manip> value_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const;
- template <class Manip>
- NAME##_cus_value_list<Manip> value_list(cchar *d, Manip m,
- vector<bool> *i) const;
- template <class Manip>
- NAME##_cus_value_list<Manip> value_list(cchar *d, Manip m,
- sql_cmp_type sc) const;
- /* cus field */
- NAME##_cus_field_list<do_nothing_type0> field_list(bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const {
- return field_list(",", mysql_do_nothing, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const {
- return field_list(",", mysql_do_nothing, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(vector<bool> *i) const {
- return field_list(",", mysql_do_nothing, i);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(sql_cmp_type sc) const
- {
- return field_list(",", mysql_do_nothing, sc);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(cchar *d,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const {
- return field_list(d, mysql_do_nothing, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(cchar *d,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const {
- return field_list(d, mysql_do_nothing, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(cchar *d,
- vector<bool> *i) const {
- return field_list(d, mysql_do_nothing, i);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(cchar *d,
- sql_cmp_type sc) const {
- return field_list(d, mysql_do_nothing, sc);
- }
- template <class Manip>
- NAME##_cus_field_list<Manip> field_list(cchar *d, Manip m,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const;
- template <class Manip>
- NAME##_cus_field_list<Manip> field_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const;
- template <class Manip>
- NAME##_cus_field_list<Manip> field_list(cchar *d, Manip m,
- vector<bool> *i) const;
- template <class Manip>
- NAME##_cus_field_list<Manip> field_list(cchar *d, Manip m,
- sql_cmp_type sc) const;
- /* cus equal */
- NAME##_cus_equal_list<quote_type0> equal_list(bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const {
- return equal_list(",", " = ", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const {
- return equal_list(",", " = ", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(vector<bool> *i) const {
- return equal_list(",", " = ", mysql_quote, i);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(sql_cmp_type sc) const {
- return equal_list(",", " = ", mysql_quote, sc);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const {
- return equal_list(d, " = ", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const {
- return equal_list(d, " = ", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d,
- vector<bool> *i) const {
- return equal_list(d, " = ", mysql_quote, i);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d,
- sql_cmp_type sc) const {
- return equal_list(d, " = ", mysql_quote, sc);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, cchar *c,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const {
- return equal_list(d, c, mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, cchar *c,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const {
- return equal_list(d, c, mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, cchar *c,
- vector<bool> *i) const {
- return equal_list(d, c, mysql_quote, i);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, cchar *c,
- sql_cmp_type sc) const {
- return equal_list(d, c, mysql_quote, sc);
- }
- template <class Manip>
- NAME##_cus_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false) const;
- template <class Manip>
- NAME##_cus_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL) const;
- template <class Manip>
- NAME##_cus_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m,
- vector<bool> *i) const;
- template <class Manip>
- NAME##_cus_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m,
- sql_cmp_type sc) const;
- NAME##_value_list<quote_type0> value_list() const {
- return value_list(",", mysql_quote);}
- NAME##_value_list<quote_type0> value_list(cchar *d) const {
- return value_list(d, mysql_quote);}
- template <class Manip>
- NAME##_value_list<Manip> value_list(cchar *d, Manip m) const;
- NAME##_field_list<do_nothing_type0> field_list() const {
- return field_list(",", mysql_do_nothing);}
- NAME##_field_list<do_nothing_type0> field_list(cchar *d) const {
- return field_list(d, mysql_do_nothing);}
- template <class Manip>
- NAME##_field_list<Manip> field_list(cchar *d, Manip m) const;
- NAME##_equal_list<quote_type0> equal_list(cchar *d = ",",
- cchar *c = " = ") const{
- return equal_list(d, c, mysql_quote);}
- template <class Manip>
- NAME##_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m) const;
- };
- char *##NAME##::names[] = {
- N1 ,
- N2 ,
- N3 ,
- N4 ,
- N5 ,
- N6 ,
- N7 ,
- N8 ,
- N9 ,
- N10 ,
- N11 ,
- N12 ,
- N13 ,
- N14 ,
- N15 ,
- N16 ,
- N17 ,
- N18 ,
- N19 ,
- N20 ,
- N21 ,
- N22 ,
- N23 ,
- N24 ,
- N25
- };
- char *##NAME##::_table = #NAME ;
- template <class Manip>
- NAME##_cus_value_list<Manip>::NAME##_cus_value_list
- (const NAME *o, cchar *d, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25)
- {
- delem = d;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(25, false);
- if (i1) (*include)[0]=true;
- if (i2) (*include)[1]=true;
- if (i3) (*include)[2]=true;
- if (i4) (*include)[3]=true;
- if (i5) (*include)[4]=true;
- if (i6) (*include)[5]=true;
- if (i7) (*include)[6]=true;
- if (i8) (*include)[7]=true;
- if (i9) (*include)[8]=true;
- if (i10) (*include)[9]=true;
- if (i11) (*include)[10]=true;
- if (i12) (*include)[11]=true;
- if (i13) (*include)[12]=true;
- if (i14) (*include)[13]=true;
- if (i15) (*include)[14]=true;
- if (i16) (*include)[15]=true;
- if (i17) (*include)[16]=true;
- if (i18) (*include)[17]=true;
- if (i19) (*include)[18]=true;
- if (i20) (*include)[19]=true;
- if (i21) (*include)[20]=true;
- if (i22) (*include)[21]=true;
- if (i23) (*include)[22]=true;
- if (i24) (*include)[23]=true;
- if (i25) (*include)[24]=true;
- }
- template <class Manip>
- NAME##_cus_value_list<Manip>::NAME##_cus_value_list
- (const NAME *o, cchar *d, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25) {
- delem = d;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(25, false);
- if (i1 == NAME##_NULL) return;
- (*include)[i1]=true;
- if (i2 == NAME##_NULL) return;
- (*include)[i2]=true;
- if (i3 == NAME##_NULL) return;
- (*include)[i3]=true;
- if (i4 == NAME##_NULL) return;
- (*include)[i4]=true;
- if (i5 == NAME##_NULL) return;
- (*include)[i5]=true;
- if (i6 == NAME##_NULL) return;
- (*include)[i6]=true;
- if (i7 == NAME##_NULL) return;
- (*include)[i7]=true;
- if (i8 == NAME##_NULL) return;
- (*include)[i8]=true;
- if (i9 == NAME##_NULL) return;
- (*include)[i9]=true;
- if (i10 == NAME##_NULL) return;
- (*include)[i10]=true;
- if (i11 == NAME##_NULL) return;
- (*include)[i11]=true;
- if (i12 == NAME##_NULL) return;
- (*include)[i12]=true;
- if (i13 == NAME##_NULL) return;
- (*include)[i13]=true;
- if (i14 == NAME##_NULL) return;
- (*include)[i14]=true;
- if (i15 == NAME##_NULL) return;
- (*include)[i15]=true;
- if (i16 == NAME##_NULL) return;
- (*include)[i16]=true;
- if (i17 == NAME##_NULL) return;
- (*include)[i17]=true;
- if (i18 == NAME##_NULL) return;
- (*include)[i18]=true;
- if (i19 == NAME##_NULL) return;
- (*include)[i19]=true;
- if (i20 == NAME##_NULL) return;
- (*include)[i20]=true;
- if (i21 == NAME##_NULL) return;
- (*include)[i21]=true;
- if (i22 == NAME##_NULL) return;
- (*include)[i22]=true;
- if (i23 == NAME##_NULL) return;
- (*include)[i23]=true;
- if (i24 == NAME##_NULL) return;
- (*include)[i24]=true;
- if (i25 == NAME##_NULL) return;
- (*include)[i25]=true;
- }
- template <class Manip>
- NAME##_cus_field_list<Manip>::NAME##_cus_field_list
- (const NAME *o, cchar *d, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25) {
- delem = d;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(25, false);
- if (i1) (*include)[0]=true;
- if (i2) (*include)[1]=true;
- if (i3) (*include)[2]=true;
- if (i4) (*include)[3]=true;
- if (i5) (*include)[4]=true;
- if (i6) (*include)[5]=true;
- if (i7) (*include)[6]=true;
- if (i8) (*include)[7]=true;
- if (i9) (*include)[8]=true;
- if (i10) (*include)[9]=true;
- if (i11) (*include)[10]=true;
- if (i12) (*include)[11]=true;
- if (i13) (*include)[12]=true;
- if (i14) (*include)[13]=true;
- if (i15) (*include)[14]=true;
- if (i16) (*include)[15]=true;
- if (i17) (*include)[16]=true;
- if (i18) (*include)[17]=true;
- if (i19) (*include)[18]=true;
- if (i20) (*include)[19]=true;
- if (i21) (*include)[20]=true;
- if (i22) (*include)[21]=true;
- if (i23) (*include)[22]=true;
- if (i24) (*include)[23]=true;
- if (i25) (*include)[24]=true;
- }
- template <class Manip>
- NAME##_cus_field_list<Manip>::NAME##_cus_field_list
- (const NAME *o, cchar *d, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25) {
- delem = d;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(25, false);
- if (i1 == NAME##_NULL) return;
- (*include)[i1]=true;
- if (i2 == NAME##_NULL) return;
- (*include)[i2]=true;
- if (i3 == NAME##_NULL) return;
- (*include)[i3]=true;
- if (i4 == NAME##_NULL) return;
- (*include)[i4]=true;
- if (i5 == NAME##_NULL) return;
- (*include)[i5]=true;
- if (i6 == NAME##_NULL) return;
- (*include)[i6]=true;
- if (i7 == NAME##_NULL) return;
- (*include)[i7]=true;
- if (i8 == NAME##_NULL) return;
- (*include)[i8]=true;
- if (i9 == NAME##_NULL) return;
- (*include)[i9]=true;
- if (i10 == NAME##_NULL) return;
- (*include)[i10]=true;
- if (i11 == NAME##_NULL) return;
- (*include)[i11]=true;
- if (i12 == NAME##_NULL) return;
- (*include)[i12]=true;
- if (i13 == NAME##_NULL) return;
- (*include)[i13]=true;
- if (i14 == NAME##_NULL) return;
- (*include)[i14]=true;
- if (i15 == NAME##_NULL) return;
- (*include)[i15]=true;
- if (i16 == NAME##_NULL) return;
- (*include)[i16]=true;
- if (i17 == NAME##_NULL) return;
- (*include)[i17]=true;
- if (i18 == NAME##_NULL) return;
- (*include)[i18]=true;
- if (i19 == NAME##_NULL) return;
- (*include)[i19]=true;
- if (i20 == NAME##_NULL) return;
- (*include)[i20]=true;
- if (i21 == NAME##_NULL) return;
- (*include)[i21]=true;
- if (i22 == NAME##_NULL) return;
- (*include)[i22]=true;
- if (i23 == NAME##_NULL) return;
- (*include)[i23]=true;
- if (i24 == NAME##_NULL) return;
- (*include)[i24]=true;
- if (i25 == NAME##_NULL) return;
- (*include)[i25]=true;
- }
- template <class Manip>
- NAME##_cus_equal_list<Manip>::NAME##_cus_equal_list
- (const NAME *o, cchar *d, cchar *c, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25) {
- delem = d;
- comp = c;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(25, false);
- if (i1) (*include)[0]=true;
- if (i2) (*include)[1]=true;
- if (i3) (*include)[2]=true;
- if (i4) (*include)[3]=true;
- if (i5) (*include)[4]=true;
- if (i6) (*include)[5]=true;
- if (i7) (*include)[6]=true;
- if (i8) (*include)[7]=true;
- if (i9) (*include)[8]=true;
- if (i10) (*include)[9]=true;
- if (i11) (*include)[10]=true;
- if (i12) (*include)[11]=true;
- if (i13) (*include)[12]=true;
- if (i14) (*include)[13]=true;
- if (i15) (*include)[14]=true;
- if (i16) (*include)[15]=true;
- if (i17) (*include)[16]=true;
- if (i18) (*include)[17]=true;
- if (i19) (*include)[18]=true;
- if (i20) (*include)[19]=true;
- if (i21) (*include)[20]=true;
- if (i22) (*include)[21]=true;
- if (i23) (*include)[22]=true;
- if (i24) (*include)[23]=true;
- if (i25) (*include)[24]=true;
- }
- template <class Manip>
- NAME##_cus_equal_list<Manip>::NAME##_cus_equal_list
- (const NAME *o, cchar *d, cchar *c, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25) {
- delem = d;
- comp = c;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(25, false);
- if (i1 == NAME##_NULL) return;
- (*include)[i1]=true;
- if (i2 == NAME##_NULL) return;
- (*include)[i2]=true;
- if (i3 == NAME##_NULL) return;
- (*include)[i3]=true;
- if (i4 == NAME##_NULL) return;
- (*include)[i4]=true;
- if (i5 == NAME##_NULL) return;
- (*include)[i5]=true;
- if (i6 == NAME##_NULL) return;
- (*include)[i6]=true;
- if (i7 == NAME##_NULL) return;
- (*include)[i7]=true;
- if (i8 == NAME##_NULL) return;
- (*include)[i8]=true;
- if (i9 == NAME##_NULL) return;
- (*include)[i9]=true;
- if (i10 == NAME##_NULL) return;
- (*include)[i10]=true;
- if (i11 == NAME##_NULL) return;
- (*include)[i11]=true;
- if (i12 == NAME##_NULL) return;
- (*include)[i12]=true;
- if (i13 == NAME##_NULL) return;
- (*include)[i13]=true;
- if (i14 == NAME##_NULL) return;
- (*include)[i14]=true;
- if (i15 == NAME##_NULL) return;
- (*include)[i15]=true;
- if (i16 == NAME##_NULL) return;
- (*include)[i16]=true;
- if (i17 == NAME##_NULL) return;
- (*include)[i17]=true;
- if (i18 == NAME##_NULL) return;
- (*include)[i18]=true;
- if (i19 == NAME##_NULL) return;
- (*include)[i19]=true;
- if (i20 == NAME##_NULL) return;
- (*include)[i20]=true;
- if (i21 == NAME##_NULL) return;
- (*include)[i21]=true;
- if (i22 == NAME##_NULL) return;
- (*include)[i22]=true;
- if (i23 == NAME##_NULL) return;
- (*include)[i23]=true;
- if (i24 == NAME##_NULL) return;
- (*include)[i24]=true;
- if (i25 == NAME##_NULL) return;
- (*include)[i25]=true;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_value_list<Manip>& obj) {
- s << obj.manip << obj.obj->##I1 << obj.delem;
- s << obj.manip << obj.obj->##I2 << obj.delem;
- s << obj.manip << obj.obj->##I3 << obj.delem;
- s << obj.manip << obj.obj->##I4 << obj.delem;
- s << obj.manip << obj.obj->##I5 << obj.delem;
- s << obj.manip << obj.obj->##I6 << obj.delem;
- s << obj.manip << obj.obj->##I7 << obj.delem;
- s << obj.manip << obj.obj->##I8 << obj.delem;
- s << obj.manip << obj.obj->##I9 << obj.delem;
- s << obj.manip << obj.obj->##I10 << obj.delem;
- s << obj.manip << obj.obj->##I11 << obj.delem;
- s << obj.manip << obj.obj->##I12 << obj.delem;
- s << obj.manip << obj.obj->##I13 << obj.delem;
- s << obj.manip << obj.obj->##I14 << obj.delem;
- s << obj.manip << obj.obj->##I15 << obj.delem;
- s << obj.manip << obj.obj->##I16 << obj.delem;
- s << obj.manip << obj.obj->##I17 << obj.delem;
- s << obj.manip << obj.obj->##I18 << obj.delem;
- s << obj.manip << obj.obj->##I19 << obj.delem;
- s << obj.manip << obj.obj->##I20 << obj.delem;
- s << obj.manip << obj.obj->##I21 << obj.delem;
- s << obj.manip << obj.obj->##I22 << obj.delem;
- s << obj.manip << obj.obj->##I23 << obj.delem;
- s << obj.manip << obj.obj->##I24 << obj.delem;
- s << obj.manip << obj.obj->##I25;
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_field_list<Manip>& obj) {
- s << obj.manip << obj.obj->names[0] << obj.delem;
- s << obj.manip << obj.obj->names[1] << obj.delem;
- s << obj.manip << obj.obj->names[2] << obj.delem;
- s << obj.manip << obj.obj->names[3] << obj.delem;
- s << obj.manip << obj.obj->names[4] << obj.delem;
- s << obj.manip << obj.obj->names[5] << obj.delem;
- s << obj.manip << obj.obj->names[6] << obj.delem;
- s << obj.manip << obj.obj->names[7] << obj.delem;
- s << obj.manip << obj.obj->names[8] << obj.delem;
- s << obj.manip << obj.obj->names[9] << obj.delem;
- s << obj.manip << obj.obj->names[10] << obj.delem;
- s << obj.manip << obj.obj->names[11] << obj.delem;
- s << obj.manip << obj.obj->names[12] << obj.delem;
- s << obj.manip << obj.obj->names[13] << obj.delem;
- s << obj.manip << obj.obj->names[14] << obj.delem;
- s << obj.manip << obj.obj->names[15] << obj.delem;
- s << obj.manip << obj.obj->names[16] << obj.delem;
- s << obj.manip << obj.obj->names[17] << obj.delem;
- s << obj.manip << obj.obj->names[18] << obj.delem;
- s << obj.manip << obj.obj->names[19] << obj.delem;
- s << obj.manip << obj.obj->names[20] << obj.delem;
- s << obj.manip << obj.obj->names[21] << obj.delem;
- s << obj.manip << obj.obj->names[22] << obj.delem;
- s << obj.manip << obj.obj->names[23] << obj.delem;
- s << obj.manip << obj.obj->names[24];
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_equal_list<Manip>& obj) {
- s << obj.obj->names[0] << obj.comp << obj.manip << obj.obj->##I1 << obj.delem;
- s << obj.obj->names[1] << obj.comp << obj.manip << obj.obj->##I2 << obj.delem;
- s << obj.obj->names[2] << obj.comp << obj.manip << obj.obj->##I3 << obj.delem;
- s << obj.obj->names[3] << obj.comp << obj.manip << obj.obj->##I4 << obj.delem;
- s << obj.obj->names[4] << obj.comp << obj.manip << obj.obj->##I5 << obj.delem;
- s << obj.obj->names[5] << obj.comp << obj.manip << obj.obj->##I6 << obj.delem;
- s << obj.obj->names[6] << obj.comp << obj.manip << obj.obj->##I7 << obj.delem;
- s << obj.obj->names[7] << obj.comp << obj.manip << obj.obj->##I8 << obj.delem;
- s << obj.obj->names[8] << obj.comp << obj.manip << obj.obj->##I9 << obj.delem;
- s << obj.obj->names[9] << obj.comp << obj.manip << obj.obj->##I10 << obj.delem;
- s << obj.obj->names[10] << obj.comp << obj.manip << obj.obj->##I11 << obj.delem;
- s << obj.obj->names[11] << obj.comp << obj.manip << obj.obj->##I12 << obj.delem;
- s << obj.obj->names[12] << obj.comp << obj.manip << obj.obj->##I13 << obj.delem;
- s << obj.obj->names[13] << obj.comp << obj.manip << obj.obj->##I14 << obj.delem;
- s << obj.obj->names[14] << obj.comp << obj.manip << obj.obj->##I15 << obj.delem;
- s << obj.obj->names[15] << obj.comp << obj.manip << obj.obj->##I16 << obj.delem;
- s << obj.obj->names[16] << obj.comp << obj.manip << obj.obj->##I17 << obj.delem;
- s << obj.obj->names[17] << obj.comp << obj.manip << obj.obj->##I18 << obj.delem;
- s << obj.obj->names[18] << obj.comp << obj.manip << obj.obj->##I19 << obj.delem;
- s << obj.obj->names[19] << obj.comp << obj.manip << obj.obj->##I20 << obj.delem;
- s << obj.obj->names[20] << obj.comp << obj.manip << obj.obj->##I21 << obj.delem;
- s << obj.obj->names[21] << obj.comp << obj.manip << obj.obj->##I22 << obj.delem;
- s << obj.obj->names[22] << obj.comp << obj.manip << obj.obj->##I23 << obj.delem;
- s << obj.obj->names[23] << obj.comp << obj.manip << obj.obj->##I24 << obj.delem;
- s << obj.obj->names[24] << obj.comp << obj.manip << obj.obj->##I25;
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_cus_value_list<Manip>& obj) {
- bool before = false;
- if ((*obj.include)[0]) {
- s << obj.manip << obj.obj->##I1;
- before = true;
- }
- if ((*obj.include)[1]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I2;
- before = true;
- }
- if ((*obj.include)[2]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I3;
- before = true;
- }
- if ((*obj.include)[3]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I4;
- before = true;
- }
- if ((*obj.include)[4]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I5;
- before = true;
- }
- if ((*obj.include)[5]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I6;
- before = true;
- }
- if ((*obj.include)[6]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I7;
- before = true;
- }
- if ((*obj.include)[7]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I8;
- before = true;
- }
- if ((*obj.include)[8]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I9;
- before = true;
- }
- if ((*obj.include)[9]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I10;
- before = true;
- }
- if ((*obj.include)[10]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I11;
- before = true;
- }
- if ((*obj.include)[11]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I12;
- before = true;
- }
- if ((*obj.include)[12]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I13;
- before = true;
- }
- if ((*obj.include)[13]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I14;
- before = true;
- }
- if ((*obj.include)[14]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I15;
- before = true;
- }
- if ((*obj.include)[15]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I16;
- before = true;
- }
- if ((*obj.include)[16]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I17;
- before = true;
- }
- if ((*obj.include)[17]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I18;
- before = true;
- }
- if ((*obj.include)[18]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I19;
- before = true;
- }
- if ((*obj.include)[19]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I20;
- before = true;
- }
- if ((*obj.include)[20]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I21;
- before = true;
- }
- if ((*obj.include)[21]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I22;
- before = true;
- }
- if ((*obj.include)[22]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I23;
- before = true;
- }
- if ((*obj.include)[23]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I24;
- before = true;
- }
- if ((*obj.include)[24]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I25;
- }
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_cus_field_list<Manip>& obj) {
- bool before = false;
- if ((*obj.include)[0]) {
- s << obj.manip << obj.obj->names[0];
- before = true;
- }
- if ((*obj.include)[1]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[1];
- before = true;
- }
- if ((*obj.include)[2]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[2];
- before = true;
- }
- if ((*obj.include)[3]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[3];
- before = true;
- }
- if ((*obj.include)[4]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[4];
- before = true;
- }
- if ((*obj.include)[5]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[5];
- before = true;
- }
- if ((*obj.include)[6]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[6];
- before = true;
- }
- if ((*obj.include)[7]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[7];
- before = true;
- }
- if ((*obj.include)[8]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[8];
- before = true;
- }
- if ((*obj.include)[9]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[9];
- before = true;
- }
- if ((*obj.include)[10]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[10];
- before = true;
- }
- if ((*obj.include)[11]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[11];
- before = true;
- }
- if ((*obj.include)[12]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[12];
- before = true;
- }
- if ((*obj.include)[13]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[13];
- before = true;
- }
- if ((*obj.include)[14]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[14];
- before = true;
- }
- if ((*obj.include)[15]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[15];
- before = true;
- }
- if ((*obj.include)[16]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[16];
- before = true;
- }
- if ((*obj.include)[17]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[17];
- before = true;
- }
- if ((*obj.include)[18]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[18];
- before = true;
- }
- if ((*obj.include)[19]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[19];
- before = true;
- }
- if ((*obj.include)[20]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[20];
- before = true;
- }
- if ((*obj.include)[21]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[21];
- before = true;
- }
- if ((*obj.include)[22]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[22];
- before = true;
- }
- if ((*obj.include)[23]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[23];
- before = true;
- }
- if ((*obj.include)[24]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[24];
- }
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_cus_equal_list<Manip>& obj) {
- bool before = false;
- if ((*obj.include)[0]) {
- s << obj.obj->names[0] << obj.comp << obj.manip << obj.obj->##I1;
- before = true;
- }
- if ((*obj.include)[1]) {
- if (before) s << obj.delem;
- s << obj.obj->names[1] << obj.comp << obj.manip << obj.obj->##I2;
- before = true;
- }
- if ((*obj.include)[2]) {
- if (before) s << obj.delem;
- s << obj.obj->names[2] << obj.comp << obj.manip << obj.obj->##I3;
- before = true;
- }
- if ((*obj.include)[3]) {
- if (before) s << obj.delem;
- s << obj.obj->names[3] << obj.comp << obj.manip << obj.obj->##I4;
- before = true;
- }
- if ((*obj.include)[4]) {
- if (before) s << obj.delem;
- s << obj.obj->names[4] << obj.comp << obj.manip << obj.obj->##I5;
- before = true;
- }
- if ((*obj.include)[5]) {
- if (before) s << obj.delem;
- s << obj.obj->names[5] << obj.comp << obj.manip << obj.obj->##I6;
- before = true;
- }
- if ((*obj.include)[6]) {
- if (before) s << obj.delem;
- s << obj.obj->names[6] << obj.comp << obj.manip << obj.obj->##I7;
- before = true;
- }
- if ((*obj.include)[7]) {
- if (before) s << obj.delem;
- s << obj.obj->names[7] << obj.comp << obj.manip << obj.obj->##I8;
- before = true;
- }
- if ((*obj.include)[8]) {
- if (before) s << obj.delem;
- s << obj.obj->names[8] << obj.comp << obj.manip << obj.obj->##I9;
- before = true;
- }
- if ((*obj.include)[9]) {
- if (before) s << obj.delem;
- s << obj.obj->names[9] << obj.comp << obj.manip << obj.obj->##I10;
- before = true;
- }
- if ((*obj.include)[10]) {
- if (before) s << obj.delem;
- s << obj.obj->names[10] << obj.comp << obj.manip << obj.obj->##I11;
- before = true;
- }
- if ((*obj.include)[11]) {
- if (before) s << obj.delem;
- s << obj.obj->names[11] << obj.comp << obj.manip << obj.obj->##I12;
- before = true;
- }
- if ((*obj.include)[12]) {
- if (before) s << obj.delem;
- s << obj.obj->names[12] << obj.comp << obj.manip << obj.obj->##I13;
- before = true;
- }
- if ((*obj.include)[13]) {
- if (before) s << obj.delem;
- s << obj.obj->names[13] << obj.comp << obj.manip << obj.obj->##I14;
- before = true;
- }
- if ((*obj.include)[14]) {
- if (before) s << obj.delem;
- s << obj.obj->names[14] << obj.comp << obj.manip << obj.obj->##I15;
- before = true;
- }
- if ((*obj.include)[15]) {
- if (before) s << obj.delem;
- s << obj.obj->names[15] << obj.comp << obj.manip << obj.obj->##I16;
- before = true;
- }
- if ((*obj.include)[16]) {
- if (before) s << obj.delem;
- s << obj.obj->names[16] << obj.comp << obj.manip << obj.obj->##I17;
- before = true;
- }
- if ((*obj.include)[17]) {
- if (before) s << obj.delem;
- s << obj.obj->names[17] << obj.comp << obj.manip << obj.obj->##I18;
- before = true;
- }
- if ((*obj.include)[18]) {
- if (before) s << obj.delem;
- s << obj.obj->names[18] << obj.comp << obj.manip << obj.obj->##I19;
- before = true;
- }
- if ((*obj.include)[19]) {
- if (before) s << obj.delem;
- s << obj.obj->names[19] << obj.comp << obj.manip << obj.obj->##I20;
- before = true;
- }
- if ((*obj.include)[20]) {
- if (before) s << obj.delem;
- s << obj.obj->names[20] << obj.comp << obj.manip << obj.obj->##I21;
- before = true;
- }
- if ((*obj.include)[21]) {
- if (before) s << obj.delem;
- s << obj.obj->names[21] << obj.comp << obj.manip << obj.obj->##I22;
- before = true;
- }
- if ((*obj.include)[22]) {
- if (before) s << obj.delem;
- s << obj.obj->names[22] << obj.comp << obj.manip << obj.obj->##I23;
- before = true;
- }
- if ((*obj.include)[23]) {
- if (before) s << obj.delem;
- s << obj.obj->names[23] << obj.comp << obj.manip << obj.obj->##I24;
- before = true;
- }
- if ((*obj.include)[24]) {
- if (before) s << obj.delem;
- s << obj.obj->names[24] << obj.comp << obj.manip << obj.obj->##I25;
- }
- return s;
- }
- template <class Manip>
- inline NAME##_value_list<Manip> NAME##::value_list(cchar *d, Manip m) const {
- return NAME##_value_list<Manip> (this, d, m);
- }
- template <class Manip>
- inline NAME##_field_list<Manip> NAME##::field_list(cchar *d, Manip m) const {
- return NAME##_field_list<Manip> (this, d, m);
- }
- template <class Manip>
- inline NAME##_equal_list<Manip> NAME##::equal_list(cchar *d, cchar *c, Manip m) const {
- return NAME##_equal_list<Manip> (this, d, c, m);
- }
- template <class Manip>
- inline NAME##_cus_value_list<Manip> NAME##::value_list(cchar *d, Manip m,
- bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25) const {
- return NAME##_cus_value_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- template <class Manip>
- inline NAME##_cus_field_list<Manip> NAME##::field_list(cchar *d, Manip m,
- bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25) const {
- return NAME##_cus_field_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- template <class Manip>
- inline NAME##_cus_equal_list<Manip> NAME##::equal_list(cchar *d, cchar *c, Manip m,
- bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25) const {
- return NAME##_cus_equal_list<Manip> (this, d, c, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- template <class Manip>
- inline NAME##_cus_value_list<Manip> NAME##::value_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25) const {
- return NAME##_cus_value_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- template <class Manip>
- inline NAME##_cus_field_list<Manip> NAME##::field_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25) const {
- return NAME##_cus_field_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- template <class Manip>
- inline NAME##_cus_equal_list<Manip> NAME##::equal_list(cchar *d, cchar *c, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25) const {
- return NAME##_cus_equal_list<Manip> (this, d, c, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25);
- }
- template <class Manip>
- inline NAME##_cus_value_list<Manip>
- NAME##::value_list(cchar *d, Manip m, sql_cmp_type sc) const {
- sql_compare_type_def_##CMP (NAME, value, NUM);
- }
- template <class Manip>
- inline NAME##_cus_field_list<Manip>
- NAME##::field_list(cchar *d, Manip m, sql_cmp_type sc) const {
- sql_compare_type_def_##CMP (NAME, field, NUM);
- }
- template <class Manip>
- inline NAME##_cus_equal_list<Manip>
- NAME##::equal_list(cchar *d, cchar *c, Manip m, sql_cmp_type sc) const {
- sql_compare_type_defe_##CMP (NAME, equal, NUM);
- }
- template <sql_dummy_type dummy>
- void populate_##NAME (NAME *s, const MysqlRow &row) {
- s->##I1 = row[ O1 ];
- s->##I2 = row[ O2 ];
- s->##I3 = row[ O3 ];
- s->##I4 = row[ O4 ];
- s->##I5 = row[ O5 ];
- s->##I6 = row[ O6 ];
- s->##I7 = row[ O7 ];
- s->##I8 = row[ O8 ];
- s->##I9 = row[ O9 ];
- s->##I10 = row[ O10 ];
- s->##I11 = row[ O11 ];
- s->##I12 = row[ O12 ];
- s->##I13 = row[ O13 ];
- s->##I14 = row[ O14 ];
- s->##I15 = row[ O15 ];
- s->##I16 = row[ O16 ];
- s->##I17 = row[ O17 ];
- s->##I18 = row[ O18 ];
- s->##I19 = row[ O19 ];
- s->##I20 = row[ O20 ];
- s->##I21 = row[ O21 ];
- s->##I22 = row[ O22 ];
- s->##I23 = row[ O23 ];
- s->##I24 = row[ O24 ];
- s->##I25 = row[ O25 ];
- }
- inline NAME##::##NAME (const MysqlRow &row)
- {populate_##NAME##<sql_dummy>(this, row);}
- inline void NAME##::set (const MysqlRow &row)
- {populate_##NAME##<sql_dummy>(this, row);}
- sql_COMPARE__##CMP##(NAME, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, 0 )
- #define sql_create_basic_25(NAME, CMP, CONTR, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25)
- sql_create_basic_c_order_25(NAME, CMP, CONTR, T1, I1, 0, T2, I2, 1, T3, I3, 2, T4, I4, 3, T5, I5, 4, T6, I6, 5, T7, I7, 6, T8, I8, 7, T9, I9, 8, T10, I10, 9, T11, I11, 10, T12, I12, 11, T13, I13, 12, T14, I14, 13, T15, I15, 14, T16, I16, 15, T17, I17, 16, T18, I18, 17, T19, I19, 18, T20, I20, 19, T21, I21, 20, T22, I22, 21, T23, I23, 22, T24, I24, 23, T25, I25, 24)
- #define sql_create_25(NAME, CMP, CONTR, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25)
- sql_create_complete_25(NAME, CMP, CONTR, T1, I1, #I1, 0, T2, I2, #I2, 1, T3, I3, #I3, 2, T4, I4, #I4, 3, T5, I5, #I5, 4, T6, I6, #I6, 5, T7, I7, #I7, 6, T8, I8, #I8, 7, T9, I9, #I9, 8, T10, I10, #I10, 9, T11, I11, #I11, 10, T12, I12, #I12, 11, T13, I13, #I13, 12, T14, I14, #I14, 13, T15, I15, #I15, 14, T16, I16, #I16, 15, T17, I17, #I17, 16, T18, I18, #I18, 17, T19, I19, #I19, 18, T20, I20, #I20, 19, T21, I21, #I21, 20, T22, I22, #I22, 21, T23, I23, #I23, 22, T24, I24, #I24, 23, T25, I25, #I25, 24)
- #define sql_create_c_order_25(NAME, CMP, CONTR, T1, I1, O1, T2, I2, O2, T3, I3, O3, T4, I4, O4, T5, I5, O5, T6, I6, O6, T7, I7, O7, T8, I8, O8, T9, I9, O9, T10, I10, O10, T11, I11, O11, T12, I12, O12, T13, I13, O13, T14, I14, O14, T15, I15, O15, T16, I16, O16, T17, I17, O17, T18, I18, O18, T19, I19, O19, T20, I20, O20, T21, I21, O21, T22, I22, O22, T23, I23, O23, T24, I24, O24, T25, I25, O25)
- sql_create_complete_25(NAME, CMP, CONTR, T1, I1, #I1, O1, T2, I2, #I2, O2, T3, I3, #I3, O3, T4, I4, #I4, O4, T5, I5, #I5, O5, T6, I6, #I6, O6, T7, I7, #I7, O7, T8, I8, #I8, O8, T9, I9, #I9, O9, T10, I10, #I10, O10, T11, I11, #I11, O11, T12, I12, #I12, O12, T13, I13, #I13, O13, T14, I14, #I14, O14, T15, I15, #I15, O15, T16, I16, #I16, O16, T17, I17, #I17, O17, T18, I18, #I18, O18, T19, I19, #I19, O19, T20, I20, #I20, O20, T21, I21, #I21, O21, T22, I22, #I22, O22, T23, I23, #I23, O23, T24, I24, #I24, O24, T25, I25, #I25, O25)
- #define sql_create_c_names_25(NAME, CMP, CONTR, T1, I1, N1, T2, I2, N2, T3, I3, N3, T4, I4, N4, T5, I5, N5, T6, I6, N6, T7, I7, N7, T8, I8, N8, T9, I9, N9, T10, I10, N10, T11, I11, N11, T12, I12, N12, T13, I13, N13, T14, I14, N14, T15, I15, N15, T16, I16, N16, T17, I17, N17, T18, I18, N18, T19, I19, N19, T20, I20, N20, T21, I21, N21, T22, I22, N22, T23, I23, N23, T24, I24, N24, T25, I25, N25)
- sql_create_complete_25(NAME, CMP, CONTR, T1, I1, N1, 0, T2, I2, N2, 1, T3, I3, N3, 2, T4, I4, N4, 3, T5, I5, N5, 4, T6, I6, N6, 5, T7, I7, N7, 6, T8, I8, N8, 7, T9, I9, N9, 8, T10, I10, N10, 9, T11, I11, N11, 10, T12, I12, N12, 11, T13, I13, N13, 12, T14, I14, N14, 13, T15, I15, N15, 14, T16, I16, N16, 15, T17, I17, N17, 16, T18, I18, N18, 17, T19, I19, N19, 18, T20, I20, N20, 19, T21, I21, N21, 20, T22, I22, N22, 21, T23, I23, N23, 22, T24, I24, N24, 23, T25, I25, N25, 24)
- // ---------------------------------------------------
- // End Create 25
- // ---------------------------------------------------
- // ---------------------------------------------------
- // Begin Create 26
- // ---------------------------------------------------
- #define sql_create_basic_c_order_26(NAME, CMP, CONTR, T1, I1, O1, T2, I2, O2, T3, I3, O3, T4, I4, O4, T5, I5, O5, T6, I6, O6, T7, I7, O7, T8, I8, O8, T9, I9, O9, T10, I10, O10, T11, I11, O11, T12, I12, O12, T13, I13, O13, T14, I14, O14, T15, I15, O15, T16, I16, O16, T17, I17, O17, T18, I18, O18, T19, I19, O19, T20, I20, O20, T21, I21, O21, T22, I22, O22, T23, I23, O23, T24, I24, O24, T25, I25, O25, T26, I26, O26)
- struct NAME;
- template <sql_dummy_type dummy> int sql_compare_##NAME (const NAME &, const NAME &);
- struct NAME {
- T1 I1;
- T2 I2;
- T3 I3;
- T4 I4;
- T5 I5;
- T6 I6;
- T7 I7;
- T8 I8;
- T9 I9;
- T10 I10;
- T11 I11;
- T12 I12;
- T13 I13;
- T14 I14;
- T15 I15;
- T16 I16;
- T17 I17;
- T18 I18;
- T19 I19;
- T20 I20;
- T21 I21;
- T22 I22;
- T23 I23;
- T24 I24;
- T25 I25;
- T26 I26;
- NAME () {}
- NAME (const MysqlRow &row);
- sql_compare_define_##CMP(NAME, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25, T26, I26)
- };
- template <sql_dummy_type dummy>
- void populate_##NAME (NAME *s, const MysqlRow &row) {
- s->##I1 = row[ O1 ];
- s->##I2 = row[ O2 ];
- s->##I3 = row[ O3 ];
- s->##I4 = row[ O4 ];
- s->##I5 = row[ O5 ];
- s->##I6 = row[ O6 ];
- s->##I7 = row[ O7 ];
- s->##I8 = row[ O8 ];
- s->##I9 = row[ O9 ];
- s->##I10 = row[ O10 ];
- s->##I11 = row[ O11 ];
- s->##I12 = row[ O12 ];
- s->##I13 = row[ O13 ];
- s->##I14 = row[ O14 ];
- s->##I15 = row[ O15 ];
- s->##I16 = row[ O16 ];
- s->##I17 = row[ O17 ];
- s->##I18 = row[ O18 ];
- s->##I19 = row[ O19 ];
- s->##I20 = row[ O20 ];
- s->##I21 = row[ O21 ];
- s->##I22 = row[ O22 ];
- s->##I23 = row[ O23 ];
- s->##I24 = row[ O24 ];
- s->##I25 = row[ O25 ];
- s->##I26 = row[ O26 ];
- }
- inline NAME##::##NAME (const MysqlRow &row)
- {populate_##NAME##<sql_dummy>(this, row);}
- sql_COMPARE__##CMP##(NAME, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26 )
- #define sql_create_complete_26(NAME, CMP, CONTR, T1, I1, N1, O1, T2, I2, N2, O2, T3, I3, N3, O3, T4, I4, N4, O4, T5, I5, N5, O5, T6, I6, N6, O6, T7, I7, N7, O7, T8, I8, N8, O8, T9, I9, N9, O9, T10, I10, N10, O10, T11, I11, N11, O11, T12, I12, N12, O12, T13, I13, N13, O13, T14, I14, N14, O14, T15, I15, N15, O15, T16, I16, N16, O16, T17, I17, N17, O17, T18, I18, N18, O18, T19, I19, N19, O19, T20, I20, N20, O20, T21, I21, N21, O21, T22, I22, N22, O22, T23, I23, N23, O23, T24, I24, N24, O24, T25, I25, N25, O25, T26, I26, N26, O26)
- struct NAME;
- enum NAME##_enum {
- NAME##_##I1,
- NAME##_##I2,
- NAME##_##I3,
- NAME##_##I4,
- NAME##_##I5,
- NAME##_##I6,
- NAME##_##I7,
- NAME##_##I8,
- NAME##_##I9,
- NAME##_##I10,
- NAME##_##I11,
- NAME##_##I12,
- NAME##_##I13,
- NAME##_##I14,
- NAME##_##I15,
- NAME##_##I16,
- NAME##_##I17,
- NAME##_##I18,
- NAME##_##I19,
- NAME##_##I20,
- NAME##_##I21,
- NAME##_##I22,
- NAME##_##I23,
- NAME##_##I24,
- NAME##_##I25,
- NAME##_##I26
- ,NAME##_NULL
- };
- template <class Manip>
- class NAME##_value_list {
- /*friend ostream& operator << <> (ostream&, const NAME##_value_list&); */
- public:
- const NAME *obj;
- cchar *delem;
- Manip manip;
- public:
- NAME##_value_list (const NAME *o, cchar *d, Manip m)
- : obj(o), delem(d), manip(m) {}
- };
- template <class Manip>
- class NAME##_##field_list {
- /* friend ostream& operator << <> (ostream&, const NAME##_field_list&); */
- public:
- const NAME *obj;
- cchar *delem;
- Manip manip;
- public:
- NAME##_field_list (const NAME *o, cchar *d, Manip m)
- : obj(o), delem(d), manip(m) {}
- };
- template <class Manip>
- class NAME##_equal_list {
- /* friend ostream& operator << <> (ostream&, const NAME##_equal_list&); */
- public:
- const NAME *obj;
- cchar *delem;
- cchar *comp;
- Manip manip;
- public:
- NAME##_equal_list (const NAME *o, cchar *d, cchar *c, Manip m)
- : obj(o), delem(d), comp(c), manip(m) {}
- };
- template <class Manip>
- class NAME##_cus_value_list {
- /* friend ostream& operator << <> (ostream&,
- const NAME##_cus_value_list<Manip>&); */
- public:
- const NAME *obj;
- cchar *delem;
- Manip manip;
- vector<bool> *include;
- bool del_vector;
- public:
- ~##NAME##_cus_value_list () {if (del_vector) delete include;}
- NAME##_cus_value_list (const NAME *o, cchar *d, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25, bool i26);
- NAME##_cus_value_list (const NAME *o, cchar *d, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25, ##NAME##_enum i26);
- NAME##_cus_value_list (const NAME *o, cchar *d, Manip m ,vector<bool>)
- : obj(o), include(i), del_vector(false), delem(d), manip(m) {}
- };
- template <class Manip>
- class NAME##_cus_field_list {
- /* friend ostream& operator << <> (ostream&,
- const NAME##_cus_field_list<Manip>&); */
- public:
- const NAME *obj;
- cchar *delem;
- Manip manip;
- vector<bool> *include;
- bool del_vector;
- public:
- ~##NAME##_cus_field_list () {if (del_vector) delete include;}
- NAME##_cus_field_list (const NAME *o, cchar *d, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25, bool i26);
- NAME##_cus_field_list (const NAME *o, cchar *d, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25, ##NAME##_enum i26);
- NAME##_cus_field_list (const NAME *o, cchar *d, Manip m, vector<bool> *i)
- : obj(o), include(i), del_vector(false), delem(d), manip(m) {}
- };
- template <class Manip>
- class NAME##_cus_equal_list {
- /* friend ostream& operator << <> (ostream&,
- const NAME##_cus_equal_list<Manip>&); */
- public:
- const NAME *obj;
- vector<bool> *include;
- bool del_vector;
- cchar *delem;
- cchar *comp;
- Manip manip;
- public:
- ~##NAME##_##cus_equal_list () {if (del_vector) delete include;}
- NAME##_##cus_equal_list (const NAME *o, cchar *d, cchar *c, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25, bool i26);
- NAME##_##cus_equal_list (const NAME *o, cchar *d, cchar *c, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25, ##NAME##_enum i26);
- NAME##_##cus_equal_list (const NAME *o, cchar *d, cchar *c, Manip m, vector<bool> *i)
- : obj(o), include(i), del_vector(false), delem(d), comp(c), manip(m) {}
- };
- template <sql_dummy_type dummy> int sql_compare_##NAME (const NAME &, const NAME &);
- struct NAME {
- T1 I1;
- T2 I2;
- T3 I3;
- T4 I4;
- T5 I5;
- T6 I6;
- T7 I7;
- T8 I8;
- T9 I9;
- T10 I10;
- T11 I11;
- T12 I12;
- T13 I13;
- T14 I14;
- T15 I15;
- T16 I16;
- T17 I17;
- T18 I18;
- T19 I19;
- T20 I20;
- T21 I21;
- T22 I22;
- T23 I23;
- T24 I24;
- T25 I25;
- T26 I26;
- NAME () {}
- NAME (const MysqlRow &row);
- void set (const MysqlRow &row);
- sql_compare_define_##CMP(NAME, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25, T26, I26)
- sql_construct_define_##CONTR(NAME, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25, T26, I26)
- static char *names[];
- static char *_table;
- static char *& table() {return _table;}
- /* cus_data */
- NAME##_cus_value_list<quote_type0> value_list(bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const {
- return value_list(",", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_value_list<quote_type0> value_list(##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const {
- return value_list(",", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_value_list<quote_type0> value_list(vector<bool> *i) const {
- return value_list(",", mysql_quote, i);
- }
- NAME##_cus_value_list<quote_type0> value_list(sql_cmp_type sc) const {
- return value_list(",", mysql_quote, sc);
- }
- NAME##_cus_value_list<quote_type0> value_list(cchar *d, bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const {
- return value_list(d, mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_value_list<quote_type0> value_list(cchar *d, ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const {
- return value_list(d, mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_value_list<quote_type0> value_list(cchar *d,
- vector<bool> *i) const {
- return value_list(d, mysql_quote, i);
- }
- NAME##_cus_value_list<quote_type0> value_list(cchar *d,
- sql_cmp_type sc) const {
- return value_list(d, mysql_quote, sc);
- }
- template <class Manip>
- NAME##_cus_value_list<Manip> value_list(cchar *d, Manip m,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const;
- template <class Manip>
- NAME##_cus_value_list<Manip> value_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const;
- template <class Manip>
- NAME##_cus_value_list<Manip> value_list(cchar *d, Manip m,
- vector<bool> *i) const;
- template <class Manip>
- NAME##_cus_value_list<Manip> value_list(cchar *d, Manip m,
- sql_cmp_type sc) const;
- /* cus field */
- NAME##_cus_field_list<do_nothing_type0> field_list(bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const {
- return field_list(",", mysql_do_nothing, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const {
- return field_list(",", mysql_do_nothing, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(vector<bool> *i) const {
- return field_list(",", mysql_do_nothing, i);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(sql_cmp_type sc) const
- {
- return field_list(",", mysql_do_nothing, sc);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(cchar *d,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const {
- return field_list(d, mysql_do_nothing, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(cchar *d,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const {
- return field_list(d, mysql_do_nothing, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(cchar *d,
- vector<bool> *i) const {
- return field_list(d, mysql_do_nothing, i);
- }
- NAME##_cus_field_list<do_nothing_type0> field_list(cchar *d,
- sql_cmp_type sc) const {
- return field_list(d, mysql_do_nothing, sc);
- }
- template <class Manip>
- NAME##_cus_field_list<Manip> field_list(cchar *d, Manip m,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const;
- template <class Manip>
- NAME##_cus_field_list<Manip> field_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const;
- template <class Manip>
- NAME##_cus_field_list<Manip> field_list(cchar *d, Manip m,
- vector<bool> *i) const;
- template <class Manip>
- NAME##_cus_field_list<Manip> field_list(cchar *d, Manip m,
- sql_cmp_type sc) const;
- /* cus equal */
- NAME##_cus_equal_list<quote_type0> equal_list(bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const {
- return equal_list(",", " = ", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const {
- return equal_list(",", " = ", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(vector<bool> *i) const {
- return equal_list(",", " = ", mysql_quote, i);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(sql_cmp_type sc) const {
- return equal_list(",", " = ", mysql_quote, sc);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const {
- return equal_list(d, " = ", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const {
- return equal_list(d, " = ", mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d,
- vector<bool> *i) const {
- return equal_list(d, " = ", mysql_quote, i);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d,
- sql_cmp_type sc) const {
- return equal_list(d, " = ", mysql_quote, sc);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, cchar *c,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const {
- return equal_list(d, c, mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, cchar *c,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const {
- return equal_list(d, c, mysql_quote, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, cchar *c,
- vector<bool> *i) const {
- return equal_list(d, c, mysql_quote, i);
- }
- NAME##_cus_equal_list<quote_type0> equal_list(cchar *d, cchar *c,
- sql_cmp_type sc) const {
- return equal_list(d, c, mysql_quote, sc);
- }
- template <class Manip>
- NAME##_cus_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m,
- bool i1, bool i2 = false, bool i3 = false, bool i4 = false, bool i5 = false, bool i6 = false, bool i7 = false, bool i8 = false, bool i9 = false, bool i10 = false, bool i11 = false, bool i12 = false, bool i13 = false, bool i14 = false, bool i15 = false, bool i16 = false, bool i17 = false, bool i18 = false, bool i19 = false, bool i20 = false, bool i21 = false, bool i22 = false, bool i23 = false, bool i24 = false, bool i25 = false, bool i26 = false) const;
- template <class Manip>
- NAME##_cus_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2 = ##NAME##_NULL, ##NAME##_enum i3 = ##NAME##_NULL, ##NAME##_enum i4 = ##NAME##_NULL, ##NAME##_enum i5 = ##NAME##_NULL, ##NAME##_enum i6 = ##NAME##_NULL, ##NAME##_enum i7 = ##NAME##_NULL, ##NAME##_enum i8 = ##NAME##_NULL, ##NAME##_enum i9 = ##NAME##_NULL, ##NAME##_enum i10 = ##NAME##_NULL, ##NAME##_enum i11 = ##NAME##_NULL, ##NAME##_enum i12 = ##NAME##_NULL, ##NAME##_enum i13 = ##NAME##_NULL, ##NAME##_enum i14 = ##NAME##_NULL, ##NAME##_enum i15 = ##NAME##_NULL, ##NAME##_enum i16 = ##NAME##_NULL, ##NAME##_enum i17 = ##NAME##_NULL, ##NAME##_enum i18 = ##NAME##_NULL, ##NAME##_enum i19 = ##NAME##_NULL, ##NAME##_enum i20 = ##NAME##_NULL, ##NAME##_enum i21 = ##NAME##_NULL, ##NAME##_enum i22 = ##NAME##_NULL, ##NAME##_enum i23 = ##NAME##_NULL, ##NAME##_enum i24 = ##NAME##_NULL, ##NAME##_enum i25 = ##NAME##_NULL, ##NAME##_enum i26 = ##NAME##_NULL) const;
- template <class Manip>
- NAME##_cus_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m,
- vector<bool> *i) const;
- template <class Manip>
- NAME##_cus_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m,
- sql_cmp_type sc) const;
- NAME##_value_list<quote_type0> value_list() const {
- return value_list(",", mysql_quote);}
- NAME##_value_list<quote_type0> value_list(cchar *d) const {
- return value_list(d, mysql_quote);}
- template <class Manip>
- NAME##_value_list<Manip> value_list(cchar *d, Manip m) const;
- NAME##_field_list<do_nothing_type0> field_list() const {
- return field_list(",", mysql_do_nothing);}
- NAME##_field_list<do_nothing_type0> field_list(cchar *d) const {
- return field_list(d, mysql_do_nothing);}
- template <class Manip>
- NAME##_field_list<Manip> field_list(cchar *d, Manip m) const;
- NAME##_equal_list<quote_type0> equal_list(cchar *d = ",",
- cchar *c = " = ") const{
- return equal_list(d, c, mysql_quote);}
- template <class Manip>
- NAME##_equal_list<Manip> equal_list(cchar *d, cchar *c, Manip m) const;
- };
- char *##NAME##::names[] = {
- N1 ,
- N2 ,
- N3 ,
- N4 ,
- N5 ,
- N6 ,
- N7 ,
- N8 ,
- N9 ,
- N10 ,
- N11 ,
- N12 ,
- N13 ,
- N14 ,
- N15 ,
- N16 ,
- N17 ,
- N18 ,
- N19 ,
- N20 ,
- N21 ,
- N22 ,
- N23 ,
- N24 ,
- N25 ,
- N26
- };
- char *##NAME##::_table = #NAME ;
- template <class Manip>
- NAME##_cus_value_list<Manip>::NAME##_cus_value_list
- (const NAME *o, cchar *d, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25, bool i26)
- {
- delem = d;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(26, false);
- if (i1) (*include)[0]=true;
- if (i2) (*include)[1]=true;
- if (i3) (*include)[2]=true;
- if (i4) (*include)[3]=true;
- if (i5) (*include)[4]=true;
- if (i6) (*include)[5]=true;
- if (i7) (*include)[6]=true;
- if (i8) (*include)[7]=true;
- if (i9) (*include)[8]=true;
- if (i10) (*include)[9]=true;
- if (i11) (*include)[10]=true;
- if (i12) (*include)[11]=true;
- if (i13) (*include)[12]=true;
- if (i14) (*include)[13]=true;
- if (i15) (*include)[14]=true;
- if (i16) (*include)[15]=true;
- if (i17) (*include)[16]=true;
- if (i18) (*include)[17]=true;
- if (i19) (*include)[18]=true;
- if (i20) (*include)[19]=true;
- if (i21) (*include)[20]=true;
- if (i22) (*include)[21]=true;
- if (i23) (*include)[22]=true;
- if (i24) (*include)[23]=true;
- if (i25) (*include)[24]=true;
- if (i26) (*include)[25]=true;
- }
- template <class Manip>
- NAME##_cus_value_list<Manip>::NAME##_cus_value_list
- (const NAME *o, cchar *d, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25, ##NAME##_enum i26) {
- delem = d;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(26, false);
- if (i1 == NAME##_NULL) return;
- (*include)[i1]=true;
- if (i2 == NAME##_NULL) return;
- (*include)[i2]=true;
- if (i3 == NAME##_NULL) return;
- (*include)[i3]=true;
- if (i4 == NAME##_NULL) return;
- (*include)[i4]=true;
- if (i5 == NAME##_NULL) return;
- (*include)[i5]=true;
- if (i6 == NAME##_NULL) return;
- (*include)[i6]=true;
- if (i7 == NAME##_NULL) return;
- (*include)[i7]=true;
- if (i8 == NAME##_NULL) return;
- (*include)[i8]=true;
- if (i9 == NAME##_NULL) return;
- (*include)[i9]=true;
- if (i10 == NAME##_NULL) return;
- (*include)[i10]=true;
- if (i11 == NAME##_NULL) return;
- (*include)[i11]=true;
- if (i12 == NAME##_NULL) return;
- (*include)[i12]=true;
- if (i13 == NAME##_NULL) return;
- (*include)[i13]=true;
- if (i14 == NAME##_NULL) return;
- (*include)[i14]=true;
- if (i15 == NAME##_NULL) return;
- (*include)[i15]=true;
- if (i16 == NAME##_NULL) return;
- (*include)[i16]=true;
- if (i17 == NAME##_NULL) return;
- (*include)[i17]=true;
- if (i18 == NAME##_NULL) return;
- (*include)[i18]=true;
- if (i19 == NAME##_NULL) return;
- (*include)[i19]=true;
- if (i20 == NAME##_NULL) return;
- (*include)[i20]=true;
- if (i21 == NAME##_NULL) return;
- (*include)[i21]=true;
- if (i22 == NAME##_NULL) return;
- (*include)[i22]=true;
- if (i23 == NAME##_NULL) return;
- (*include)[i23]=true;
- if (i24 == NAME##_NULL) return;
- (*include)[i24]=true;
- if (i25 == NAME##_NULL) return;
- (*include)[i25]=true;
- if (i26 == NAME##_NULL) return;
- (*include)[i26]=true;
- }
- template <class Manip>
- NAME##_cus_field_list<Manip>::NAME##_cus_field_list
- (const NAME *o, cchar *d, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25, bool i26) {
- delem = d;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(26, false);
- if (i1) (*include)[0]=true;
- if (i2) (*include)[1]=true;
- if (i3) (*include)[2]=true;
- if (i4) (*include)[3]=true;
- if (i5) (*include)[4]=true;
- if (i6) (*include)[5]=true;
- if (i7) (*include)[6]=true;
- if (i8) (*include)[7]=true;
- if (i9) (*include)[8]=true;
- if (i10) (*include)[9]=true;
- if (i11) (*include)[10]=true;
- if (i12) (*include)[11]=true;
- if (i13) (*include)[12]=true;
- if (i14) (*include)[13]=true;
- if (i15) (*include)[14]=true;
- if (i16) (*include)[15]=true;
- if (i17) (*include)[16]=true;
- if (i18) (*include)[17]=true;
- if (i19) (*include)[18]=true;
- if (i20) (*include)[19]=true;
- if (i21) (*include)[20]=true;
- if (i22) (*include)[21]=true;
- if (i23) (*include)[22]=true;
- if (i24) (*include)[23]=true;
- if (i25) (*include)[24]=true;
- if (i26) (*include)[25]=true;
- }
- template <class Manip>
- NAME##_cus_field_list<Manip>::NAME##_cus_field_list
- (const NAME *o, cchar *d, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25, ##NAME##_enum i26) {
- delem = d;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(26, false);
- if (i1 == NAME##_NULL) return;
- (*include)[i1]=true;
- if (i2 == NAME##_NULL) return;
- (*include)[i2]=true;
- if (i3 == NAME##_NULL) return;
- (*include)[i3]=true;
- if (i4 == NAME##_NULL) return;
- (*include)[i4]=true;
- if (i5 == NAME##_NULL) return;
- (*include)[i5]=true;
- if (i6 == NAME##_NULL) return;
- (*include)[i6]=true;
- if (i7 == NAME##_NULL) return;
- (*include)[i7]=true;
- if (i8 == NAME##_NULL) return;
- (*include)[i8]=true;
- if (i9 == NAME##_NULL) return;
- (*include)[i9]=true;
- if (i10 == NAME##_NULL) return;
- (*include)[i10]=true;
- if (i11 == NAME##_NULL) return;
- (*include)[i11]=true;
- if (i12 == NAME##_NULL) return;
- (*include)[i12]=true;
- if (i13 == NAME##_NULL) return;
- (*include)[i13]=true;
- if (i14 == NAME##_NULL) return;
- (*include)[i14]=true;
- if (i15 == NAME##_NULL) return;
- (*include)[i15]=true;
- if (i16 == NAME##_NULL) return;
- (*include)[i16]=true;
- if (i17 == NAME##_NULL) return;
- (*include)[i17]=true;
- if (i18 == NAME##_NULL) return;
- (*include)[i18]=true;
- if (i19 == NAME##_NULL) return;
- (*include)[i19]=true;
- if (i20 == NAME##_NULL) return;
- (*include)[i20]=true;
- if (i21 == NAME##_NULL) return;
- (*include)[i21]=true;
- if (i22 == NAME##_NULL) return;
- (*include)[i22]=true;
- if (i23 == NAME##_NULL) return;
- (*include)[i23]=true;
- if (i24 == NAME##_NULL) return;
- (*include)[i24]=true;
- if (i25 == NAME##_NULL) return;
- (*include)[i25]=true;
- if (i26 == NAME##_NULL) return;
- (*include)[i26]=true;
- }
- template <class Manip>
- NAME##_cus_equal_list<Manip>::NAME##_cus_equal_list
- (const NAME *o, cchar *d, cchar *c, Manip m, bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25, bool i26) {
- delem = d;
- comp = c;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(26, false);
- if (i1) (*include)[0]=true;
- if (i2) (*include)[1]=true;
- if (i3) (*include)[2]=true;
- if (i4) (*include)[3]=true;
- if (i5) (*include)[4]=true;
- if (i6) (*include)[5]=true;
- if (i7) (*include)[6]=true;
- if (i8) (*include)[7]=true;
- if (i9) (*include)[8]=true;
- if (i10) (*include)[9]=true;
- if (i11) (*include)[10]=true;
- if (i12) (*include)[11]=true;
- if (i13) (*include)[12]=true;
- if (i14) (*include)[13]=true;
- if (i15) (*include)[14]=true;
- if (i16) (*include)[15]=true;
- if (i17) (*include)[16]=true;
- if (i18) (*include)[17]=true;
- if (i19) (*include)[18]=true;
- if (i20) (*include)[19]=true;
- if (i21) (*include)[20]=true;
- if (i22) (*include)[21]=true;
- if (i23) (*include)[22]=true;
- if (i24) (*include)[23]=true;
- if (i25) (*include)[24]=true;
- if (i26) (*include)[25]=true;
- }
- template <class Manip>
- NAME##_cus_equal_list<Manip>::NAME##_cus_equal_list
- (const NAME *o, cchar *d, cchar *c, Manip m, ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25, ##NAME##_enum i26) {
- delem = d;
- comp = c;
- manip = m;
- del_vector = true;
- obj = o;
- include = new vector<bool>(26, false);
- if (i1 == NAME##_NULL) return;
- (*include)[i1]=true;
- if (i2 == NAME##_NULL) return;
- (*include)[i2]=true;
- if (i3 == NAME##_NULL) return;
- (*include)[i3]=true;
- if (i4 == NAME##_NULL) return;
- (*include)[i4]=true;
- if (i5 == NAME##_NULL) return;
- (*include)[i5]=true;
- if (i6 == NAME##_NULL) return;
- (*include)[i6]=true;
- if (i7 == NAME##_NULL) return;
- (*include)[i7]=true;
- if (i8 == NAME##_NULL) return;
- (*include)[i8]=true;
- if (i9 == NAME##_NULL) return;
- (*include)[i9]=true;
- if (i10 == NAME##_NULL) return;
- (*include)[i10]=true;
- if (i11 == NAME##_NULL) return;
- (*include)[i11]=true;
- if (i12 == NAME##_NULL) return;
- (*include)[i12]=true;
- if (i13 == NAME##_NULL) return;
- (*include)[i13]=true;
- if (i14 == NAME##_NULL) return;
- (*include)[i14]=true;
- if (i15 == NAME##_NULL) return;
- (*include)[i15]=true;
- if (i16 == NAME##_NULL) return;
- (*include)[i16]=true;
- if (i17 == NAME##_NULL) return;
- (*include)[i17]=true;
- if (i18 == NAME##_NULL) return;
- (*include)[i18]=true;
- if (i19 == NAME##_NULL) return;
- (*include)[i19]=true;
- if (i20 == NAME##_NULL) return;
- (*include)[i20]=true;
- if (i21 == NAME##_NULL) return;
- (*include)[i21]=true;
- if (i22 == NAME##_NULL) return;
- (*include)[i22]=true;
- if (i23 == NAME##_NULL) return;
- (*include)[i23]=true;
- if (i24 == NAME##_NULL) return;
- (*include)[i24]=true;
- if (i25 == NAME##_NULL) return;
- (*include)[i25]=true;
- if (i26 == NAME##_NULL) return;
- (*include)[i26]=true;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_value_list<Manip>& obj) {
- s << obj.manip << obj.obj->##I1 << obj.delem;
- s << obj.manip << obj.obj->##I2 << obj.delem;
- s << obj.manip << obj.obj->##I3 << obj.delem;
- s << obj.manip << obj.obj->##I4 << obj.delem;
- s << obj.manip << obj.obj->##I5 << obj.delem;
- s << obj.manip << obj.obj->##I6 << obj.delem;
- s << obj.manip << obj.obj->##I7 << obj.delem;
- s << obj.manip << obj.obj->##I8 << obj.delem;
- s << obj.manip << obj.obj->##I9 << obj.delem;
- s << obj.manip << obj.obj->##I10 << obj.delem;
- s << obj.manip << obj.obj->##I11 << obj.delem;
- s << obj.manip << obj.obj->##I12 << obj.delem;
- s << obj.manip << obj.obj->##I13 << obj.delem;
- s << obj.manip << obj.obj->##I14 << obj.delem;
- s << obj.manip << obj.obj->##I15 << obj.delem;
- s << obj.manip << obj.obj->##I16 << obj.delem;
- s << obj.manip << obj.obj->##I17 << obj.delem;
- s << obj.manip << obj.obj->##I18 << obj.delem;
- s << obj.manip << obj.obj->##I19 << obj.delem;
- s << obj.manip << obj.obj->##I20 << obj.delem;
- s << obj.manip << obj.obj->##I21 << obj.delem;
- s << obj.manip << obj.obj->##I22 << obj.delem;
- s << obj.manip << obj.obj->##I23 << obj.delem;
- s << obj.manip << obj.obj->##I24 << obj.delem;
- s << obj.manip << obj.obj->##I25 << obj.delem;
- s << obj.manip << obj.obj->##I26;
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_field_list<Manip>& obj) {
- s << obj.manip << obj.obj->names[0] << obj.delem;
- s << obj.manip << obj.obj->names[1] << obj.delem;
- s << obj.manip << obj.obj->names[2] << obj.delem;
- s << obj.manip << obj.obj->names[3] << obj.delem;
- s << obj.manip << obj.obj->names[4] << obj.delem;
- s << obj.manip << obj.obj->names[5] << obj.delem;
- s << obj.manip << obj.obj->names[6] << obj.delem;
- s << obj.manip << obj.obj->names[7] << obj.delem;
- s << obj.manip << obj.obj->names[8] << obj.delem;
- s << obj.manip << obj.obj->names[9] << obj.delem;
- s << obj.manip << obj.obj->names[10] << obj.delem;
- s << obj.manip << obj.obj->names[11] << obj.delem;
- s << obj.manip << obj.obj->names[12] << obj.delem;
- s << obj.manip << obj.obj->names[13] << obj.delem;
- s << obj.manip << obj.obj->names[14] << obj.delem;
- s << obj.manip << obj.obj->names[15] << obj.delem;
- s << obj.manip << obj.obj->names[16] << obj.delem;
- s << obj.manip << obj.obj->names[17] << obj.delem;
- s << obj.manip << obj.obj->names[18] << obj.delem;
- s << obj.manip << obj.obj->names[19] << obj.delem;
- s << obj.manip << obj.obj->names[20] << obj.delem;
- s << obj.manip << obj.obj->names[21] << obj.delem;
- s << obj.manip << obj.obj->names[22] << obj.delem;
- s << obj.manip << obj.obj->names[23] << obj.delem;
- s << obj.manip << obj.obj->names[24] << obj.delem;
- s << obj.manip << obj.obj->names[25];
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_equal_list<Manip>& obj) {
- s << obj.obj->names[0] << obj.comp << obj.manip << obj.obj->##I1 << obj.delem;
- s << obj.obj->names[1] << obj.comp << obj.manip << obj.obj->##I2 << obj.delem;
- s << obj.obj->names[2] << obj.comp << obj.manip << obj.obj->##I3 << obj.delem;
- s << obj.obj->names[3] << obj.comp << obj.manip << obj.obj->##I4 << obj.delem;
- s << obj.obj->names[4] << obj.comp << obj.manip << obj.obj->##I5 << obj.delem;
- s << obj.obj->names[5] << obj.comp << obj.manip << obj.obj->##I6 << obj.delem;
- s << obj.obj->names[6] << obj.comp << obj.manip << obj.obj->##I7 << obj.delem;
- s << obj.obj->names[7] << obj.comp << obj.manip << obj.obj->##I8 << obj.delem;
- s << obj.obj->names[8] << obj.comp << obj.manip << obj.obj->##I9 << obj.delem;
- s << obj.obj->names[9] << obj.comp << obj.manip << obj.obj->##I10 << obj.delem;
- s << obj.obj->names[10] << obj.comp << obj.manip << obj.obj->##I11 << obj.delem;
- s << obj.obj->names[11] << obj.comp << obj.manip << obj.obj->##I12 << obj.delem;
- s << obj.obj->names[12] << obj.comp << obj.manip << obj.obj->##I13 << obj.delem;
- s << obj.obj->names[13] << obj.comp << obj.manip << obj.obj->##I14 << obj.delem;
- s << obj.obj->names[14] << obj.comp << obj.manip << obj.obj->##I15 << obj.delem;
- s << obj.obj->names[15] << obj.comp << obj.manip << obj.obj->##I16 << obj.delem;
- s << obj.obj->names[16] << obj.comp << obj.manip << obj.obj->##I17 << obj.delem;
- s << obj.obj->names[17] << obj.comp << obj.manip << obj.obj->##I18 << obj.delem;
- s << obj.obj->names[18] << obj.comp << obj.manip << obj.obj->##I19 << obj.delem;
- s << obj.obj->names[19] << obj.comp << obj.manip << obj.obj->##I20 << obj.delem;
- s << obj.obj->names[20] << obj.comp << obj.manip << obj.obj->##I21 << obj.delem;
- s << obj.obj->names[21] << obj.comp << obj.manip << obj.obj->##I22 << obj.delem;
- s << obj.obj->names[22] << obj.comp << obj.manip << obj.obj->##I23 << obj.delem;
- s << obj.obj->names[23] << obj.comp << obj.manip << obj.obj->##I24 << obj.delem;
- s << obj.obj->names[24] << obj.comp << obj.manip << obj.obj->##I25 << obj.delem;
- s << obj.obj->names[25] << obj.comp << obj.manip << obj.obj->##I26;
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_cus_value_list<Manip>& obj) {
- bool before = false;
- if ((*obj.include)[0]) {
- s << obj.manip << obj.obj->##I1;
- before = true;
- }
- if ((*obj.include)[1]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I2;
- before = true;
- }
- if ((*obj.include)[2]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I3;
- before = true;
- }
- if ((*obj.include)[3]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I4;
- before = true;
- }
- if ((*obj.include)[4]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I5;
- before = true;
- }
- if ((*obj.include)[5]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I6;
- before = true;
- }
- if ((*obj.include)[6]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I7;
- before = true;
- }
- if ((*obj.include)[7]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I8;
- before = true;
- }
- if ((*obj.include)[8]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I9;
- before = true;
- }
- if ((*obj.include)[9]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I10;
- before = true;
- }
- if ((*obj.include)[10]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I11;
- before = true;
- }
- if ((*obj.include)[11]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I12;
- before = true;
- }
- if ((*obj.include)[12]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I13;
- before = true;
- }
- if ((*obj.include)[13]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I14;
- before = true;
- }
- if ((*obj.include)[14]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I15;
- before = true;
- }
- if ((*obj.include)[15]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I16;
- before = true;
- }
- if ((*obj.include)[16]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I17;
- before = true;
- }
- if ((*obj.include)[17]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I18;
- before = true;
- }
- if ((*obj.include)[18]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I19;
- before = true;
- }
- if ((*obj.include)[19]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I20;
- before = true;
- }
- if ((*obj.include)[20]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I21;
- before = true;
- }
- if ((*obj.include)[21]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I22;
- before = true;
- }
- if ((*obj.include)[22]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I23;
- before = true;
- }
- if ((*obj.include)[23]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I24;
- before = true;
- }
- if ((*obj.include)[24]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I25;
- before = true;
- }
- if ((*obj.include)[25]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->##I26;
- }
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_cus_field_list<Manip>& obj) {
- bool before = false;
- if ((*obj.include)[0]) {
- s << obj.manip << obj.obj->names[0];
- before = true;
- }
- if ((*obj.include)[1]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[1];
- before = true;
- }
- if ((*obj.include)[2]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[2];
- before = true;
- }
- if ((*obj.include)[3]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[3];
- before = true;
- }
- if ((*obj.include)[4]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[4];
- before = true;
- }
- if ((*obj.include)[5]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[5];
- before = true;
- }
- if ((*obj.include)[6]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[6];
- before = true;
- }
- if ((*obj.include)[7]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[7];
- before = true;
- }
- if ((*obj.include)[8]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[8];
- before = true;
- }
- if ((*obj.include)[9]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[9];
- before = true;
- }
- if ((*obj.include)[10]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[10];
- before = true;
- }
- if ((*obj.include)[11]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[11];
- before = true;
- }
- if ((*obj.include)[12]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[12];
- before = true;
- }
- if ((*obj.include)[13]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[13];
- before = true;
- }
- if ((*obj.include)[14]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[14];
- before = true;
- }
- if ((*obj.include)[15]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[15];
- before = true;
- }
- if ((*obj.include)[16]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[16];
- before = true;
- }
- if ((*obj.include)[17]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[17];
- before = true;
- }
- if ((*obj.include)[18]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[18];
- before = true;
- }
- if ((*obj.include)[19]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[19];
- before = true;
- }
- if ((*obj.include)[20]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[20];
- before = true;
- }
- if ((*obj.include)[21]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[21];
- before = true;
- }
- if ((*obj.include)[22]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[22];
- before = true;
- }
- if ((*obj.include)[23]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[23];
- before = true;
- }
- if ((*obj.include)[24]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[24];
- before = true;
- }
- if ((*obj.include)[25]) {
- if (before) s << obj.delem;
- s << obj.manip << obj.obj->names[25];
- }
- return s;
- }
- template <class Manip>
- ostream& operator << (ostream& s, const NAME##_cus_equal_list<Manip>& obj) {
- bool before = false;
- if ((*obj.include)[0]) {
- s << obj.obj->names[0] << obj.comp << obj.manip << obj.obj->##I1;
- before = true;
- }
- if ((*obj.include)[1]) {
- if (before) s << obj.delem;
- s << obj.obj->names[1] << obj.comp << obj.manip << obj.obj->##I2;
- before = true;
- }
- if ((*obj.include)[2]) {
- if (before) s << obj.delem;
- s << obj.obj->names[2] << obj.comp << obj.manip << obj.obj->##I3;
- before = true;
- }
- if ((*obj.include)[3]) {
- if (before) s << obj.delem;
- s << obj.obj->names[3] << obj.comp << obj.manip << obj.obj->##I4;
- before = true;
- }
- if ((*obj.include)[4]) {
- if (before) s << obj.delem;
- s << obj.obj->names[4] << obj.comp << obj.manip << obj.obj->##I5;
- before = true;
- }
- if ((*obj.include)[5]) {
- if (before) s << obj.delem;
- s << obj.obj->names[5] << obj.comp << obj.manip << obj.obj->##I6;
- before = true;
- }
- if ((*obj.include)[6]) {
- if (before) s << obj.delem;
- s << obj.obj->names[6] << obj.comp << obj.manip << obj.obj->##I7;
- before = true;
- }
- if ((*obj.include)[7]) {
- if (before) s << obj.delem;
- s << obj.obj->names[7] << obj.comp << obj.manip << obj.obj->##I8;
- before = true;
- }
- if ((*obj.include)[8]) {
- if (before) s << obj.delem;
- s << obj.obj->names[8] << obj.comp << obj.manip << obj.obj->##I9;
- before = true;
- }
- if ((*obj.include)[9]) {
- if (before) s << obj.delem;
- s << obj.obj->names[9] << obj.comp << obj.manip << obj.obj->##I10;
- before = true;
- }
- if ((*obj.include)[10]) {
- if (before) s << obj.delem;
- s << obj.obj->names[10] << obj.comp << obj.manip << obj.obj->##I11;
- before = true;
- }
- if ((*obj.include)[11]) {
- if (before) s << obj.delem;
- s << obj.obj->names[11] << obj.comp << obj.manip << obj.obj->##I12;
- before = true;
- }
- if ((*obj.include)[12]) {
- if (before) s << obj.delem;
- s << obj.obj->names[12] << obj.comp << obj.manip << obj.obj->##I13;
- before = true;
- }
- if ((*obj.include)[13]) {
- if (before) s << obj.delem;
- s << obj.obj->names[13] << obj.comp << obj.manip << obj.obj->##I14;
- before = true;
- }
- if ((*obj.include)[14]) {
- if (before) s << obj.delem;
- s << obj.obj->names[14] << obj.comp << obj.manip << obj.obj->##I15;
- before = true;
- }
- if ((*obj.include)[15]) {
- if (before) s << obj.delem;
- s << obj.obj->names[15] << obj.comp << obj.manip << obj.obj->##I16;
- before = true;
- }
- if ((*obj.include)[16]) {
- if (before) s << obj.delem;
- s << obj.obj->names[16] << obj.comp << obj.manip << obj.obj->##I17;
- before = true;
- }
- if ((*obj.include)[17]) {
- if (before) s << obj.delem;
- s << obj.obj->names[17] << obj.comp << obj.manip << obj.obj->##I18;
- before = true;
- }
- if ((*obj.include)[18]) {
- if (before) s << obj.delem;
- s << obj.obj->names[18] << obj.comp << obj.manip << obj.obj->##I19;
- before = true;
- }
- if ((*obj.include)[19]) {
- if (before) s << obj.delem;
- s << obj.obj->names[19] << obj.comp << obj.manip << obj.obj->##I20;
- before = true;
- }
- if ((*obj.include)[20]) {
- if (before) s << obj.delem;
- s << obj.obj->names[20] << obj.comp << obj.manip << obj.obj->##I21;
- before = true;
- }
- if ((*obj.include)[21]) {
- if (before) s << obj.delem;
- s << obj.obj->names[21] << obj.comp << obj.manip << obj.obj->##I22;
- before = true;
- }
- if ((*obj.include)[22]) {
- if (before) s << obj.delem;
- s << obj.obj->names[22] << obj.comp << obj.manip << obj.obj->##I23;
- before = true;
- }
- if ((*obj.include)[23]) {
- if (before) s << obj.delem;
- s << obj.obj->names[23] << obj.comp << obj.manip << obj.obj->##I24;
- before = true;
- }
- if ((*obj.include)[24]) {
- if (before) s << obj.delem;
- s << obj.obj->names[24] << obj.comp << obj.manip << obj.obj->##I25;
- before = true;
- }
- if ((*obj.include)[25]) {
- if (before) s << obj.delem;
- s << obj.obj->names[25] << obj.comp << obj.manip << obj.obj->##I26;
- }
- return s;
- }
- template <class Manip>
- inline NAME##_value_list<Manip> NAME##::value_list(cchar *d, Manip m) const {
- return NAME##_value_list<Manip> (this, d, m);
- }
- template <class Manip>
- inline NAME##_field_list<Manip> NAME##::field_list(cchar *d, Manip m) const {
- return NAME##_field_list<Manip> (this, d, m);
- }
- template <class Manip>
- inline NAME##_equal_list<Manip> NAME##::equal_list(cchar *d, cchar *c, Manip m) const {
- return NAME##_equal_list<Manip> (this, d, c, m);
- }
- template <class Manip>
- inline NAME##_cus_value_list<Manip> NAME##::value_list(cchar *d, Manip m,
- bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25, bool i26) const {
- return NAME##_cus_value_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- template <class Manip>
- inline NAME##_cus_field_list<Manip> NAME##::field_list(cchar *d, Manip m,
- bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25, bool i26) const {
- return NAME##_cus_field_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- template <class Manip>
- inline NAME##_cus_equal_list<Manip> NAME##::equal_list(cchar *d, cchar *c, Manip m,
- bool i1, bool i2, bool i3, bool i4, bool i5, bool i6, bool i7, bool i8, bool i9, bool i10, bool i11, bool i12, bool i13, bool i14, bool i15, bool i16, bool i17, bool i18, bool i19, bool i20, bool i21, bool i22, bool i23, bool i24, bool i25, bool i26) const {
- return NAME##_cus_equal_list<Manip> (this, d, c, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- template <class Manip>
- inline NAME##_cus_value_list<Manip> NAME##::value_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25, ##NAME##_enum i26) const {
- return NAME##_cus_value_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- template <class Manip>
- inline NAME##_cus_field_list<Manip> NAME##::field_list(cchar *d, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25, ##NAME##_enum i26) const {
- return NAME##_cus_field_list<Manip> (this, d, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- template <class Manip>
- inline NAME##_cus_equal_list<Manip> NAME##::equal_list(cchar *d, cchar *c, Manip m,
- ##NAME##_enum i1, ##NAME##_enum i2, ##NAME##_enum i3, ##NAME##_enum i4, ##NAME##_enum i5, ##NAME##_enum i6, ##NAME##_enum i7, ##NAME##_enum i8, ##NAME##_enum i9, ##NAME##_enum i10, ##NAME##_enum i11, ##NAME##_enum i12, ##NAME##_enum i13, ##NAME##_enum i14, ##NAME##_enum i15, ##NAME##_enum i16, ##NAME##_enum i17, ##NAME##_enum i18, ##NAME##_enum i19, ##NAME##_enum i20, ##NAME##_enum i21, ##NAME##_enum i22, ##NAME##_enum i23, ##NAME##_enum i24, ##NAME##_enum i25, ##NAME##_enum i26) const {
- return NAME##_cus_equal_list<Manip> (this, d, c, m, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, i21, i22, i23, i24, i25, i26);
- }
- template <class Manip>
- inline NAME##_cus_value_list<Manip>
- NAME##::value_list(cchar *d, Manip m, sql_cmp_type sc) const {
- sql_compare_type_def_##CMP (NAME, value, NUM);
- }
- template <class Manip>
- inline NAME##_cus_field_list<Manip>
- NAME##::field_list(cchar *d, Manip m, sql_cmp_type sc) const {
- sql_compare_type_def_##CMP (NAME, field, NUM);
- }
- template <class Manip>
- inline NAME##_cus_equal_list<Manip>
- NAME##::equal_list(cchar *d, cchar *c, Manip m, sql_cmp_type sc) const {
- sql_compare_type_defe_##CMP (NAME, equal, NUM);
- }
- template <sql_dummy_type dummy>
- void populate_##NAME (NAME *s, const MysqlRow &row) {
- s->##I1 = row[ O1 ];
- s->##I2 = row[ O2 ];
- s->##I3 = row[ O3 ];
- s->##I4 = row[ O4 ];
- s->##I5 = row[ O5 ];
- s->##I6 = row[ O6 ];
- s->##I7 = row[ O7 ];
- s->##I8 = row[ O8 ];
- s->##I9 = row[ O9 ];
- s->##I10 = row[ O10 ];
- s->##I11 = row[ O11 ];
- s->##I12 = row[ O12 ];
- s->##I13 = row[ O13 ];
- s->##I14 = row[ O14 ];
- s->##I15 = row[ O15 ];
- s->##I16 = row[ O16 ];
- s->##I17 = row[ O17 ];
- s->##I18 = row[ O18 ];
- s->##I19 = row[ O19 ];
- s->##I20 = row[ O20 ];
- s->##I21 = row[ O21 ];
- s->##I22 = row[ O22 ];
- s->##I23 = row[ O23 ];
- s->##I24 = row[ O24 ];
- s->##I25 = row[ O25 ];
- s->##I26 = row[ O26 ];
- }
- inline NAME##::##NAME (const MysqlRow &row)
- {populate_##NAME##<sql_dummy>(this, row);}
- inline void NAME##::set (const MysqlRow &row)
- {populate_##NAME##<sql_dummy>(this, row);}
- sql_COMPARE__##CMP##(NAME, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26 )
- #define sql_create_basic_26(NAME, CMP, CONTR, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25, T26, I26)
- sql_create_basic_c_order_26(NAME, CMP, CONTR, T1, I1, 0, T2, I2, 1, T3, I3, 2, T4, I4, 3, T5, I5, 4, T6, I6, 5, T7, I7, 6, T8, I8, 7, T9, I9, 8, T10, I10, 9, T11, I11, 10, T12, I12, 11, T13, I13, 12, T14, I14, 13, T15, I15, 14, T16, I16, 15, T17, I17, 16, T18, I18, 17, T19, I19, 18, T20, I20, 19, T21, I21, 20, T22, I22, 21, T23, I23, 22, T24, I24, 23, T25, I25, 24, T26, I26, 25)
- #define sql_create_26(NAME, CMP, CONTR, T1, I1, T2, I2, T3, I3, T4, I4, T5, I5, T6, I6, T7, I7, T8, I8, T9, I9, T10, I10, T11, I11, T12, I12, T13, I13, T14, I14, T15, I15, T16, I16, T17, I17, T18, I18, T19, I19, T20, I20, T21, I21, T22, I22, T23, I23, T24, I24, T25, I25, T26, I26)
- sql_create_complete_26(NAME, CMP, CONTR, T1, I1, #I1, 0, T2, I2, #I2, 1, T3, I3, #I3, 2, T4, I4, #I4, 3, T5, I5, #I5, 4, T6, I6, #I6, 5, T7, I7, #I7, 6, T8, I8, #I8, 7, T9, I9, #I9, 8, T10, I10, #I10, 9, T11, I11, #I11, 10, T12, I12, #I12, 11, T13, I13, #I13, 12, T14, I14, #I14, 13, T15, I15, #I15, 14, T16, I16, #I16, 15, T17, I17, #I17, 16, T18, I18, #I18, 17, T19, I19, #I19, 18, T20, I20, #I20, 19, T21, I21, #I21, 20, T22, I22, #I22, 21, T23, I23, #I23, 22, T24, I24, #I24, 23, T25, I25, #I25, 24, T26, I26, #I26, 25)
- #define sql_create_c_order_26(NAME, CMP, CONTR, T1, I1, O1, T2, I2, O2, T3, I3, O3, T4, I4, O4, T5, I5, O5, T6, I6, O6, T7, I7, O7, T8, I8, O8, T9, I9, O9, T10, I10, O10, T11, I11, O11, T12, I12, O12, T13, I13, O13, T14, I14, O14, T15, I15, O15, T16, I16, O16, T17, I17, O17, T18, I18, O18, T19, I19, O19, T20, I20, O20, T21, I21, O21, T22, I22, O22, T23, I23, O23, T24, I24, O24, T25, I25, O25, T26, I26, O26)
- sql_create_complete_26(NAME, CMP, CONTR, T1, I1, #I1, O1, T2, I2, #I2, O2, T3, I3, #I3, O3, T4, I4, #I4, O4, T5, I5, #I5, O5, T6, I6, #I6, O6, T7, I7, #I7, O7, T8, I8, #I8, O8, T9, I9, #I9, O9, T10, I10, #I10, O10, T11, I11, #I11, O11, T12, I12, #I12, O12, T13, I13, #I13, O13, T14, I14, #I14, O14, T15, I15, #I15, O15, T16, I16, #I16, O16, T17, I17, #I17, O17, T18, I18, #I18, O18, T19, I19, #I19, O19, T20, I20, #I20, O20, T21, I21, #I21, O21, T22, I22, #I22, O22, T23, I23, #I23, O23, T24, I24, #I24, O24, T25, I25, #I25, O25, T26, I26, #I26, O26)
- #define sql_create_c_names_26(NAME, CMP, CONTR, T1, I1, N1, T2, I2, N2, T3, I3, N3, T4, I4, N4, T5, I5, N5, T6, I6, N6, T7, I7, N7, T8, I8, N8, T9, I9, N9, T10, I10, N10, T11, I11, N11, T12, I12, N12, T13, I13, N13, T14, I14, N14, T15, I15, N15, T16, I16, N16, T17, I17, N17, T18, I18, N18, T19, I19, N19, T20, I20, N20, T21, I21, N21, T22, I22, N22, T23, I23, N23, T24, I24, N24, T25, I25, N25, T26, I26, N26)
- sql_create_complete_26(NAME, CMP, CONTR, T1, I1, N1, 0, T2, I2, N2, 1, T3, I3, N3, 2, T4, I4, N4, 3, T5, I5, N5, 4, T6, I6, N6, 5, T7, I7, N7, 6, T8, I8, N8, 7, T9, I9, N9, 8, T10, I10, N10, 9, T11, I11, N11, 10, T12, I12, N12, 11, T13, I13, N13, 12, T14, I14, N14, 13, T15, I15, N15, 14, T16, I16, N16, 15, T17, I17, N17, 16, T18, I18, N18, 17, T19, I19, N19, 18, T20, I20, N20, 19, T21, I21, N21, 20, T22, I22, N22, 21, T23, I23, N23, 22, T24, I24, N24, 23, T25, I25, N25, 24, T26, I26, N26, 25)
- // ---------------------------------------------------
- // End Create 26
- // ---------------------------------------------------