|
Bitstream Interpretation Library (BIL)
0.1
|
#include <xdlrc/model/TileType.hpp>
Public Member Functions | |
| TileType () | |
| Constructs a new TileType instance. | |
| std::string & | name () |
| Gets type name. | |
| const std::string & | name () const |
| Gets type name read only. | |
| PrimitiveSiteTypes & | siteTypes () |
| Gets primitive site types. | |
| const PrimitiveSiteTypes & | siteTypes () const |
| Gets primitive site types read only. | |
| Wires & | wires () |
| Gets all tile wires. | |
| const Wires & | wires () const |
| Gets all tile wires read only. | |
| PIPs & | pips () |
| Gets all PIPs. | |
| const PIPs & | pips () const |
| Gets all PIPs read only. | |
| void | tag (size_t t) |
| Gets tag. | |
| size_t | tag () const |
| Gets tag. | |
| void | clear () |
| Resets all properties to default values. | |
Friends | |
| void | writeBinary (const TileType &data, std::ostream &outputStream) |
| Writes data from a TileType into a binary stream. | |
| void | readBinary (TileType &data, std::istream &inputStream) |
| Reads data into a TileType from a binary stream. | |
Tile type data.
The tile entity in XDLRC is broken up into two classes: Tile and TileType. The TileType class stores common data of tiles belonging to a distinct type. This drastically decreases memory requirements, since the common data is stored once in a TileType instance, instead storing them over and over in every Tile instance.
Definition at line 27 of file TileType.hpp.
| TileType::TileType | ( | ) |
Constructs a new TileType instance.
Definition at line 11 of file TileType.cpp.
| std::string & TileType::name | ( | ) |
| const std::string & TileType::name | ( | ) | const |
| PrimitiveSiteTypes & TileType::siteTypes | ( | ) |
Gets primitive site types.
Definition at line 34 of file TileType.cpp.
| const PrimitiveSiteTypes & TileType::siteTypes | ( | ) | const |
Gets primitive site types read only.
Definition at line 40 of file TileType.cpp.
| Wires & TileType::wires | ( | ) |
| const Wires & TileType::wires | ( | ) | const |
| PIPs & TileType::pips | ( | ) |
| const PIPs & TileType::pips | ( | ) | const |
| void TileType::tag | ( | size_t | t | ) |
| size_t TileType::tag | ( | ) | const |
| void TileType::clear | ( | ) |
Resets all properties to default values.
Definition at line 82 of file TileType.cpp.
|
friend |
|
friend |
1.8.1.1