Bitstream Interpretation Library (BIL)
0.1
|
A set of interdependent PIPs. More...
#include <mappingdb/PIPControlSet.hpp>
Public Member Functions | |
PIPControlSet () | |
Constructs a new PIPControlSet instance. | |
BitPositions & | bitPositions () |
Gets the positions of associated configuration bits. | |
const BitPositions & | bitPositions () const |
Gets the positions of associated configuration bits read only. | |
PIPBitValues & | pipBitValues () |
Gets values of all bits for every PIP. | |
const PIPBitValues & | pipBitValues () const |
Gets values of all bits for every PIP read only. | |
void | clear () |
Resets all properties to default values. |
Friends | |
void | writeBinary (const PIPControlSet &data, std::ostream &outputStream) |
Writes data from a PIPControlSet into a binary stream. | |
void | readBinary (PIPControlSet &data, std::istream &inputStream) |
Reads data into a PIPControlSet from a binary stream. |
A set of interdependent PIPs.
A PIPControlSet contains a set of interdependent PIPs, that share configuration bits (instead of having one bit for one PIP). The PIPControlSet contains two lists: A list with its PIPs and their bit values, and a list containing the positions of used configuration bits.
Definition at line 27 of file PIPControlSet.hpp.
PIPControlSet::PIPControlSet | ( | ) |
Constructs a new PIPControlSet instance.
Definition at line 11 of file PIPControlSet.cpp.
BitPositions & PIPControlSet::bitPositions | ( | ) |
Gets the positions of associated configuration bits.
Definition at line 19 of file PIPControlSet.cpp.
const BitPositions & PIPControlSet::bitPositions | ( | ) | const |
Gets the positions of associated configuration bits read only.
Definition at line 25 of file PIPControlSet.cpp.
PIPBitValues & PIPControlSet::pipBitValues | ( | ) |
Gets values of all bits for every PIP.
Definition at line 31 of file PIPControlSet.cpp.
const PIPBitValues & PIPControlSet::pipBitValues | ( | ) | const |
Gets values of all bits for every PIP read only.
Definition at line 37 of file PIPControlSet.cpp.
void PIPControlSet::clear | ( | ) |
Resets all properties to default values.
Definition at line 43 of file PIPControlSet.cpp.
|
friend |
Writes data from a PIPControlSet into a binary stream.
data | The PIPControlSet to write. |
outputStream | The stream to write into. |
. |
|
friend |
Reads data into a PIPControlSet from a binary stream.
data | The PIPControlSet to read into. |
inputStream | The stream to read from. |
. |