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
fun Cpp17Generator(    flowTransform: FlowTransform,     defaultNamespace: String,     folder: File,     generatedFileSuffix: String = ".Generated")

Types

Link copied to clipboard
object AdditionalHeaders : SettingWithDefault<List<String>, Toplevel>
Link copied to clipboard
object AllocatorType : ISetting<(IType) -> String, Declaration>
Link copied to clipboard
object Companion
Link copied to clipboard
object EnumConstantValue : ISetting<Int, Member.EnumConst>
Link copied to clipboard
object ExportMacroName : ISetting<String, Declaration>
Link copied to clipboard
object FsPath : ISetting<(Cpp17Generator) -> File, Toplevel>
Link copied to clipboard
object GeneratePrecompiledHeaders : SettingWithDefault<Boolean, Toplevel>
Link copied to clipboard
object Intrinsic : ISetting<CppIntrinsicType, Declaration>
Link copied to clipboard
object IsNonScoped : ISetting<String, Enum>
Link copied to clipboard
object ListType : ISetting<CppIntrinsicType, Declaration>
Link copied to clipboard
object Namespace : ISetting<String, Declaration>
Link copied to clipboard
object PublicCtors : ISetting<Unit, Declaration>
Link copied to clipboard
object TargetName : ISetting<String, Toplevel>
Link copied to clipboard
object UsePrecompiledHeaders : SettingWithDefault<Boolean, Toplevel>

Functions

Link copied to clipboard
fun PrettyPrinter.customSerializersTrait(decl: Declaration)
Link copied to clipboard
fun Declaration.defaultCtor(): Signature.Constructor.Default?
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
fun initializerTraitDecl(decl: Declaration): Signature.MemberFunction
Link copied to clipboard
fun Member.Field.isAbstract(): Boolean
Link copied to clipboard
fun String.isWrapper(): Boolean
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)

Properties

Link copied to clipboard
val Member.Reactive.actualFlow: FlowKind
Link copied to clipboard
val defaultNamespace: String
Link copied to clipboard
open val Member.encapsulatedName: String
Link copied to clipboard
open override val folder: File
Link copied to clipboard
open val Member.isEncapsulated: Boolean
Link copied to clipboard
val Declaration.primaryCtorVisibility: String
Link copied to clipboard
open val Member.publicName: String