Versioned

Description

abstract class Tinman.Core.Util.Versioned

Derived from

IVersioned

Extended by

ConfigDomain sealed
EnvironmentMap abstract
Example_Raytracer sealed
MarkingBuilder abstract
ModelDecorator abstract
ModelPose sealed
ModelReaderOptions sealed
RoadElement sealed
ScreenLabel abstract
ScreenLabelStyle
TerrainDecal sealed
TerrainTransform abstract
Tripod sealed
Viewport sealed
Visual abstract
WidgetBounds abstract

Abstract base class for IVersioned implementations.

Public / Methods

Sum

5 overloads


[Pure]
public static method Sum1 → (1)
<T ref : IVersioned>

objs in : IEnumerable<T>

The versioned objects or null.

returns → int32

The version sum or 0 if objs in is null.

Returns the version sum of the given versioned objects.


[Pure]
public static method Sum2 → (1)
<T ref : IVersioned>

objs in : IEnumerator<T> own

The versioned objects or null.

returns → int32

The version sum or 0 if objs in is null.

Returns the version sum of the given versioned objects.


[Pure]
public static method Sum3 → (1)
<T ref : IVersioned>

objs in : IVectorConst<T>

The versioned objects or null.

returns → int32

The version sum or 0 if objs in is null.

Returns the version sum of the given versioned objects.


[Pure]
public static method Sum4 → (1)
<T ref : IVersioned>

objects in : T [ ]

The versioned objects or null.

returns → int32

The version sum or 0 if objects in is null.

Returns the version sum of the given versioned objects.


[Pure]
public static method Sum5 → (3)
<T ref : IVersioned>

objects in : T [ ]

[not-null]
The versioned objects.

offset in : int32

[>=0]
Index of first element in objects in to visit.

count in : int32

[>=0]
Total number of elements in objects in to visit.

returns → int32

The version sum or 0 if objects in is null.

Returns the version sum of the given versioned objects.

Protected / Methods

Version​Increment


protected method VersionIncrement → ()

Increments the version of this object.

Protected / Attributes

Version​Aggregated


[EmptyBody]
protected virtual attribute VersionAggregated → (get)

value : int32

The aggregated version.

Returns the version of aggregated objects, which will be added to the current version of this object.