Click or drag to resize

NetworkDataT Methods

The NetworkDataT generic type exposes the following members.

Methods
  NameDescription
Public methodAddGlobalReachValue
Add a value defined for an entire reach. This will fail if there is already defined values at locations or in spans of this reach. After successfull addition, values at locations or in spans can not be added.
Public methodAddValue(String, T)
Add a value for the node identified by nodeId
Public methodAddValue(ILocation, T)
Add a value on the given location.
Public methodAddValue(ILocationSpan, T)
Add a value defined within the given span. This corresponds to adding the value at the start and end location of the span.
Public methodAddValue(ILocation, T, Boolean)
Add a value on the given location.
Public methodClear
Delete all localized values. The global value is not deleted.
Public methodContainsValue(ILocation)
Check if a local value is specified at the location. Returns false if no value is defined for the location.

If more than one value is to be retrieved for the same reach, use the GetReachData(String) first and use that one (for performance).

Public methodContainsValue(ILocation, Direction)
Check if a local value is specified at the location. Returns false if no value is defined for the location.

If more than one value is to be retrieved for the same reach, use the GetReachData(String) first and use that one (for performance).

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 methodGetGlobalValue(T)
Get global value. Returns false if no global value is defined.
Public methodGetGlobalValue(String, T)
Get value for the specified id. Returns false if no value is defined for the node id.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetReachData
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(String, T)
Get value for the specified node. Returns false if no value is defined for the node id.
Public methodGetValue(ILocation, T)
Get value for the specified location. Returns false if no value is defined for the location.

If more than one value is to be retrieved for the same reach, use the GetReachData(String) first and use that one to get the values (for performance).

Public methodGetValue(ILocation, T, Boolean)
Get value for the specified location. Returns false if no value is defined for the location.

If more than one value is to be retrieved for the same reach, use the GetReachData(String) first and use that one to get the values (for performance).

Public methodGetValues
Get value at the given locations. The locations must have same Location.ID and be ordred in the list by increasing chainages.
Public methodHasNodeLocalValue
Returns true if the node has local value defined.
Public methodHasReachLocalValues
Returns true if the reach has local values defined.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetValueT(ILocation)Overloaded.
Get a value from the networkData at the given location. If no value is found at location, the global value is used. If no global value is defined, an exception is thrown.
(Defined by GenericExtensions.)
Public Extension MethodGetValueT(ILocation, T)Overloaded.
Get a value from the networkData at the given location. If no value is found at location, the global value is used. If no global value is defined, the default value is returned.
(Defined by GenericExtensions.)
Public Extension MethodNetworkValuesT
Gives an enumerable that iterates over all point values in the network value set.

It will iterate first over all the nodes, and then over all the reaches and its locations.

(Defined by AbstractNetworkDataExtensions.)
Public Extension MethodPointValuesT
Gives an iterator that iterates over all point values in the network value set.

It will iterate first over all the nodes, and then over all the reaches and its locations.

(Defined by AbstractNetworkDataExtensions.)
Top
See Also