Class Entity<P>
Base class for any circuit object that can take part in simulations. This variant also defines a cloneable parameter set.
Inheritance
Entity<P>
Inherited Members
Namespace: SpiceSharp.Entities
Assembly: SpiceSharp.dll
Syntax
public abstract class Entity<P> : Entity, IEntity, IParameterSetCollection, IParameterSet, ICloneable<IEntity>, IParameterized<P> where P : IParameterSet, ICloneable<P>, new()
Type Parameters
Name | Description |
---|---|
P | The parameter set type. |
Constructors
Entity(string)
Initializes a new instance of the Entity<P> class.
Declaration
protected Entity(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name. |
Properties
Parameters
Gets the parameter set.
Declaration
public P Parameters { get; }
Property Value
Type | Description |
---|---|
P | The parameter set. |
Methods
Clone()
Clones the instance.
Declaration
public override IEntity Clone()
Returns
Type | Description |
---|---|
IEntity | The cloned instance. |