2#include "nlohmann/json_fwd.hpp"
3#include "util/uuid.hpp"
13 json serialize()
const;
14 std::string get_brief(
const class Block *block =
nullptr,
class IPool *pool =
nullptr)
const;
15 void cleanup(
const class Block *block);
16 bool can_export()
const;
18 bool matches(
const class Component *component)
const;
20 enum class Mode { COMPONENT, PART, COMPONENTS };
21 Mode mode = Mode::COMPONENT;
24 std::set<UUID> components;
27 bool match(
const class Component *component)
const;
A block is one level of hierarchy in the netlist.
Definition block.hpp:29
A Component is an instanced Entity in a Block.
Definition component.hpp:40
Definition rule_match_component.hpp:9
This class encapsulates a UUID and allows it to be uses as a value type.
Definition uuid.hpp:16
a class to store JSON values
Definition json.hpp:177
basic_json<> json
default JSON class
Definition json_fwd.hpp:62