Show / Hide Table of Contents

Class SubcircuitNodeNameGenerator

Inheritance
System.Object
SubcircuitNodeNameGenerator
Implements
INodeNameGenerator
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 SubcircuitNodeNameGenerator : INodeNameGenerator

Constructors

| Improve this Doc View Source

SubcircuitNodeNameGenerator(String, String, SubCircuit, List<String>, IEnumerable<String>, Boolean)

Initializes a new instance of the SubcircuitNodeNameGenerator class.

Declaration
public SubcircuitNodeNameGenerator(string subcircuitFullName, string subCircuitName, SubCircuit currentSubCircuit, List<string> pinInstanceNames, IEnumerable<string> globals, bool isNodeNameCaseSensitive)
Parameters
Type Name Description
System.String subcircuitFullName

The fullname of subcircuit.

System.String subCircuitName

The name of subcircuit.

SubCircuit currentSubCircuit

The current subcircuit.

System.Collections.Generic.List<System.String> pinInstanceNames

The names of pins.

System.Collections.Generic.IEnumerable<System.String> globals

Global pin names.

System.Boolean isNodeNameCaseSensitive

Is node name case sensitive.

Properties

| Improve this Doc View Source

Children

Gets or sets children of node name generator.

Declaration
public List<INodeNameGenerator> Children { get; set; }
Property Value
Type Description
System.Collections.Generic.List<INodeNameGenerator>
| Improve this Doc View Source

FullName

Gets or sets the full name.

Declaration
public string FullName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Globals

Gets the globals.

Declaration
public IEnumerable<string> Globals { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>
| Improve this Doc View Source

IsNodeNameCaseSensitive

Declaration
public bool IsNodeNameCaseSensitive { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

PinInstanceNames

Gets the names of pins for the current subcircuit.

Declaration
public List<string> PinInstanceNames { get; }
Property Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

PinMap

Declaration
public Dictionary<string, string> PinMap { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>
| Improve this Doc View Source

RootName

Gets or sets the root name.

Declaration
public string RootName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SubCircuit

Gets the subcircuit of this node name generator.

Declaration
public SubCircuit SubCircuit { get; }
Property Value
Type Description
SubCircuit

Methods

| Improve this Doc View Source

Generate(String)

Generates node name.

Declaration
public string Generate(string nodeName)
Parameters
Type Name Description
System.String nodeName

Pin name.

Returns
Type Description
System.String

Node name.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

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