# class MulticastTable

*Defined at src/network/switch/multicast_table.h#23*

## Functions

### MulticastTable

*public void MulticastTable()*

### add_tree

*public bool add_tree(std::size_t group_id, uint16_t tree_id)*

### delete_tree

*public bool delete_tree(std::size_t group_id, uint16_t tree_id)*

### add_child_port

*public bool add_child_port(std::size_t group_id, uint16_t tree_id, PortId out_port)*

### delete_child_port

*public bool delete_child_port(std::size_t group_id, uint16_t tree_id, PortId out_port)*

### set_parent

*public bool set_parent(std::size_t group_id, uint16_t tree_id, PortId parent)*

### set_weight

*public bool set_weight(std::size_t group_id, uint16_t tree_id, uint8_t w)*

### set_epoch

*public bool set_epoch(std::size_t group_id, uint16_t tree_id, uint8_t epoch)*

### trees_of

*public const std::vector<McTree> * trees_of(std::size_t group_id)*

### group_count

*public std::size_t group_count()*

### get_port_list

*public std::vector<PortId> get_port_list(PacketGroups groups)*



