IliStringsTable
The
IliStringsTable class defines a one-tier table with a single column of type
string. It is similar to the
IliMemoryTable class, with the following exceptions:
Its schema is fixed and cannot be changed.
It provides a custom interface to manage rows. This interface uses the
const char* C++ type instead of the
IliValue and
IliTableBuffer classes.
Here is an example of how it is used:
IlvDisplay* dpy;
IliDataSource* ds;
...
IliStringsTable* tbl = new IliStringsTable(dpy);
// No need to define the schema.
tbl->lock();
tbl->appendString(“One”);
tbl->appendString(“Two”);
tbl->appendString(“Three”);
ds->setTable(tbl);
tbl->unLock();
Objects of this class can be defined only through the C++ API.
Version 6.3
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.