Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTBlob::GetBlob

Syntax

void GetBlob(pCTBLOB pBlob) const

void GetBlob(pVOID& pdata, VRLEN& size)

Parameters

  • pBlob [out] The retrieved CTBlob object
  • data [out] The data retrieved from the CTBlob object
  • size [out] The data size.

Description

Retrieves the CTBlob object

Return

None.

Example

void DisplayDoubles(CTBlob& blob)

{

DOUBLE* vector;

VRLEN size;

int i;

blob.GetBlob(&vector, &size);

for (i = 0; i < size / sizeof(DOUBLE); i++)

printf("%d: %f\n", i, vector[i];

_ctdb_free(vector);

}

See also

SetBlob(), Get()

TOCIndex