Class MainCircuitNodeNameGenerator
Inheritance
System.Object
MainCircuitNodeNameGenerator
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.Context.Names
Assembly: SpiceSharpParser.dll
Syntax
public class MainCircuitNodeNameGenerator : INodeNameGenerator
Constructors
| Improve this Doc View SourceMainCircuitNodeNameGenerator(IEnumerable<String>, Boolean)
Initializes a new instance of the MainCircuitNodeNameGenerator class.
Declaration
public MainCircuitNodeNameGenerator(IEnumerable<string> globals, bool isNodeNameCaseSensitive)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | globals | Global pin names. |
System.Boolean | isNodeNameCaseSensitive | Is node name case-sensitive. |
Properties
| Improve this Doc View SourceChildren
Gets or sets the children.
Declaration
public List<INodeNameGenerator> Children { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<INodeNameGenerator> |
Globals
Gets the globals.
Declaration
public IEnumerable<string> Globals { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
IsNodeNameCaseSensitive
Declaration
public bool IsNodeNameCaseSensitive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RootName
Gets or sets the root name.
Declaration
public string RootName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGenerate(String)
Generates node name.
Declaration
public string Generate(string pinName)
Parameters
Type | Name | Description |
---|---|---|
System.String | pinName | Pin name. |
Returns
Type | Description |
---|---|
System.String | Node name. |
Parse(String)
Parses a path and generate a node name.
Declaration
public string Parse(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | Node path. |
Returns
Type | Description |
---|---|
System.String | A node name. |
SetGlobal(String)
Makes a pin name a global pin name.
Declaration
public void SetGlobal(string pinName)
Parameters
Type | Name | Description |
---|---|---|
System.String | pinName | Pin name. |