TVecColumn::ReadDataset Method

void ReadDataset(bool ReadAsComplex = false);

Reads the contents of underlying field and stores it's contents in vector.

#NameTypeDescription
1ReadAsComplex = falsebool
Remarks:

Reads the contents of underlying field and stores it's contents in the TVecColumn::Vector vector. Depending on TMtxDataset::ReadWriteMode the following operation is performed:

  • wmRecord => read all TVecColumn::Vector properties from current record position. The underlying dataset field must be BLOB field, otherwise an exception is raised.
  • wmColumn => read all values from the underlying field and store them to TVecColumn::Vector Values. If the ReadAsComplex parameter is true then two consecutive dataset records are treated as real and imaginary part of complex number. By default, ReadAsComplex is false meaning each record in dataset is treated as one real number. The Vector Length and Complex properties are adjusted automatically.
See Also: TVecColumn::WriteDataset, TMtxDataset::ReadWriteMode
Declared in Dew::Math::Controls::VCL::TVecColumn · Dew.Math.Controls.VCL/MtxVecDBTools.h · C++Builder only