Class ControlReader
Reads all supported Control 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 ControlReader : StatementReader<Control>, IStatementReader, IControlReader
Constructors
| Improve this Doc View SourceControlReader(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 SourceMapper
Gets the base control mapper.
Declaration
public IMapper<BaseControl> Mapper { get; }
Property Value
Type | Description |
---|---|
IMapper<BaseControl> |
Methods
| Improve this Doc View SourceRead(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)