Bitstream Interpretation Library (BIL)
0.1
|
Holds a device's configuration bit mapping. More...
#include <mappingdb/DeviceCfgDb.hpp>
Public Member Functions | |
DeviceCfgDb () | |
Constructs a new DeviceCfgDb instance. | |
TileTypeCfgDbs & | tileTypeDbs () |
Gets tile type databases. | |
const TileTypeCfgDbs & | tileTypeDbs () 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. |
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.
DeviceCfgDb::DeviceCfgDb | ( | ) |
Constructs a new DeviceCfgDb instance.
Definition at line 11 of file DeviceCfgDb.cpp.
TileTypeCfgDbs & DeviceCfgDb::tileTypeDbs | ( | ) |
Gets tile type databases.
Definition at line 18 of file DeviceCfgDb.cpp.
const TileTypeCfgDbs & DeviceCfgDb::tileTypeDbs | ( | ) | const |
Gets tile type databases read only.
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.
|
friend |
Writes data from a DeviceCfgDb into a binary stream.
data | The DeviceCfgDb to write. |
outputStream | The stream to write into. |
. |
|
friend |
Reads data into a DeviceCfgDb from a binary stream.
data | The DeviceCfgDb to read into. |
inputStream | The stream to read from. |
. |