Click or drag to resize

cPredPreyInteraction Class

Class to wrap the shape and function type modifiers for a pred/prey interaction
Inheritance Hierarchy

Namespace:  EwECore
Assembly:  EwECore (in EwECore.dll) Version: 6.6.15981.0 (6.6.15981.0)
Syntax
public class cPredPreyInteraction : cMediatedInteraction

The cPredPreyInteraction type exposes the following members.

Constructors
  NameDescription
Public methodcPredPreyInteraction
Create a new interaction.
Top
Properties
  NameDescription
Public propertyCoreComponent (Inherited from cMediatedInteraction.)
Public propertyDataType (Overrides cMediatedInteractionDataType.)
Public propertyDBID (Inherited from cMediatedInteraction.)
Public propertyIndex (Inherited from cMediatedInteraction.)
Public propertyisProdRate
Get whether this interaction denotes a production rate interaction.
Public propertyLockUpdates
Get/set whether updates should not be sent to the core. This functionality is particularly useful when making a series of changes to pred/prey interactions.
(Inherited from cMediatedInteraction.)
Public propertyMaxNumShapes (Overrides cMediatedInteractionMaxNumShapes.)
Public propertyName (Inherited from cMediatedInteraction.)
Public propertynAppliedShapes
Get the number of shapes that are used by this predator/prey interaction.
(Inherited from cMediatedInteraction.)
Public propertyPredIndex
Get the index of the predator for this interaction.
Public propertyPreyIndex
Get the index of the prey for this interaction.
Top
Methods
  NameDescription
Public methodClear (Inherited from cMediatedInteraction.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetID (Overrides cMediatedInteractionGetID.)
Public methodgetShape
Get a shape modifier, consisting of a forcing funtion and a Type of variable, defined at a given index.
(Inherited from cMediatedInteraction.)
Protected methodgetShapeFromEcosimIndex (Inherited from cMediatedInteraction.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodsetShape
Set a shape modifier, consisting of a forcing function and function type, for a given index.
(Inherited from cMediatedInteraction.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldm_dbid (Inherited from cMediatedInteraction.)
Protected fieldm_lstAppTypes
List of Application types this that this interation applies to Passed into the Constructor
(Inherited from cMediatedInteraction.)
Protected fieldm_manager (Inherited from cMediatedInteraction.)
Protected fieldm_SFPairs (Inherited from cMediatedInteraction.)
Top
Extension Methods
  NameDescription
Public Extension MethodValue
Extension method; extract a value from an object by property name.
(Defined by Extensions.)
Top
Remarks
This will populate a list of five(MaxFunctions) shapes/functiontype pairs on construction. A user calls setShape(,,,) or getShape(,,,) to modify the shape or functiontype for this Pred Prey interaction.
See Also