HAL
mac_component.cpp
Go to the documentation of this file.
2 
3 namespace hal
4 {
6  {
7  return m_type;
8  }
9 
11  {
12  return component->get_type() == m_type;
13  }
14 
15  std::vector<GateTypeComponent*> MACComponent::get_components(const std::function<bool(const GateTypeComponent*)>& filter) const
16  {
17  UNUSED(filter);
18  return {};
19  }
20 } // namespace hal
virtual ComponentType get_type() const =0
static bool is_class_of(const GateTypeComponent *component)
std::vector< GateTypeComponent * > get_components(const std::function< bool(const GateTypeComponent *)> &filter=nullptr) const override
ComponentType get_type() const override
#define UNUSED(expr)
Definition: defines.h:49