rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IliRowPtr Class Reference

Table class. More...

#include <ilviews/dataccess/tblptr.h>

List of all members.

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.
IliTablegetTable () const
 Returns the IliTable object to which the row pointed at belongs.
IliRowPtroperator= (const IliRowPtr &ptr)
 This is the assignment operator of class IliRowPtr.

Friends

class IliTable

Detailed Description

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.

See also:
IliTable

Constructor & Destructor Documentation

IliRowPtr::IliRowPtr (  ) 

Constructs a row pointer that points to no row.

Its row index is -1 and its table is NULL.


Member Function Documentation

IlInt IliRowPtr::getRowIndex (  )  const

Returns the row index of the row pointed at.

Returns:
The row index of the row pointed at or -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

Returns the IliTable object to which the row pointed at belongs.

Returns:
The IliTable object that the row pointed at belongs to or NULL if the row pointer points to no row.
IliRowPtr& IliRowPtr::operator= ( const IliRowPtr ptr  ) 

This is the assignment operator of class IliRowPtr.

Parameters:
ptr The new values.
Returns:
The modified object.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends

© 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.