static void Visit(WritableDataNode &node, const CylinderZone &data) { node.SetAttribute(_T("type"), _T("Cylinder")); node.SetAttribute(_T("radius"), data.GetRadius()); }
void Serialiser::Visit(const CylinderZone &data) { node.SetAttribute(_T("type"), _T("Cylinder")); node.SetAttribute(_T("radius"), data.GetRadius()); }