|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home BasePack DStruct Class TStringArray Data structure of TStringArray|
|See also: Create, GarbageCollection, AllocBy, How to use TStringArray, Clear (StringAccu)|
Data structure of TStringArray
The figure below shows the internal memory organization of the class TStringArray. Note that the identifiers used here are not publicly available, so you won't find these identifiers unless you purchased a source license of the unit DStruct.
Access to the internal buffer is as follows: the row index is used to find the corresponding sorted row via the lookup table FSortIx. Together with the column index a "pointer" is retrieved from FPoiArray which is used to access the actual string in the corresponding buffer. The size of the buffers FStgPool is determined by the constant SABuffSize.
Summary of identifiers: