mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added Exceptions to the System.Xml library Added missing DisplayModeCollection class Added Stack class (will be tested soon, and removed again if it doesn't work) * This revision's libXFX doesn't build. This is due to the List template not handling pointers to abstract classes the way I'd like it to do. Need to look into.
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
/********************************************************
|
|
* Array.h *
|
|
* *
|
|
* XFX Array class definition file *
|
|
* Contains array helper methods *
|
|
* Copyright © XFX Team. All Rights Reserved *
|
|
********************************************************/
|
|
#ifndef _SYSTEM_ARRAY_
|
|
#define _SYSTEM_ARRAY_
|
|
|
|
#include <System/Collections/Generic/Interfaces.h>
|
|
|
|
using namespace System::Collections::Generic;
|
|
|
|
namespace System
|
|
{
|
|
class Array
|
|
{
|
|
public:
|
|
template <class T>
|
|
static int BinarySearch(T array[], int index, int length, T value, IComparer<T>* comparer);
|
|
template <class T>
|
|
static void Clear(T array[], int index, int length);
|
|
template <class T>
|
|
static void Copy(T sourceArray[], int sourceIndex, T destinationArray[], int destinationIndex, int length);
|
|
template <class T>
|
|
static int IndexOf(T array[], T value, int startIndex, int count);
|
|
template <class T>
|
|
static int Length(T array[]);
|
|
template <class T>
|
|
static void Reverse(T array[], int index, int length);
|
|
};
|
|
}
|
|
|
|
#endif //_SYSTEM_ARRAY_
|