C# Class Spark.Emit.CPlusPlus.EmitClassCPP

Inheritance: IEmitClass, IEmitTypeCPP
ファイルを表示 Open project: spark-shading-language/spark Class Usage Examples

Private Properties

Property Type Description
Align System.UInt32
ComputeSize System.UInt32
IEmitTypeCPP string

Public Methods

Method Description
AddPrivateField ( IEmitType type, string name ) : IEmitField
AddPublicField ( IEmitType type, string name ) : IEmitField
CreateCtor ( ) : IEmitMethod
CreateDtor ( ) : IEmitMethod
CreateMethod ( IEmitType resultType, string name ) : IEmitMethod
EmitClassCPP ( EmitModuleCPP module, string name, EmitClassCPP baseClass, Span headerSpan, Span sourceSpan ) : System
GetName ( ) : String
Seal ( ) : void
ToString ( ) : string

Private Methods

Method Description
Align ( UInt32 value, UInt32 alignment ) : UInt32
ComputeSize ( ) : UInt32
IEmitTypeCPP ( string inner ) : string

Method Details

AddPrivateField() public method

public AddPrivateField ( IEmitType type, string name ) : IEmitField
type IEmitType
name string
return IEmitField

AddPublicField() public method

public AddPublicField ( IEmitType type, string name ) : IEmitField
type IEmitType
name string
return IEmitField

CreateCtor() public method

public CreateCtor ( ) : IEmitMethod
return IEmitMethod

CreateDtor() public method

public CreateDtor ( ) : IEmitMethod
return IEmitMethod

CreateMethod() public method

public CreateMethod ( IEmitType resultType, string name ) : IEmitMethod
resultType IEmitType
name string
return IEmitMethod

EmitClassCPP() public method

public EmitClassCPP ( EmitModuleCPP module, string name, EmitClassCPP baseClass, Span headerSpan, Span sourceSpan ) : System
module EmitModuleCPP
name string
baseClass EmitClassCPP
headerSpan Span
sourceSpan Span
return System

GetName() public method

public GetName ( ) : String
return String

Seal() public method

public Seal ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string