Class ModelReader
Reads all supported Model from SPICE netlist object model.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SpiceSharpParser.ModelReaders.Netlist.Spice.Readers
Assembly: SpiceSharpParser.dll
Syntax
public class ModelReader : StatementReader<Model>, IStatementReader, IModelReader
Constructors
| Improve this Doc View SourceModelReader(IMapper<IModelGenerator>, IModelsGenerator)
Initializes a new instance of the ModelReader class.
Declaration
public ModelReader(IMapper<IModelGenerator> mapper, IModelsGenerator modelsGenerator)
Parameters
Type | Name | Description |
---|---|---|
IMapper<IModelGenerator> | mapper | The model mapper. |
IModelsGenerator | modelsGenerator | The models generator. |
Properties
| Improve this Doc View SourceMapper
Gets the model mapper.
Declaration
public IMapper<IModelGenerator> Mapper { get; }
Property Value
Type | Description |
---|---|
IMapper<IModelGenerator> |
ModelsGenerator
Gets the models generator.
Declaration
public IModelsGenerator ModelsGenerator { get; }
Property Value
Type | Description |
---|---|
IModelsGenerator |
Methods
| Improve this Doc View SourceRead(Model, ICircuitContext)
Reads a model statement and modifies the context.
Declaration
public override void Read(Model statement, ICircuitContext context)
Parameters
Type | Name | Description |
---|---|---|
Model | statement | A statement to process. |
ICircuitContext | context | A context to modify. |
Overrides
SpiceSharpParser.ModelReaders.Netlist.Spice.Readers.StatementReader<SpiceSharpParser.Models.Netlist.Spice.Objects.Model>.Read(SpiceSharpParser.Models.Netlist.Spice.Objects.Model, SpiceSharpParser.ModelReaders.Netlist.Spice.Context.ICircuitContext)