custom-macros.hh
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1348k
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
-
- }
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17) {}
- #define sql_compare_type_def_17(NAME, WHAT, NUM)
- return WHAT##_list(d, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_compare_type_defe_17(NAME, WHAT, NUM)
- return WHAT##_list(d, c, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_COMPARE__17(NAME, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26)
- template <sql_dummy_type dummy>
- int sql_compare_##NAME (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- return sql_cmp(x.##C17 , y.##C17 );
- }
- template <sql_dummy_type dummy>
- int compare (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- return sql_cmp(x.##C17 , y.##C17 );
- }
- // ---------------------------------------------------
- // End Compare 17
- // ---------------------------------------------------
- // ---------------------------------------------------
- // Begin Compare 18
- // ---------------------------------------------------
- #define sql_compare_define_18(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18) {}
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
-
- }
- sql_compare_define(NAME)
- #define sql_construct_define_18(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
-
- }
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18) {}
- #define sql_compare_type_def_18(NAME, WHAT, NUM)
- return WHAT##_list(d, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_compare_type_defe_18(NAME, WHAT, NUM)
- return WHAT##_list(d, c, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_COMPARE__18(NAME, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26)
- template <sql_dummy_type dummy>
- int sql_compare_##NAME (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- return sql_cmp(x.##C18 , y.##C18 );
- }
- template <sql_dummy_type dummy>
- int compare (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- return sql_cmp(x.##C18 , y.##C18 );
- }
- // ---------------------------------------------------
- // End Compare 18
- // ---------------------------------------------------
- // ---------------------------------------------------
- // Begin Compare 19
- // ---------------------------------------------------
- #define sql_compare_define_19(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18), C19 (p19) {}
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
-
- }
- sql_compare_define(NAME)
- #define sql_construct_define_19(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
-
- }
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18), C19 (p19) {}
- #define sql_compare_type_def_19(NAME, WHAT, NUM)
- return WHAT##_list(d, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_compare_type_defe_19(NAME, WHAT, NUM)
- return WHAT##_list(d, c, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_COMPARE__19(NAME, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26)
- template <sql_dummy_type dummy>
- int sql_compare_##NAME (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- if (cmp = sql_cmp(x.##C18 , y.##C18 )) return cmp;
- return sql_cmp(x.##C19 , y.##C19 );
- }
- template <sql_dummy_type dummy>
- int compare (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- if (cmp = sql_cmp(x.##C18 , y.##C18 )) return cmp;
- return sql_cmp(x.##C19 , y.##C19 );
- }
- // ---------------------------------------------------
- // End Compare 19
- // ---------------------------------------------------
- // ---------------------------------------------------
- // Begin Compare 20
- // ---------------------------------------------------
- #define sql_compare_define_20(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18), C19 (p19), C20 (p20) {}
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
-
- }
- sql_compare_define(NAME)
- #define sql_construct_define_20(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
-
- }
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18), C19 (p19), C20 (p20) {}
- #define sql_compare_type_def_20(NAME, WHAT, NUM)
- return WHAT##_list(d, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_compare_type_defe_20(NAME, WHAT, NUM)
- return WHAT##_list(d, c, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_COMPARE__20(NAME, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26)
- template <sql_dummy_type dummy>
- int sql_compare_##NAME (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- if (cmp = sql_cmp(x.##C18 , y.##C18 )) return cmp;
- if (cmp = sql_cmp(x.##C19 , y.##C19 )) return cmp;
- return sql_cmp(x.##C20 , y.##C20 );
- }
- template <sql_dummy_type dummy>
- int compare (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- if (cmp = sql_cmp(x.##C18 , y.##C18 )) return cmp;
- if (cmp = sql_cmp(x.##C19 , y.##C19 )) return cmp;
- return sql_cmp(x.##C20 , y.##C20 );
- }
- // ---------------------------------------------------
- // End Compare 20
- // ---------------------------------------------------
- // ---------------------------------------------------
- // Begin Compare 21
- // ---------------------------------------------------
- #define sql_compare_define_21(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18), C19 (p19), C20 (p20), C21 (p21) {}
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C21 = p21;
-
- }
- sql_compare_define(NAME)
- #define sql_construct_define_21(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C21 = p21;
-
- }
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18), C19 (p19), C20 (p20), C21 (p21) {}
- #define sql_compare_type_def_21(NAME, WHAT, NUM)
- return WHAT##_list(d, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_compare_type_defe_21(NAME, WHAT, NUM)
- return WHAT##_list(d, c, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_COMPARE__21(NAME, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26)
- template <sql_dummy_type dummy>
- int sql_compare_##NAME (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- if (cmp = sql_cmp(x.##C18 , y.##C18 )) return cmp;
- if (cmp = sql_cmp(x.##C19 , y.##C19 )) return cmp;
- if (cmp = sql_cmp(x.##C20 , y.##C20 )) return cmp;
- return sql_cmp(x.##C21 , y.##C21 );
- }
- template <sql_dummy_type dummy>
- int compare (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- if (cmp = sql_cmp(x.##C18 , y.##C18 )) return cmp;
- if (cmp = sql_cmp(x.##C19 , y.##C19 )) return cmp;
- if (cmp = sql_cmp(x.##C20 , y.##C20 )) return cmp;
- return sql_cmp(x.##C21 , y.##C21 );
- }
- // ---------------------------------------------------
- // End Compare 21
- // ---------------------------------------------------
- // ---------------------------------------------------
- // Begin Compare 22
- // ---------------------------------------------------
- #define sql_compare_define_22(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21, const T22 &p22) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18), C19 (p19), C20 (p20), C21 (p21), C22 (p22) {}
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21, const T22 &p22) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C21 = p21;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C21 = p21;
- C22 = p22;
-
- }
- sql_compare_define(NAME)
- #define sql_construct_define_22(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21, const T22 &p22) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C21 = p21;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C21 = p21;
- C22 = p22;
-
- }
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21, const T22 &p22) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18), C19 (p19), C20 (p20), C21 (p21), C22 (p22) {}
- #define sql_compare_type_def_22(NAME, WHAT, NUM)
- return WHAT##_list(d, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_compare_type_defe_22(NAME, WHAT, NUM)
- return WHAT##_list(d, c, m, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)
- #define sql_COMPARE__22(NAME, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26)
- template <sql_dummy_type dummy>
- int sql_compare_##NAME (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- if (cmp = sql_cmp(x.##C18 , y.##C18 )) return cmp;
- if (cmp = sql_cmp(x.##C19 , y.##C19 )) return cmp;
- if (cmp = sql_cmp(x.##C20 , y.##C20 )) return cmp;
- if (cmp = sql_cmp(x.##C21 , y.##C21 )) return cmp;
- return sql_cmp(x.##C22 , y.##C22 );
- }
- template <sql_dummy_type dummy>
- int compare (const NAME &x, const NAME &y) {
- int cmp;
- if (cmp = sql_cmp(x.##C1 , y.##C1 )) return cmp;
- if (cmp = sql_cmp(x.##C2 , y.##C2 )) return cmp;
- if (cmp = sql_cmp(x.##C3 , y.##C3 )) return cmp;
- if (cmp = sql_cmp(x.##C4 , y.##C4 )) return cmp;
- if (cmp = sql_cmp(x.##C5 , y.##C5 )) return cmp;
- if (cmp = sql_cmp(x.##C6 , y.##C6 )) return cmp;
- if (cmp = sql_cmp(x.##C7 , y.##C7 )) return cmp;
- if (cmp = sql_cmp(x.##C8 , y.##C8 )) return cmp;
- if (cmp = sql_cmp(x.##C9 , y.##C9 )) return cmp;
- if (cmp = sql_cmp(x.##C10 , y.##C10 )) return cmp;
- if (cmp = sql_cmp(x.##C11 , y.##C11 )) return cmp;
- if (cmp = sql_cmp(x.##C12 , y.##C12 )) return cmp;
- if (cmp = sql_cmp(x.##C13 , y.##C13 )) return cmp;
- if (cmp = sql_cmp(x.##C14 , y.##C14 )) return cmp;
- if (cmp = sql_cmp(x.##C15 , y.##C15 )) return cmp;
- if (cmp = sql_cmp(x.##C16 , y.##C16 )) return cmp;
- if (cmp = sql_cmp(x.##C17 , y.##C17 )) return cmp;
- if (cmp = sql_cmp(x.##C18 , y.##C18 )) return cmp;
- if (cmp = sql_cmp(x.##C19 , y.##C19 )) return cmp;
- if (cmp = sql_cmp(x.##C20 , y.##C20 )) return cmp;
- if (cmp = sql_cmp(x.##C21 , y.##C21 )) return cmp;
- return sql_cmp(x.##C22 , y.##C22 );
- }
- // ---------------------------------------------------
- // End Compare 22
- // ---------------------------------------------------
- // ---------------------------------------------------
- // Begin Compare 23
- // ---------------------------------------------------
- #define sql_compare_define_23(NAME, T1, C1, T2, C2, T3, C3, T4, C4, T5, C5, T6, C6, T7, C7, T8, C8, T9, C9, T10, C10, T11, C11, T12, C12, T13, C13, T14, C14, T15, C15, T16, C16, T17, C17, T18, C18, T19, C19, T20, C20, T21, C21, T22, C22, T23, C23, T24, C24, T25, C25, T26, C26)
- NAME (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21, const T22 &p22, const T23 &p23) : C1 (p1), C2 (p2), C3 (p3), C4 (p4), C5 (p5), C6 (p6), C7 (p7), C8 (p8), C9 (p9), C10 (p10), C11 (p11), C12 (p12), C13 (p13), C14 (p14), C15 (p15), C16 (p16), C17 (p17), C18 (p18), C19 (p19), C20 (p20), C21 (p21), C22 (p22), C23 (p23) {}
- void set (const T1 &p1, const T2 &p2, const T3 &p3, const T4 &p4, const T5 &p5, const T6 &p6, const T7 &p7, const T8 &p8, const T9 &p9, const T10 &p10, const T11 &p11, const T12 &p12, const T13 &p13, const T14 &p14, const T15 &p15, const T16 &p16, const T17 &p17, const T18 &p18, const T19 &p19, const T20 &p20, const T21 &p21, const T22 &p22, const T23 &p23) {
- C1 = p1;
- C1 = p1;
- C2 = p2;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;
- C6 = p6;
- C7 = p7;
- C8 = p8;
- C9 = p9;
- C10 = p10;
- C11 = p11;
- C12 = p12;
- C13 = p13;
- C14 = p14;
- C15 = p15;
- C16 = p16;
- C17 = p17;
- C18 = p18;
- C19 = p19;
- C20 = p20;
- C21 = p21;
- C1 = p1;
- C2 = p2;
- C3 = p3;
- C4 = p4;
- C5 = p5;