Click or drag to resize

cStanzaGroup Class

Multi-stanza group
Inheritance Hierarchy

Namespace:  EwECore
Assembly:  EwECore (in EwECore.dll) Version: 6.6.15981.0 (6.6.15981.0)
Syntax
public class cStanzaGroup : cCoreInputOutputBase

The cStanzaGroup type exposes the following members.

Constructors
  NameDescription
Public methodcStanzaGroup
Initializes a new instance of the cStanzaGroup class
Top
Properties
  NameDescription
Public propertyBiomass
Public propertyBiomassAccumulationRate
Get/set the relative biomass accumulation rate for this stanza configuration.
Public propertyBiomassAtAge
Public propertyCB
Public propertyCoreComponent
Get the core component type that this object belongs to. Component types are useful for determining the level of impact that objects have on the EwE computing model.
(Inherited from cCoreInputOutputBase.)
Public propertyDataType
Get the data type uniquely identifying the type of core data that this class implements.
(Inherited from cCoreInputOutputBase.)
Public propertyDBID
Returns the persistent unique database ID for an ICoreInputOutput.
(Inherited from cCoreInputOutputBase.)
Public propertyDisposed (Inherited from cCoreInputOutputBase.)
Public propertyEggAtSpawn
Public propertyFixedFecundity
Public propertyHatchCode
Get/set the hatchery stocking forcing function number for this stanza configuration.
Public propertyiGroups
Get/set the index of a life stage in this multi-stanza grouping. Groups are stored in a one-based array.
Public propertyiLifeStage
Get the life stage index of a group index within this stanza configuration.
Public propertyIndex
Get/set the one-based index of a cCoreInputOutputBase instance in the list that it is contained in.
(Inherited from cCoreInputOutputBase.)
Public propertyisDirty
Public propertyIsFished
Get whether a group is being fished. This value is kept up to date by the core.
Public propertyLeadingB
Get/set the zero-based index of the life stage that determines B for this stanza.
Public propertyLeadingCB
Get/set the zero-based index of the life stage that determines CB for this stanza.
Public propertyMaxAge
Public propertyMortality
Public propertyName
Get/set the name of a core object. Every ICoreInterface derived instance in EwE6 has a name.
(Inherited from cCoreInputOutputBase.)
Public propertynLifeStages
Get the number of life stages in this Multi Stanza grouping.
Public propertyNStanzas Obsolete.
Get/set the number of groups in this Multi Stanza grouping.
Public propertyNumberAtAge
Public propertyOkToCalculate
Is it ok to run stanza calculation, cEcosim.CalculateStanzaParameters(), on this object. Have the leading stanza parameters been set.
Public propertyRecruitmentPower
Get/set the recruitment power for this stanza configuration.
Public propertyRemark
Get/set a remark.
(Inherited from cCoreInputOutputBase.)
Public propertySpawnProp
Public propertyStartAge
Public propertyUnits (Inherited from cCoreInputOutputBase.)
Public propertyValidationStatus
Get the outcome of the most recently performed variable validation attempt on a cCoreInutOutputBase instance.
(Inherited from cCoreInputOutputBase.)
Public propertyValueDescriptor
Returns the Value descriptor for a given variable name, associated with this object.
(Inherited from cCoreInputOutputBase.)
Public propertyWeightAtAge
Public propertyWmatWinf
Get/set the weight at maturity over weight at infancy ratio for this stanza configuration.
Top
Methods
  NameDescription
Public methodApply
Apply Stanza Calculation
Public methodCalculateParameters
Calculate the Stanza parameters for this stanza group
Public methodCancel
Cancel edits made by a user by reloading the underlying Core data and re-calculating the stanza parameters.
Public methodClear (Inherited from cCoreInputOutputBase.)
Public methodDispose
Destroy an instance.
(Inherited from cCoreInputOutputBase.)
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
Returns the unique ID for this object as a text string.
(Inherited from cCoreInputOutputBase.)
Public methodGetStatus
Returns the status of a variable in this object.
(Inherited from cCoreInputOutputBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVariable
Return the value of a variable.
(Inherited from cCoreInputOutputBase.)
Public methodGetVariableMetadata
Return metadata associated with a variable. If the local instance does not have metadata associated the central metadata repository is consulted.
(Inherited from cCoreInputOutputBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetStatus
Replaces current status flags for a given variable with a new set of status flags.
(Inherited from cCoreInputOutputBase.)
Public methodSetVariable
Overloaded to set the isDirty flag
(Overrides cCoreInputOutputBaseSetVariable(eVarNameFlags, Object, Int32, Int32).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldm_bReadOnly
States whether an object will allow its values to be modified via SetVariable.
(Inherited from cCoreInputOutputBase.)
Protected fieldm_bValidate
States whether Variable validation is enabled for this object.
(Inherited from cCoreInputOutputBase.)
Protected fieldm_core
Reference to the EwE Core that exposes the object.
(Inherited from cCoreInputOutputBase.)
Protected fieldm_coreComponent
The EwE core component that this object belongs to
(Inherited from cCoreInputOutputBase.)
Protected fieldm_dataType
Container for the data type describing the object.
(Inherited from cCoreInputOutputBase.)
Protected fieldm_ValidationStatus
Container for the Validation status of the object.
(Inherited from cCoreInputOutputBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodValue
Extension method; extract a value from an object by property name.
(Defined by Extensions.)
Top
Remarks
This class acts as a buffer for the data. The core data is updated expilcitly by a user not implicitly by the core. The user of this class is responsible for calculating the stanza parameters and saving any changes.
See Also