Method function SLSimpleDataBuffer.ISLRealMatrixBuffer.Modify() : PReal

From Mitov Wiki Doc
Revision as of 17:17, 18 October 2012 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

Class: ISLRealMatrixBuffer

Contents

Syntax

Delphi:

function Modify() : PReal;

C++ Builder:

PReal __fastcall Modify();

Visual C++ (MFC):

Modify();

Summary

Returns read and write pointer to the buffer data.

Description

This method is guaranteed to preserve the current data in the buffer. If you need only to write to the buffer, use the Write method. Use this method when you need read and write access to the data for writing. If you just need to read the data, use Read instead! Read is faster, as Modify may result in additional memory allocation and copy operations if the internal data buffer is shared. Write is faster than the Modify method, as it will not perform any copies of the existing data.


Example:

var RawData : PReal;

RawData := RealMatrix.Modify();

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox