Bitstream Interpretation Library (BIL)  0.1
Public Member Functions | Friends
bil::DeviceCfgDb Class Reference

Holds a device's configuration bit mapping. More...

#include <mappingdb/DeviceCfgDb.hpp>

List of all members.

Public Member Functions

 DeviceCfgDb ()
 Constructs a new DeviceCfgDb instance.
TileTypeCfgDbstileTypeDbs ()
 Gets tile type databases.
const TileTypeCfgDbstileTypeDbs () const
 Gets tile type databases read only.
void clear ()
 Resets all properties to default values.

Friends

void writeBinary (const DeviceCfgDb &data, std::ostream &outputStream)
 Writes data from a DeviceCfgDb into a binary stream.
void readBinary (DeviceCfgDb &data, std::istream &inputStream)
 Reads data into a DeviceCfgDb from a binary stream.

Detailed Description

Holds a device's configuration bit mapping.

This database contains one entry for every TileType of the corresponding Device, holding its mapping information.

Definition at line 22 of file DeviceCfgDb.hpp.


Constructor & Destructor Documentation

DeviceCfgDb::DeviceCfgDb ( )

Constructs a new DeviceCfgDb instance.

Definition at line 11 of file DeviceCfgDb.cpp.


Member Function Documentation

TileTypeCfgDbs & DeviceCfgDb::tileTypeDbs ( )

Gets tile type databases.

Returns:
The tile type databases.

Definition at line 18 of file DeviceCfgDb.cpp.

const TileTypeCfgDbs & DeviceCfgDb::tileTypeDbs ( ) const

Gets tile type databases read only.

Returns:
The tile type databases.

Definition at line 24 of file DeviceCfgDb.cpp.

void DeviceCfgDb::clear ( )

Resets all properties to default values.

Definition at line 30 of file DeviceCfgDb.cpp.


Friends And Related Function Documentation

void writeBinary ( const DeviceCfgDb data,
std::ostream &  outputStream 
)
friend

Writes data from a DeviceCfgDb into a binary stream.

Parameters:
dataThe DeviceCfgDb to write.
outputStreamThe stream to write into.
Exceptions:
.
void readBinary ( DeviceCfgDb data,
std::istream &  inputStream 
)
friend

Reads data into a DeviceCfgDb from a binary stream.

Parameters:
dataThe DeviceCfgDb to read into.
inputStreamThe stream to read from.
Exceptions:
.

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