Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Table class. More...
#include <ilviews/dataccess/tblptr.h>
Public Member Functions | |
IliRowPtr (const IliRowPtr &) | |
This is the copy constructor of the IliRowPtr class. | |
IliRowPtr () | |
Constructs a row pointer that points to no row. | |
IlInt | getRowIndex () const |
Returns the row index of the row pointed at. | |
IliTable * | getTable () const |
Returns the IliTable object to which the row pointed at belongs. | |
IliRowPtr & | operator= (const IliRowPtr &ptr) |
This is the assignment operator of class IliRowPtr . | |
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 2012, 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.