Click or drag to resize

TimeDataVectorTS Class

Implementation of ITimeData for a vector item.

For each element it stores a list of time steps.

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.ResultDataAccessTimeDataVectorTS

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
[SerializableAttribute]
public class TimeDataVectorTS : ITimeData

The TimeDataVectorTS type exposes the following members.

Constructors
  NameDescription
Public methodTimeDataVectorTS(Int32)
Initializes a new instance of the TimeDataVectorTS class that is empty and has the default initial time step capacity.
Public methodTimeDataVectorTS(Int32, Int32)
Initializes a new instance of the TimeDataVectorTS class that is empty and has the specified initial time step capacity.
Top
Properties
  NameDescription
Public propertyNumberOfElements
Number of elements.
Public propertyNumberOfTimeSteps
Number of time steps.
Top
Methods
  NameDescription
Public methodAdd
Adds a time step, with empty data
Public methodAdd(Single)
Adds a time step, setting the provided value

calling this method is only valid if NumberOfElements equals 1.

Public methodAdd(Single)
Adds a time step, setting the provided values

calling this method is only valid if NumberOfElements is greater than 1.

Public methodClear
Remove all values from the object.
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Get value for the speficied time step and element
Public methodGetValues
Get values for all elements for the speficied time step

calling this method is only valid if NumberOfElements is greater than 1.

Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAt
Remove element at specified index.
Public methodSetValue
Set value at the speficied time step and element

For single valued items, when NumberOfElements equals 1, set elementIndex to zero.

Public methodSetValues
Set values for all elements at the speficied time step

calling this method is only valid if NumberOfElements is greater than 1.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetValue
Interplate a value in interval, with fraction, for the specified elementIndex
(Defined by ResultDataExtensions.)
Top
See Also