Class SLSimpleDataBuffer.TSLIntegerBuffer
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: TSLLinearMemoryBuffer
Contents |
Syntax
Delphi:
type TSLIntegerBuffer = class( TSLLinearMemoryBuffer, ISLIntegerBuffer )
C++ Builder:
class TSLIntegerBuffer : public TSLLinearMemoryBuffer
Visual C++ (MFC):
class CTSLIntegerBuffer : public CTSLLinearMemoryBuffer
C# (.NET):
public ref class TSLIntegerBuffer : Mitov.SignalLab.LinearMemoryBuffer
Summary
Delphi Integer data buffer.
Description
This is Integer Data wrapper buffer. Use this buffer to access and manipulate the Integer data from inside your Delphi code. .NET, C++ Builder and Visual C++ users should use the much more convenient and powerful TSLCIntegerBuffer class. Note Delphi only.
Properties
Public
Methods
Public
- function MakeCopy() : TInterfacedObject
- function GetSize() : Cardinal
- function IsEqual(Other : ISLDataBuffer) : Boolean
- function Read() : PInteger
- function Write() : PInteger
- function Modify() : PInteger
- function GetItem(Index : Integer) : Integer
- procedure SetItem(Index : Integer; Value : Integer)
- procedure Add(Right : ISLIntegerBuffer)
- procedure Subtract(Right : ISLIntegerBuffer)
- procedure Multiply(Right : ISLIntegerBuffer)
- procedure Divide(Right : ISLIntegerBuffer)
- procedure ModBuffer(Right : ISLIntegerBuffer)
- procedure AndBuffer(Right : ISLIntegerBuffer)
- procedure OrBuffer(Right : ISLIntegerBuffer)
- procedure XorBuffer(Right : ISLIntegerBuffer)
- procedure LShift(Right : ISLIntegerBuffer)
- procedure RShift(Right : ISLIntegerBuffer)
- procedure SetValue(AValue : Integer)
- procedure AddValue(AValue : Integer)
- procedure SubtractValue(AValue : Integer)
- procedure MultiplyValue(AValue : Integer)
- procedure DivideValue(AValue : Integer)
- procedure ModValue(AValue : Integer)
- procedure AndValue(AValue : Integer)
- procedure OrValue(AValue : Integer)
- procedure XorValue(AValue : Integer)
- procedure LShiftValue(AValue : Integer)
- procedure RShiftValue(AValue : Integer)
- procedure Zero()
- function Dot(Right : ISLIntegerBuffer) : Integer
- function IsEqualToValue(AValue : Integer) : Boolean
- function GetMinValue() : Integer
- function GetMaxValue() : Integer
From TSLLinearMemoryBuffer
Methods
Public
- procedure Resize(Size : Cardinal; PreserveData : Boolean) - Resizes the buffer.
From TSLMemoryBuffer
Properties
Public
Methods
Public
- function MakeCopy() : TInterfacedObject
- function ByteRead() : PByte
- function ByteWrite() : PByte
- function ByteModify() : PByte
- function GetByteSize() : Cardinal - Call this method to get the buffer size in bytes.
- function GetCharSize() : Cardinal - Call this method to get the buffer size in characters.
- function GetSize() : Cardinal - Call this method to get the buffer size in bytes.
From TSLGenericBuffer
Methods
Public
- function MakeCopy() : TInterfacedObject - Creates a copy from the buffer.
- procedure SaveToFile(AFileName : String)
- procedure LoadFromFile(AFileName : String)
- function IsEqual(Other : ISLDataBuffer) : Boolean
- procedure Unique(PreserveData : Boolean)
- function MakeUnique(PreserveData : Boolean) : Boolean
- function GetByteSize() : Cardinal - Returns the size of the buffer in bytes.
- function GetSize() : Cardinal - Returns the size of the buffer in elements.
- function ByteRead() : PByte
- function ByteWrite() : PByte
- function ByteModify() : PByte
- procedure RemoveOwnerShip()
- function OwnsData() : Boolean
- function GetDataBufferIntf() : ISLDataBuffer