static void Visit(WritableDataNode &node, const SectorZone &data) { node.SetAttribute(_T("type"), _T("Sector")); node.SetAttribute(_T("radius"), data.GetRadius()); node.SetAttribute(_T("start_radial"), data.GetStartRadial()); node.SetAttribute(_T("end_radial"), data.GetEndRadial()); }
void Serialiser::Visit(const SectorZone &data) { node.SetAttribute(_T("type"), _T("Sector")); node.SetAttribute(_T("radius"), data.GetRadius()); node.SetAttribute(_T("start_radial"), data.GetStartRadial()); node.SetAttribute(_T("end_radial"), data.GetEndRadial()); }