rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IliSQLDataSource Class Reference

Gadget class. More...

#include <ilviews/dataccess/gadgets/sqldtsrc.h>

Inheritance diagram for IliSQLDataSource:
IliDataSource IliDataGem IlvGadget IlvSimpleGraphic IlvGraphic

List of all members.

Public Member Functions

 IliSQLDataSource (IlvDisplay *display, const IlvPoint &at, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0)
 The constructor initializes an SQL data source.
virtual IlvBitmapgetBitmap () const
 Returns the bitmap that is displayed during the design phase in Rogue Wave Views Data Access.
IliSQLTablegetSQLTable ()
 Returns the SQL table of the data source.
const IliSQLTablegetSQLTable () const
 Returns the SQL table of the data source.
void setSQLTable (IliSQLTable *table, IlBoolean owner=IlTrue)
 Sets the SQL table of the data source.

Detailed Description

Gadget class.

Library: dbsqlgad

The IliSQLDataSource class defines a data source whose table is an SQL table.

See also:
IliSQLTable.

Constructor & Destructor Documentation

IliSQLDataSource::IliSQLDataSource ( IlvDisplay display,
const IlvPoint at,
IlUShort  thickness = IlvDefaultGadgetThickness,
IlvPalette palette = 0 
)

The constructor initializes an SQL data source.

Parameters:
display The display.
rect The location.
thickness The border thickness.
palette The palette.

Member Function Documentation

virtual IlvBitmap* IliSQLDataSource::getBitmap (  )  const [virtual]

Returns the bitmap that is displayed during the design phase in Rogue Wave Views Data Access.

Returns:
The bitmap.

Reimplemented from IliDataSource.

IliSQLTable * IliSQLDataSource::getSQLTable (  ) 

Returns the SQL table of the data source.

Returns:
The SQL table of the data source.
const IliSQLTable * IliSQLDataSource::getSQLTable (  )  const

Returns the SQL table of the data source.

Returns:
The SQL table of the data source.
void IliSQLDataSource::setSQLTable ( IliSQLTable table,
IlBoolean  owner = IlTrue 
)

Sets the SQL table of the data source.

Parameters:
table The SQL table.
owner If IlTrue, the data source becomes the owner of the table.
 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.