Cpp17Generator

open class Cpp17Generator(flowTransform: FlowTransform, val defaultNamespace: String, val folder: File, generatedFileSuffix: String = ".Generated") : GeneratorBase

Generate C++ code.

Parameters

defaultNamespace

namespace separated by symbol "point", which will be translated to nested namespaces. "a.b.c" to "a::b::c", for instance. Remember about following properties: "FsPath", "TargetName"!

Constructors

Link copied to clipboard
constructor(flowTransform: FlowTransform, defaultNamespace: String, folder: File, generatedFileSuffix: String = ".Generated")

Types

Link copied to clipboard
Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SubstitutedType(val originalType: IType, val name: String) : IType
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val folder: File
Link copied to clipboard
Link copied to clipboard
val marhsallersFile: File? = null
Link copied to clipboard

Functions

Link copied to clipboard
fun PrettyPrinter.customSerializersTrait(decl: Declaration)
Link copied to clipboard
fun PrettyPrinter.defaultCtorsDtorsDecl(decl: Declaration)
Link copied to clipboard
fun PrettyPrinter.defaultCtorsDtorsDef(decl: Declaration)
Link copied to clipboard
open override fun generate(toplevels: List<Toplevel>)
Link copied to clipboard
fun PrettyPrinter.header(decl: Declaration, instantiationsFileName: String)
Link copied to clipboard
fun PrettyPrinter.identifyTraitDef(decl: Declaration)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun PrettyPrinter.primaryCtorTraitDef(decl: Declaration)
Link copied to clipboard
fun PrettyPrinter.source(decl: Declaration, dependencies: List<Declaration>)
Link copied to clipboard
fun IType.substitutedName(scope: Declaration, rawType: Boolean = false, omitNullability: Boolean = false): String
Link copied to clipboard
fun IType.templateName(scope: Declaration, omitNullability: Boolean = false): String
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun PrettyPrinter.virtualInitTraitDef(decl: Declaration)