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

Holds configuration bit mapping of a tile type. More...

#include <mappingdb/TileTypeCfgDb.hpp>

List of all members.

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.
PIPControlSetspipControlSets ()
 Gets PIP control sets.
const PIPControlSetspipControlSets () 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.

Detailed Description

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.


Constructor & Destructor Documentation

TileTypeCfgDb::TileTypeCfgDb ( )

Constructs a new TileTypeCfgDb instance.

Definition at line 11 of file TileTypeCfgDb.cpp.


Member Function Documentation

void TileTypeCfgDb::typeIndex ( size_t  index)

Sets tile type index.

Parameters:
indexIndex of TileType in corresponding Device.

Definition at line 19 of file TileTypeCfgDb.cpp.

size_t TileTypeCfgDb::typeIndex ( ) const

Gets tile type index.

Returns:
Index of TileType in corresponding Device.

Definition at line 25 of file TileTypeCfgDb.cpp.

PIPControlSets & TileTypeCfgDb::pipControlSets ( )

Gets PIP control sets.

Returns:
The PIP control sets.

Definition at line 31 of file TileTypeCfgDb.cpp.

const PIPControlSets & TileTypeCfgDb::pipControlSets ( ) const

Gets PIP control sets read only.

Returns:
The PIP control sets.

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.


Friends And Related Function Documentation

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

Writes data from a TileTypeCfgDb into a binary stream.

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

Reads data into a TileTypeCfgDb from a binary stream.

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

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