CArrayFloat
CArrayFloat class is a class of dynamic array of variables of type float.
Description
Class CArrayFloat provides the ability to work with a dynamic array of variables of type float.In the class implemented the ability to add / insert / delete elements in an array, sort array, searching in sorted array.In addition, the implemented methods of work with the file.
Declaration
class CArrayFloat : public CArray |
Title
#include <Arrays\ArrayFloat.mqh> |
Class Methods
Attributes |
|
Set the comparison tolerance |
|
Memory control |
|
Allocates memory to increase the size of the array |
|
Sets a new (smaller) size of the array |
|
Clears the array with a full memory release |
|
Add methods |
|
Adds an element to the end of the array |
|
Adds to the end of the array elements from another array |
|
Adds to the end of the array elements from another array |
|
Inserts an element in the array to the specified position |
|
Inserts an array of elements from another array with the specified position |
|
Inserts an array of elements from another array with the specified position |
|
Copies the array elements from another array |
|
Copies the array elements from another array |
|
Update methods |
|
Changes the element at the specified position array |
|
Moves an item from a given position in the array to the specified offset |
|
Removes the element from the specified position array |
|
Deletes a group of elements from the specified position array |
|
Access methods |
|
Gets the element from the specified position array |
|
Compare methods |
|
Compares array with another array |
|
Compares array with another array |
|
Sorted array operations |
|
Inserts element in a sorted array |
|
Searches for an element equal to the model in sorted array |
|
Searches for an element of more samples in sorted array |
|
Searches for an element less than the sample in the sorted array |
|
Searches for an element greater than or equal to the model in sorted array |
|
Searches for an element less than or equal to the model in sorted array |
|
Finds the first element equal to the model in sorted array |
|
Finds the last element equal to the model in sorted array |
|
Input/output |
|
virtual Save |
Saves data array in the file |
virtual Load |
Loads data array from a file |
virtual Type |
Gets the type identifier of the array |
© 2000-2010, MetaQuotes Software Corp.