Bitstream Interpretation Library (BIL)  0.1
Public Member Functions
bil::DeviceCfgDbFiller Class Reference

Fills a DeviceCfgDb with initial data. More...

#include <mappingdb/DeviceCfgDbFiller.hpp>

List of all members.

Public Member Functions

void initDeviceDb (DeviceCfgDb &deviceDb, const Device &device)
 Fills a complete database with initial data.
void initTileTypeDb (TileTypeCfgDb &tileTypeDb, const TileType &tileType, size_t tileTypeIndex)
 Fills a tile type database with initial data.

Detailed Description

Fills a DeviceCfgDb with initial data.

This class fills a DeviceCfgDb with initial data gathered from a Device instance. It can not fill all data, the information about configuration bit positions is left empty.

Definition at line 27 of file DeviceCfgDbFiller.hpp.


Member Function Documentation

void DeviceCfgDbFiller::initDeviceDb ( DeviceCfgDb deviceDb,
const Device device 
)

Fills a complete database with initial data.

Parameters:
deviceDbThe database to fill.
deviceThe device to get data from.

Definition at line 13 of file DeviceCfgDbFiller.cpp.

void DeviceCfgDbFiller::initTileTypeDb ( TileTypeCfgDb tileTypeDb,
const TileType tileType,
size_t  tileTypeIndex 
)

Fills a tile type database with initial data.

Parameters:
tileTypeDbThe database to fill.
tileTypeThe tile type to get data from.
tileTypeIndexThe index of tile type (in Device).

Definition at line 33 of file DeviceCfgDbFiller.cpp.


The documentation for this class was generated from the following files: