#include <Container.hpp>
Public Member Functions | |
size_type | size () const |
Returns the size of the array. | |
size_type | capacity () const |
Returns the capacity of the array. | |
iterator | begin () |
Returns an iterator at the beginning of the array. | |
const_iterator | begin () const |
Returns a constant iterator at the beginning of the array. | |
reverse_iterator | rbegin () |
Returns a reverse iterator at the end of the array. | |
const_reverse_iterator | rbegin () const |
Returns a constant reverse iterator at the end of the array. | |
iterator | end () |
Returns an iterator at the end of the array. | |
const_iterator | end () const |
Returns a constant iterator at the end of the array. | |
reverse_iterator | rend () |
Returns a reverse iterator at the beginning of the array. | |
reference | front () |
Returns a reference to the first element of the array. | |
const_reference | front () const |
Returns a constant reference to the first element of the array. | |
reference | back () |
Retruns a reference to the last element of the array. | |
const_reference | back () const |
Returns a constant reference to the last element of the array. | |
reference | operator[] (size_type Index) |
Returns a reference to the element at the specified index. | |
const_reference | operator[] (size_type Index) const |
Returns a constant reference to the element at the specified index. | |
VOID | push_back (const_reference Value) |
Adds an element with the specified value at the back of the array. | |
VOID | pop_back () |
Erases the last element of the array. | |
template<class Func> | |
VOID | transform (Func Function) |
Transform every element in the array using the specified function. | |
template<class ValTy> | |
iterator | find (CONST ValTy &Value) |
Finds an element with the specified Value within the array. | |
template<class ValTy> | |
const_reference | find (CONST ValTy &Value) const |
Finds an element with the specified Value within the array. | |
template<class InputIterator, class Type> | |
InputIterator | find (InputIterator First, InputIterator Last, CONST Type &Value) |
Finds an element with the specified Value within the array. | |
template<class PredTy> | |
iterator | findif (PredTy Predicate) |
Finds an element that when passed to the predicate function returns true. | |
template<class PredTy> | |
const_iterator | findif (PredTy Predicate) const |
Finds an element that when passed to the predicate function returns true. | |
template<class InputIterator, class PredTy> | |
InputIterator | findif (InputIterator First, InputIterator Last, PredTy Predicate) |
Finds an element that when passed to the predicate function returns true. | |
VOID | resize (size_type Count) |
Resizes the array to the specified count. | |
VOID | resize (size_type Count, const_reference Value) |
Resizes the array to the specified count, and fills the new elements with the specified value. | |
iterator | insert (iterator Where, const_reference Value) |
Inserts an element with the specified value at the specified position. | |
VOID | insert (iterator Where, size_type Count, const_reference Value) |
Inserts a number of elements with the specified value at the specified position. | |
template<class InputIterator> | |
iterator | insert (iterator Where, InputIterator First, InputIterator Last) |
Inserts a group of elements at the specified position. | |
VOID | assign (size_type Count, const_reference Value) |
Assigns the array with a number of elements initialized with the specified value. | |
template<class InputIterator> | |
VOID | assign (InputIterator First, InputIterator Last) |
Assigns the array with a number of elements. | |
template<class Func> | |
Func | foreach (Func Function) |
Performs an operation on each element in the array. | |
template<class InputIterator, class Func> | |
Func | foreach (InputIterator First, InputIterator Last, Func Function) |
Performs an operation on each element in the array. | |
iterator | erase (iterator Where) |
Erases an element at the specified position. | |
iterator | erase (iterator First, iterator Last) |
Erases all elements between the two specified iterators. | |
VOID | clear () |
Clears the entire array of all elements. | |
BOOL | empty () |
Returns whether or not the array is empty. |
size_type System::Array< Ty, Ay >::size | ( | ) | const [inline] |
size_type System::Array< Ty, Ay >::capacity | ( | ) | const [inline] |
iterator System::Array< Ty, Ay >::begin | ( | ) | [inline] |
const_iterator System::Array< Ty, Ay >::begin | ( | ) | const [inline] |
reverse_iterator System::Array< Ty, Ay >::rbegin | ( | ) | [inline] |
Reimplemented in System::CharacterArray< CharTy >.
const_reverse_iterator System::Array< Ty, Ay >::rbegin | ( | ) | const [inline] |
Reimplemented in System::CharacterArray< CharTy >.
iterator System::Array< Ty, Ay >::end | ( | ) | [inline] |
const_reverse_iterator System::Array< Ty, Ay >::end | ( | ) | const [inline] |
Returns a constant reverse iterator at the beginning of the array.
A constant reverse iterator at the beginning of the array.
Reimplemented in System::CharacterArray< CharTy >.
reverse_iterator System::Array< Ty, Ay >::rend | ( | ) | [inline] |
reference System::Array< Ty, Ay >::front | ( | ) | [inline] |
const_reference System::Array< Ty, Ay >::front | ( | ) | const [inline] |
reference System::Array< Ty, Ay >::back | ( | ) | [inline] |
Reimplemented in System::CharacterArray< CharTy >.
const_reference System::Array< Ty, Ay >::back | ( | ) | const [inline] |
Reimplemented in System::CharacterArray< CharTy >.
reference System::Array< Ty, Ay >::operator[] | ( | size_type | Index | ) | [inline] |
Index | The index of the element to return a reference of. |
const_reference System::Array< Ty, Ay >::operator[] | ( | size_type | index | ) | const [inline] |
Index | The index of the element to return a constant reference of. |
VOID System::Array< Ty, Ay >::push_back | ( | const_reference | Value | ) | [inline] |
Value | The value of the element to add. |
VOID System::Array< Ty, Ay >::transform | ( | Func | Function | ) | [inline] |
Function | The function used to transform an element. |
Reimplemented in System::CharacterArray< CharTy >.
iterator System::Array< Ty, Ay >::find | ( | CONST ValTy & | Value | ) | [inline] |
Value | The value of the element to search for. |
Reimplemented in System::CharacterArray< CharTy >.
const_iterator System::Array< Ty, Ay >::find | ( | CONST ValTy & | Value | ) | const [inline] |
Value | The value of the element to search for. |
Reimplemented in System::CharacterArray< CharTy >.
InputIterator System::Array< Ty, Ay >::find | ( | InputIterator | First, | |
InputIterator | Last, | |||
CONST Type & | Value | |||
) | [inline] |
First | The element to start the search at. | |
Last | The element to end the search at. | |
Value | The value of the element to search for. |
iterator System::Array< Ty, Ay >::findif | ( | PredTy | Predicate | ) | [inline] |
Predicate | The function to use to search for an element. |
Reimplemented in System::CharacterArray< CharTy >.
const_iterator System::Array< Ty, Ay >::findif | ( | PredTy | Predicate | ) | const [inline] |
Predicate | The function to use to search for an element. |
Reimplemented in System::CharacterArray< CharTy >.
InputIterator System::Array< Ty, Ay >::findif | ( | InputIterator | First, | |
InputIterator | Last, | |||
PredTy | Predicate | |||
) | [inline] |
First | The element to start the search at. | |
Last | The element to end the search at. | |
Predicate | The function to use to search for an element. |
VOID System::Array< Ty, Ay >::resize | ( | size_type | Count | ) | [inline] |
Count | The new size of the array. |
VOID System::Array< Ty, Ay >::resize | ( | size_type | Count, | |
const_reference | Value | |||
) | [inline] |
Count | The new size of the array. | |
Value | The value to initialize the new elements with. |
iterator System::Array< Ty, Ay >::insert | ( | iterator | Where, | |
const_reference | Value | |||
) | [inline] |
Where | An iterator pointing to the element at which to perform the insertion. | |
Value | A value to initialize the new element with. |
iterator System::Array< Ty, Ay >::insert | ( | iterator | Where, | |
size_type | Count, | |||
const_reference | Value | |||
) | [inline] |
Where | An iterator pointing to the element at which to perform the insertion. | |
Count | The number of elements to insert. | |
Value | A value to initialize the new elements with. |
iterator System::Array< Ty, Ay >::insert | ( | iterator | Where, | |
InputIterator | First, | |||
InputIterator | Last | |||
) | [inline] |
Where | An iterator pointing to the element at which to perform the insertion. | |
First | An iterator pointing to the start of the input elements. | |
Last | An iterator pointing to the end of the input elements. |
Reimplemented in System::CharacterArray< CharTy >.
VOID System::Array< Ty, Ay >::assign | ( | size_type | Count, | |
const_reference | Value | |||
) | [inline] |
Count | The number of elements to assign. | |
Value | A value to initialize the new elements with. |
VOID System::Array< Ty, Ay >::assign | ( | InputIterator | First, | |
InputIterator | Last | |||
) | [inline] |
First | An iterator pointing to the start of the input elements. | |
Last | An iterator pointing to the end of the input elements. |
Func System::Array< Ty, Ay >::foreach | ( | Func | Function | ) | [inline] |
Function | The function performing the operations on the elements. |
Func System::Array< Ty, Ay >::foreach | ( | InputIterator | First, | |
InputIterator | Last, | |||
Func | Function | |||
) | [inline] |
Fisrt | The element to start from. | |
Last | The element to stop before. | |
Function | The function performing the operations on the elements. |
iterator System::Array< Ty, Ay >::erase | ( | iterator | Where | ) | [inline] |
Where | An iterator pointing to the element to erase. |
Reimplemented in System::CharacterArray< CharTy >.
iterator System::Array< Ty, Ay >::erase | ( | iterator | First, | |
iterator | Last | |||
) | [inline] |
First | The element to begin the removal at. | |
Last | The element to end the removal at. |
Reimplemented in System::CharacterArray< CharTy >.
BOOL System::Array< Ty, Ay >::empty | ( | ) | [inline] |
Reimplemented in System::CharacterArray< CharTy >.