Show / Hide Table of Contents

Class MainCircuitNodeNameGenerator

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

Constructors

| Improve this Doc View Source

MainCircuitNodeNameGenerator(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 Source

Children

Gets or sets the children.

Declaration
public List<INodeNameGenerator> Children { get; set; }
Property Value
Type Description
System.Collections.Generic.List<INodeNameGenerator>
| 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

RootName

Gets or sets the root name.

Declaration
public string RootName { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Generate(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.

| 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