UInt32ArrayNoFree (struct)

The UInt32ArrayNoFree can be used to manage an array of UInt32 which won’t deallocate when shrinking, unless UInt32ArrayNoFree.reset is called. The actual size of the internal array might be greater than the used size.

UInt32ArrayNoFree UInt32ArrayNoFree UInt32ArrayNoFree

Members

UInt32[] data The managed UInt32 array (only the beginning of the array might be used)

Methods

  UInt32ArrayNoFree ( in UInt32ArrayNoFree other )
  UInt32ArrayNoFree ()
UInt32ArrayNoFree clone ? ()
UInt32 get ? ( in Size index )
Boolean pop ! ( io UInt32 value )
  push ! ( in UInt32 value )
  reset ! ()
  resize ! ( in Size newSize )
  set ! ( in Size index, in UInt32 value )
Size size ? ()

Methods in detail

UInt32ArrayNoFree ( in UInt32ArrayNoFree other )

copy constructor


UInt32ArrayNoFree ()

default constructor


UInt32ArrayNoFree UInt32ArrayNoFree.clone? ()

clone method


UInt32 UInt32ArrayNoFree.get? ( in Size index )

returns element at index


Boolean UInt32ArrayNoFree.pop! ( io UInt32 value )


UInt32ArrayNoFree.push! ( in UInt32 value )

pushes an element to the end of the array


UInt32ArrayNoFree.reset! ()

resets the array, and forces it to be deallocated.


UInt32ArrayNoFree.resize! ( in Size newSize )

resizes the array to a given number. never shrinks the array, sticks with a previous size if newSize is smaller.


UInt32ArrayNoFree.set! ( in Size index, in UInt32 value )

sets element at index


Size UInt32ArrayNoFree.size? ()

returns the size of this array