rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Data Access Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IliMemoryDataSource Class Reference

Gadget class. More...

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

Inheritance diagram for IliMemoryDataSource:
IliDataSource IliDataGem IlvGadget IlvSimpleGraphic IlvGraphic

List of all members.

Public Member Functions

 IliMemoryDataSource (IlvDisplay *display, const IlvPoint &at, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0)
 The constructor initializes a memory data source.
virtual IlvBitmap * getBitmap () const
 Returns the bitmap that is displayed during the design phase in Rogue Wave Views Data Access.
IliMemoryTable * getMemoryTable ()
 Returns the memory table.
const IliMemoryTable * getMemoryTable () const
 Returns the memory table.
void setMemoryTable (IliMemoryTable *tbl, IlBoolean owner=IlTrue)
 Sets the memory table.

Detailed Description

Gadget class.

Library: dbgadget

The IliMemoryDataSource class defines a data source whose table is a memory table.

See also:
Classes: IliMemoryTable.

Constructor & Destructor Documentation

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

The constructor initializes a memory data source.

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

Member Function Documentation

virtual IlvBitmap* IliMemoryDataSource::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.

IliMemoryTable * IliMemoryDataSource::getMemoryTable (  ) 

Returns the memory table.

Returns:
The memory table of the data source.
const IliMemoryTable * IliMemoryDataSource::getMemoryTable (  )  const

Returns the memory table.

Returns:
The memory table of the data source.
void IliMemoryDataSource::setMemoryTable ( IliMemoryTable *  tbl,
IlBoolean  owner = IlTrue 
)

Sets the memory table.

Sets the memory table of the data source to table. If owner is IlTrue, the data source becomes the owner of the table.

Parameters:
tbl The memory table.
owner The owner flag.

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