Show / Hide Table of Contents

Class ModelReader

Reads all supported Model from SPICE netlist object model.

Inheritance
System.Object
StatementReader<Model>
ModelReader
Implements
IStatementReader
IModelReader
Inherited Members
StatementReader<Model>.Read(Statement, ICircuitContext)
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 Source

ModelReader(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 Source

Mapper

Gets the model mapper.

Declaration
public IMapper<IModelGenerator> Mapper { get; }
Property Value
Type Description
IMapper<IModelGenerator>
| Improve this Doc View Source

ModelsGenerator

Gets the models generator.

Declaration
public IModelsGenerator ModelsGenerator { get; }
Property Value
Type Description
IModelsGenerator

Methods

| Improve this Doc View Source

Read(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)

Implements

IStatementReader
IModelReader
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX