Show / Hide Table of Contents

Class ControlReader

Reads all supported Control from SPICE netlist object model.

Inheritance
System.Object
StatementReader<Control>
ControlReader
Implements
IStatementReader
IControlReader
Inherited Members
StatementReader<Control>.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 ControlReader : StatementReader<Control>, IStatementReader, IControlReader

Constructors

| Improve this Doc View Source

ControlReader(IMapper<BaseControl>)

Initializes a new instance of the ControlReader class.

Declaration
public ControlReader(IMapper<BaseControl> mapper)
Parameters
Type Name Description
IMapper<BaseControl> mapper

The base control mapper.

Properties

| Improve this Doc View Source

Mapper

Gets the base control mapper.

Declaration
public IMapper<BaseControl> Mapper { get; }
Property Value
Type Description
IMapper<BaseControl>

Methods

| Improve this Doc View Source

Read(Control, ICircuitContext)

Reads a control statement and modifies the context.

Declaration
public override void Read(Control statement, ICircuitContext context)
Parameters
Type Name Description
Control statement

A statement to process.

ICircuitContext context

A context to modify.

Overrides
SpiceSharpParser.ModelReaders.Netlist.Spice.Readers.StatementReader<SpiceSharpParser.Models.Netlist.Spice.Objects.Control>.Read(SpiceSharpParser.Models.Netlist.Spice.Objects.Control, SpiceSharpParser.ModelReaders.Netlist.Spice.Context.ICircuitContext)

Implements

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