Rogue Wave Views Data Access Package API Reference Guide |
Rogue Wave Views Documentation Home |
Table class. More...
#include <ilviews/dataccess/tblptr.h>
Public Member Functions | |
IliRowPtr () | |
Constructs a row pointer that points to no row. More... | |
IliRowPtr (const IliRowPtr &) | |
This is the copy constructor of the IliRowPtr class. | |
IlInt | getRowIndex () const |
Returns the row index of the row pointed at. More... | |
IliTable * | getTable () const |
Returns the IliTable object to which the row pointed at belongs. More... | |
IliRowPtr & | operator= (const IliRowPtr &ptr) |
This is the assignment operator of class IliRowPtr . More... | |
Friends | |
class | IliTable |
Table class.
Library: dataccess
The IliRowPtr
class defines objects that hold the index of a row in a given IliTable
object. These objects take care of adjusting the row index whenever the row moves in its table (or when other rows are inserted or deleted before it). An IliRowPtr
is obtained by calling the IliTable::getRowPtr
member function.
IliRowPtr::IliRowPtr | ( | ) |
Constructs a row pointer that points to no row.
Its row index is -1
and its table is NULL
.
IlInt IliRowPtr::getRowIndex | ( | ) | const |
Returns the row index of the row pointed at.
-1
if no row is pointed at. Note that if the row moves in its table (or if other rows are inserted or deleted before it), this member function will return different values before and after the row has moved. IliTable* IliRowPtr::getTable | ( | ) | const |
© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.