Interface SLSimpleDataBuffer.ISLIntegerBuffer
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: SLSimpleDataBuffer
Inherits: ISLLinearDataBuffer
Contents |
Syntax
Delphi:
type ISLIntegerBuffer = interface( ISLLinearDataBuffer )
Summary
Integer data buffer interface.
Description
This is the Integer data buffer interface.
Properties
- Items - Access to individual Integer item of the buffer.
- Min - Returns the min value in the buffer.
- Max - Returns the max value in the buffer.
Methods
- function Read() : PInteger - Returns read only pointer to the buffer data.
- function Write() : PInteger - Returns write pointer to the buffer data.
- function Modify() : PInteger - Returns read and write pointer to the buffer data.
- function GetItem(Index : Integer) : Integer
- procedure SetItem(Index : Integer; Value : Integer)
- procedure Add(Right : ISLIntegerBuffer) - Adds the elements of the buffer to the corresponding elements of another buffer.
- procedure Subtract(Right : ISLIntegerBuffer) - Subtracts the elements of the buffer by the corresponding elements of another buffer.
- procedure Multiply(Right : ISLIntegerBuffer) - Multiplies the elements of the buffer by the corresponding elements of another buffer.
- procedure Divide(Right : ISLIntegerBuffer) - Divides the elements of the buffer by the corresponding elements of another buffer.
- procedure ModBuffer(Right : ISLIntegerBuffer) - Calculates module for the elements of the buffer by the corresponding elements of another buffer.
- procedure AndBuffer(Right : ISLIntegerBuffer) - Performs logical And between a value and each element of the buffer.
- procedure OrBuffer(Right : ISLIntegerBuffer) - Performs logical Or operation between each element of the buffer and the corresponding elements of another buffer.
- procedure XorBuffer(Right : ISLIntegerBuffer) - Performs logical Xor operation between each element of the buffer and the corresponding elements of another buffer.
- procedure LShift(Right : ISLIntegerBuffer) - Shifts left the elements of the buffer by the value of corresponding elements of another buffer.
- procedure RShift(Right : ISLIntegerBuffer) - Shifts right the elements of the buffer by the value of corresponding elements of another buffer.
- procedure SetValue(AValue : Integer) - Sets all the elements of the buffer to a certain value.
- procedure AddValue(AValue : Integer) - Adds an integer value to each element of the buffer.
- procedure SubtractValue(AValue : Integer) - Subtracts an integer value from each element of the buffer.
- procedure MultiplyValue(AValue : Integer) - Multiplies an int value to each element of the buffer.
- procedure DivideValue(AValue : Integer) - Divides each element of the buffer data by a value.
- procedure ModValue(AValue : Integer) - Calculates module for each element of the buffer data by a value.
- procedure AndValue(AValue : Integer) - Performs logical And between a value and each element of the buffer.
- procedure OrValue(AValue : Integer) - Performs logical Or between a value and each element of the buffer.
- procedure XorValue(AValue : Integer) - Performs logical Xor between a value and each element of the buffer.
- procedure LShiftValue(AValue : Integer) - Shifts left Value times each element of the buffer.
- procedure RShiftValue(AValue : Integer) - Shifts right Value times each element of the buffer.
- procedure Zero() - Sets all the elements of the buffer to 0.
- function Dot(Right : ISLIntegerBuffer) : Integer - Computes the dot product of two buffers.
- function IsEqualToValue(AValue : Integer) : Boolean - Checks if all the elements in the buffer are equal to a value.
- function GetMinValue() : Integer
- function GetMaxValue() : Integer