Namespace: GameEngine.Attributes
Class: GameEngine/Attributes/ArcGISUint32Collection
Since: 2.4.0

Summary

Defines a collection of uint32 values

Constructors

ArcGISUint32Collection()

Creates a vector. This allocates memory that must be deleted.

Since 2.4.0

Properties

PropertyTypeNullableReadonlySummary
SizeulongNoYes

The number of values in the vector.

Size

ulong Size

The number of values in the vector.

If an error occurs, 0 will be returned.

Methods

SignatureReturn TypeSummary

Add(uint)

ulong

Add a value to the vector.

AddArray(ArcGISCollection<uint>)

ulong

Appends a vector to a vector.

At(ulong)

uint

Gets the value at the specified position.

Contains(uint)

bool

Determines if the vector contains the given value.

First()

uint

Get the first value in the vector.

IndexOf(uint)

ulong

Retrieves the position of the given value in the vector.

Insert(ulong, uint)

void

Insert a value at the specified position in the vector.

IsEmpty()

bool

Determines if the vector contains values.

Last()

uint

Get the last value in the vector.

Move(ulong, ulong)

void

Move a value from the current position to a new position in the vector.

Npos()

ulong

Returns a value indicating a bad position within the vector.

Remove(ulong)

void

Remove a value at a specific position in the vector.

RemoveAll()

void

Remove all values from the vector.

Add

ulong Add(uint value)

Add a value to the vector.

Since 2.4.0

Arguments
NameTypeSummary
valueuint

The value to add.

Returns ulong

The position of the value. Max value of size_t if an error occurs.

AddArray

ulong AddArray(ArcGISCollection<uint> vector2)

Appends a vector to a vector.

Since 2.4.0

Arguments
NameTypeSummary
vector2ArcGISCollection<uint>

The value to add.

Returns ulong

The new size of vector_1. Max value of size_t if an error occurs.

At

uint At(ulong position)

Gets the value at the specified position.

Since 2.4.0

Arguments
NameTypeSummary
positionulong

The position at which to get the value.

Returns uint

The uint32 at the specified position.

Contains

bool Contains(uint value)

Determines if the vector contains the given value.

Since 2.4.0

Arguments
NameTypeSummary
valueuint

The value to find.

Returns bool

True if the value is in the vector, otherwise false.

First

uint First()

Get the first value in the vector.

Since 2.4.0

Returns uint

The uint32 at the position requested.

IndexOf

ulong IndexOf(uint value)

Retrieves the position of the given value in the vector.

Since 2.4.0

Arguments
NameTypeSummary
valueuint

The value to find.

Returns ulong

The position of the value in the vector, Max value of size_t otherwise.

Insert

void Insert(ulong position, uint value)

Insert a value at the specified position in the vector.

Since 2.4.0

Arguments
NameTypeSummary
positionulong

The position which you want to insert the value.

valueuint

The value that is to be added.

Returns void

IsEmpty

bool IsEmpty()

Determines if the vector contains values.

Since 2.4.0

Returns bool

True if the vector object contains no values, otherwise false. Returns true if an error occurs.

Last

uint Last()

Get the last value in the vector.

Since 2.4.0

Returns uint

The uint32 at the specified position.

Move

void Move(ulong oldPosition, ulong newPosition)

Move a value from the current position to a new position in the vector.

Since 2.4.0

Arguments
NameTypeSummary
oldPositionulong

The current position of the value.

newPositionulong

The position which you want to move the value to.

Returns void

Npos

static ulong Npos()

Returns a value indicating a bad position within the vector.

Since 2.4.0

Returns ulong

A size_t.

Remove

void Remove(ulong position)

Remove a value at a specific position in the vector.

Since 2.4.0

Arguments
NameTypeSummary
positionulong

The position which you want to remove the value.

Returns void

RemoveAll

void RemoveAll()

Remove all values from the vector.

Since 2.4.0

Returns void

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.