All Downloads are FREE. Search and download functionalities are using the official Maven repository.

datomisca.AddTxFunctionGen.scala Maven / Gradle / Ivy

There is a newer version: 0.8.3
Show newest version
/*
 * Copyright 2012 Pellucid and Zenexity
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package datomisca

import gen._

private[datomisca] trait AddTxFunctionGen {
  def typed[In1:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction1[In1](
      new AddDbFunction(kw, lang, Seq(p1, p2), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction2[In1, In2](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction3[In1, In2, In3](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction4[In1, In2, In3, In4](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction5[In1, In2, In3, In4, In5](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction6[In1, In2, In3, In4, In5, In6](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction7[In1, In2, In3, In4, In5, In6, In7](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction8[In1, In2, In3, In4, In5, In6, In7, In8](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction9[In1, In2, In3, In4, In5, In6, In7, In8, In9](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction10[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction11[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction12[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast, In13:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String, p14: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction13[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12, In13](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast, In13:ToDatomicCast, In14:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String, p14: String, p15: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction14[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12, In13, In14](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast, In13:ToDatomicCast, In14:ToDatomicCast, In15:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String, p14: String, p15: String, p16: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction15[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12, In13, In14, In15](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast, In13:ToDatomicCast, In14:ToDatomicCast, In15:ToDatomicCast, In16:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String, p14: String, p15: String, p16: String, p17: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction16[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12, In13, In14, In15, In16](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast, In13:ToDatomicCast, In14:ToDatomicCast, In15:ToDatomicCast, In16:ToDatomicCast, In17:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String, p14: String, p15: String, p16: String, p17: String, p18: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction17[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12, In13, In14, In15, In16, In17](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast, In13:ToDatomicCast, In14:ToDatomicCast, In15:ToDatomicCast, In16:ToDatomicCast, In17:ToDatomicCast, In18:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String, p14: String, p15: String, p16: String, p17: String, p18: String, p19: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction18[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12, In13, In14, In15, In16, In17, In18](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast, In13:ToDatomicCast, In14:ToDatomicCast, In15:ToDatomicCast, In16:ToDatomicCast, In17:ToDatomicCast, In18:ToDatomicCast, In19:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String, p14: String, p15: String, p16: String, p17: String, p18: String, p19: String, p20: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction19[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12, In13, In14, In15, In16, In17, In18, In19](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast, In13:ToDatomicCast, In14:ToDatomicCast, In15:ToDatomicCast, In16:ToDatomicCast, In17:ToDatomicCast, In18:ToDatomicCast, In19:ToDatomicCast, In20:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String, p14: String, p15: String, p16: String, p17: String, p18: String, p19: String, p20: String, p21: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction20[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12, In13, In14, In15, In16, In17, In18, In19, In20](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21), code, imports, requires, partition))

  def typed[In1:ToDatomicCast, In2:ToDatomicCast, In3:ToDatomicCast, In4:ToDatomicCast, In5:ToDatomicCast, In6:ToDatomicCast, In7:ToDatomicCast, In8:ToDatomicCast, In9:ToDatomicCast, In10:ToDatomicCast, In11:ToDatomicCast, In12:ToDatomicCast, In13:ToDatomicCast, In14:ToDatomicCast, In15:ToDatomicCast, In16:ToDatomicCast, In17:ToDatomicCast, In18:ToDatomicCast, In19:ToDatomicCast, In20:ToDatomicCast, In21:ToDatomicCast]
           (kw: Keyword)
           (p1: String, p2: String, p3: String, p4: String, p5: String, p6: String, p7: String, p8: String, p9: String, p10: String, p11: String, p12: String, p13: String, p14: String, p15: String, p16: String, p17: String, p18: String, p19: String, p20: String, p21: String, p22: String)
           (lang: String, partition: Partition, imports: String, requires: String)
           (code: String) =
    new TypedAddDbFunction21[In1, In2, In3, In4, In5, In6, In7, In8, In9, In10, In11, In12, In13, In14, In15, In16, In17, In18, In19, In20, In21](
      new AddDbFunction(kw, lang, Seq(p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22), code, imports, requires, partition))

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy