Class WaveformReader
Inheritance
System.Object
WaveformReader
Implements
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 WaveformReader : IWaveformReader
Constructors
| Improve this Doc View SourceWaveformReader(IMapper<WaveformGenerator>)
Initializes a new instance of the WaveformReader class.
Declaration
public WaveformReader(IMapper<WaveformGenerator> mapper)
Parameters
| Type | Name | Description |
|---|---|---|
| IMapper<WaveformGenerator> | mapper | A waveform mapper. |
Properties
| Improve this Doc View SourceMapper
Gets the waveform mapper.
Declaration
public IMapper<WaveformGenerator> Mapper { get; }
Property Value
| Type | Description |
|---|---|
| IMapper<WaveformGenerator> |
Methods
| Improve this Doc View SourceGenerate(String, ParameterCollection, ICircuitContext)
Generates a waveform from bracket parameter.
Declaration
public IWaveformDescription Generate(string type, ParameterCollection parameters, ICircuitContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | type | Type. |
| ParameterCollection | parameters | Parameters. |
| ICircuitContext | context | A reading context. |
Returns
| Type | Description |
|---|---|
| SpiceSharp.Components.IWaveformDescription | An new instance of waveform. |
Supports(String, ICircuitContext)
Declaration
public bool Supports(string type, ICircuitContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | type | |
| ICircuitContext | context |
Returns
| Type | Description |
|---|---|
| System.Boolean |