| 106 | static inline const SaveLoadCompatTable compat_description = _linkgraph_node_sl_compat; |
| 107 | |
| 108 | void Save(LinkGraph *lg) const override |
| 109 | { |
| 110 | _linkgraph = lg; |
| 111 | |
| 112 | SlSetStructListLength(lg->Size()); |
| 113 | for (NodeID from = 0; from < lg->Size(); ++from) { |
| 114 | _linkgraph_from = from; |
| 115 | SlObject(&lg->nodes[from], this->GetDescription()); |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | void Load(LinkGraph *lg) const override |
| 120 | { |
nothing calls this directly
no test coverage detected