Class SubCircuit
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)
Namespace: SpiceSharpParser.Models.Netlist.Spice.Objects
Assembly: SpiceSharpParser.dll
Syntax
public class SubCircuit : Statement
Constructors
| Improve this Doc View SourceSubCircuit()
Declaration
public SubCircuit()
SubCircuit(String, Statements, ParameterCollection, SpiceLineInfo)
Declaration
public SubCircuit(string name, Statements statements, ParameterCollection pins, SpiceLineInfo lineInfo)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
Statements | statements | |
ParameterCollection | pins | |
SpiceLineInfo | lineInfo |
Properties
| Improve this Doc View SourceDefaultParameters
Gets or sets the default values of parameters.
Declaration
public List<AssignmentParameter> DefaultParameters { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AssignmentParameter> |
Name
Gets or sets the name of subcircuit.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Pins
Gets or sets list of outside pins of subcircuit.
Declaration
public ParameterCollection Pins { get; set; }
Property Value
Type | Description |
---|---|
ParameterCollection |
Statements
Gets or sets statements of subcircuit.
Declaration
public Statements Statements { get; set; }
Property Value
Type | Description |
---|---|
Statements |
Methods
| Improve this Doc View SourceClone()
Clones the object.
Declaration
public override SpiceObject Clone()
Returns
Type | Description |
---|---|
SpiceObject | A clone of the object. |
Overrides
| Improve this Doc View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
System.Object.ToString()