Show / Hide Table of Contents

Class NameGenerator

Inheritance
System.Object
NameGenerator
Implements
INameGenerator
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
Assembly: SpiceSharpParser.dll
Syntax
public class NameGenerator : INameGenerator

Constructors

| Improve this Doc View Source

NameGenerator(INodeNameGenerator, IObjectNameGenerator)

Declaration
public NameGenerator(INodeNameGenerator nodeNameGenerator, IObjectNameGenerator objectNameGenerator)
Parameters
Type Name Description
INodeNameGenerator nodeNameGenerator
IObjectNameGenerator objectNameGenerator

Properties

| Improve this Doc View Source

Globals

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

NodeNameGenerator

Declaration
public INodeNameGenerator NodeNameGenerator { get; }
Property Value
Type Description
INodeNameGenerator
| Improve this Doc View Source

ObjectNameGenerator

Declaration
protected IObjectNameGenerator ObjectNameGenerator { get; }
Property Value
Type Description
IObjectNameGenerator

Methods

| Improve this Doc View Source

AddChild(INodeNameGenerator)

Declaration
public void AddChild(INodeNameGenerator nodeNameGenerator)
Parameters
Type Name Description
INodeNameGenerator nodeNameGenerator
| Improve this Doc View Source

CreateChildNameGenerator(String)

Declaration
public IObjectNameGenerator CreateChildNameGenerator(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
IObjectNameGenerator
| Improve this Doc View Source

GenerateNodeName(String)

Declaration
public string GenerateNodeName(string nodeName)
Parameters
Type Name Description
System.String nodeName
Returns
Type Description
System.String
| Improve this Doc View Source

GenerateObjectName(String)

Declaration
public string GenerateObjectName(string entityName)
Parameters
Type Name Description
System.String entityName
Returns
Type Description
System.String
| Improve this Doc View Source

ParseNodeName(String)

Declaration
public string ParseNodeName(string nodePath)
Parameters
Type Name Description
System.String nodePath
Returns
Type Description
System.String
| Improve this Doc View Source

SetGlobal(String)

Declaration
public void SetGlobal(string spImage)
Parameters
Type Name Description
System.String spImage

Implements

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