Vector objects are used to store 1-dimensional data. More...


Public Member Functions | |
| EPeakVector () | |
| Constructs a vector. | |
| EPeakVector (eVision.EPeakVector other) | |
| Constructs a vector. | |
| EPeakVector (uint maxNumberOfElements) | |
| Constructs a vector. | |
| void | AddElement (eVision.EPeak element) |
| Appends (adds at the tail) an element to the vector. | |
| eVision.EPeak | GetElement (int index) |
| Returns the vector element at the given index. | |
| void | SetElement (int index, eVision.EPeak value) |
| Modifies the vector element at the given index by the given value. | |
| Public Member Functions inherited from eVision.EVector | |
| void | Empty () |
| Resets the number of elements to 0. | |
| virtual void | RemoveElement (uint index) |
| Removes the element at the specified position. | |
| void | Save (string path) |
| Saves the EVector object with all its attributes. | |
| void | Save (eVision.ESerializer serializer) |
| Saves the EVector object with all its attributes. | |
| void | Save (string path, uint un32Version) |
| Saves the EVector object with all its attributes. | |
| void | Save (eVision.ESerializer serializer, uint un32Version) |
| Saves the EVector object with all its attributes. | |
| void | Load (string path) |
| Loads the EVector object with all its attributes. | |
| void | Load (eVision.ESerializer serializer) |
| Loads the EVector object with all its attributes. | |
| void | Load (string path, uint un32Version) |
| Loads the EVector object with all its attributes. | |
| void | Load (eVision.ESerializer serializer, uint un32Version) |
| Loads the EVector object with all its attributes. | |
Properties | |
| eVision.EPeak | this[uint index] [get, set] |
| Gives access to the vector element at the given index. | |
| IntPtr | RawDataPtr [get] |
| Pointer to the vector data. | |
| Properties inherited from eVision.EVector | |
| uint | NumElements [get, set] |
| Number of elements in the vector. | |
Vector objects are used to store 1-dimensional data.
Using vectors is very similar to using 1-dimensional arrays, except that the size can vary at runtime. Memory allocation is handled internally.
License(s): BasicTypes
| eVision.EPeakVector.EPeakVector | ( | ) |
Constructs a vector.
| eVision.EPeakVector.EPeakVector | ( | eVision.EPeakVector | other | ) |
Constructs a vector.
| other | EPeakVector object to be copied |
| eVision.EPeakVector.EPeakVector | ( | uint | maxNumberOfElements | ) |
Constructs a vector.
| maxNumberOfElements | Optionally, memory can be pre-allocated to accommodate a given number of elements. |
| void eVision.EPeakVector.AddElement | ( | eVision.EPeak | element | ) |
Appends (adds at the tail) an element to the vector.
| element | The element to be added. |
| eVision.EPeak eVision.EPeakVector.GetElement | ( | int | index | ) |
Returns the vector element at the given index.
| index | Index, between 0 and EVector.NumElements (excluded) of the element to be accessed. |
If the given index is outside the bounds of the vector, the error code EError.EError_Parameter1OutOfRange is set.
| void eVision.EPeakVector.SetElement | ( | int | index, |
| eVision.EPeak | value ) |
Modifies the vector element at the given index by the given value.
| index | Index, between 0 and EVector.NumElements (excluded), of the element to be modified. |
| value | The new value for the element. |
If the given index is outside the bounds of the vector, the error code EError.EError_Parameter1OutOfRange is set.
|
get |
Pointer to the vector data.
|
getset |
Gives access to the vector element at the given index.
| index | Index, between 0 and EVector.NumElements (excluded) of the element to be accessed. |