21 #ifndef SRC_STANDARD_CELL_CELLS_H_
22 #define SRC_STANDARD_CELL_CELLS_H_
24 #include "../entity_system/entity_system.h"
25 #include "../entity_system/vector_property.h"
28 namespace standard_cell {
41 std::string name(entity_system::entity e)
const {
42 return m_names[m_system.
lookup(e)];
44 const std::vector<entity_system::entity> &
pins(entity_system::entity cell)
const {
45 return m_pins[m_system.
lookup(cell)];
47 bool sequential(entity_system::entity cell)
const {
48 return m_sequential[m_system.
lookup(cell)];
50 void name(entity_system::entity e, std::string name);
51 void insert_pin(entity_system::entity cell, entity_system::entity pin);
52 void pins(entity_system::entity cell, std::vector<entity_system::entity>
pins);
53 void sequential(entity_system::entity cell,
bool sequential);
entity_system class.
Definition: entity_system.h:40
Definition: vector_property.h:160
entity_index lookup(entity e) const
Gets the index of an entity.
Definition: entity_system.h:149