Bitstream Interpretation Library (BIL)
0.1
|
Holds configuration bit mapping of a tile type. More...
#include <mappingdb/TileTypeCfgDb.hpp>
Public Member Functions | |
TileTypeCfgDb () | |
Constructs a new TileTypeCfgDb instance. | |
void | typeIndex (size_t index) |
Sets tile type index. | |
size_t | typeIndex () const |
Gets tile type index. | |
PIPControlSets & | pipControlSets () |
Gets PIP control sets. | |
const PIPControlSets & | pipControlSets () const |
Gets PIP control sets read only. | |
void | clear () |
Resets all properties to default values. |
Friends | |
void | writeBinary (const TileTypeCfgDb &data, std::ostream &outputStream) |
Writes data from a TileTypeCfgDb into a binary stream. | |
void | readBinary (TileTypeCfgDb &data, std::istream &inputStream) |
Reads data into a TileTypeCfgDb from a binary stream. |
Holds configuration bit mapping of a tile type.
Todo: At the moment there are only control sets for the PIPs. Control sets for the primitive sites should be added.
Definition at line 23 of file TileTypeCfgDb.hpp.
TileTypeCfgDb::TileTypeCfgDb | ( | ) |
Constructs a new TileTypeCfgDb instance.
Definition at line 11 of file TileTypeCfgDb.cpp.
void TileTypeCfgDb::typeIndex | ( | size_t | index | ) |
Sets tile type index.
Definition at line 19 of file TileTypeCfgDb.cpp.
size_t TileTypeCfgDb::typeIndex | ( | ) | const |
Gets tile type index.
Definition at line 25 of file TileTypeCfgDb.cpp.
PIPControlSets & TileTypeCfgDb::pipControlSets | ( | ) |
Gets PIP control sets.
Definition at line 31 of file TileTypeCfgDb.cpp.
const PIPControlSets & TileTypeCfgDb::pipControlSets | ( | ) | const |
Gets PIP control sets read only.
Definition at line 37 of file TileTypeCfgDb.cpp.
void TileTypeCfgDb::clear | ( | ) |
Resets all properties to default values.
Definition at line 43 of file TileTypeCfgDb.cpp.
|
friend |
Writes data from a TileTypeCfgDb into a binary stream.
data | The TileTypeCfgDb to write. |
outputStream | The stream to write into. |
. |
|
friend |
Reads data into a TileTypeCfgDb from a binary stream.
data | The TileTypeCfgDb to read into. |
inputStream | The stream to read from. |
. |