Class AbstractJitMapper
Implements
Namespace: Mars.Core.Data.Compiler
Assembly: Mars.Core.dll
Syntax
public abstract class AbstractJitMapper : object, IOutputLogger
Properties
ConfigLoader
Gets or sets the config loader to access the simulation configuration
and the model description.
Declaration
public IConfigLoader ConfigLoader { get; set; }
Property Value
Type | Description |
---|---|
IConfigLoader |
Context
Gets or sets the simulation context of this just-in-time compiled mapper.
Declaration
public ISimulationContext Context { get; set; }
Property Value
Type | Description |
---|---|
ISimulationContext |
Culture
Gets or sets the culture used for serialization or deserialization purposes.
Declaration
public CultureInfo Culture { get; set; }
Property Value
Type | Description |
---|---|
CultureInfo |
HasOutputProperties
Gets the flag indicating that this proxy type has any kind of output
Declaration
public bool HasOutputProperties { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Mapping
Gets the underlying configuration for this logger specifying individual or type-specific options
for serialization/deserialization
Declaration
public TypeMapping Mapping { get; }
Property Value
Type | Description |
---|---|
TypeMapping |
OutputFrequency
Gets or sets the output group valid for each individual proxy
Default is 1
Declaration
public virtual int OutputFrequency { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
OutputTicks
Gets or sets the output group valid for each individual proxy
Default is 1
Declaration
public virtual ISet<long> OutputTicks { get; set; }
Property Value
Type | Description |
---|---|
ISet<System.Int64> |
ProxyKey
Gets or sets the unique integer type index.
Declaration
public int ProxyKey { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Gets the describing the static semantics as properties, inherited types etc.
Declaration
public TypeElement Type { get; set; }
Property Value
Type | Description |
---|---|
TypeElement |
TypeLogger
Gets or sets the type logger responsible for this proxy
Declaration
public virtual IGeneratedTypeLogger TypeLogger { get; set; }
Property Value
Type | Description |
---|---|
IGeneratedTypeLogger |
TypeName
Gets the type name for which this mapper is responsible for
Declaration
public virtual string TypeName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Initialize()
Performs a deferred initialization of this entity(-type) specific mapper.
This makes it possible to assign properties from outside an not during the
construction type of this JIT object (e.g., the concrete entity Type).
Declaration
public virtual void Initialize()
Remarks
This method should always be used when something have to be implemented within the constructor scope.
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |