FERS 1.0.0
The Flexible Extensible Radar Simulator
Loading...
Searching...
No Matches
xml_serializer.cpp File Reference

Implementation for serializing the simulation world to XML. More...

#include "xml_serializer.h"
#include <iomanip>
#include <ranges>
#include <sstream>
#include "antenna/antenna_factory.h"
#include "core/config.h"
#include "core/parameters.h"
#include "core/world.h"
#include "libxml_wrapper.h"
#include "math/coord.h"
#include "math/path.h"
#include "math/rotation_path.h"
#include "radar/platform.h"
#include "radar/receiver.h"
#include "radar/target.h"
#include "radar/transmitter.h"
#include "signal/radar_signal.h"
#include "timing/prototype_timing.h"
#include "timing/timing.h"
+ Include dependency graph for xml_serializer.cpp:

Go to the source code of this file.

Namespaces

namespace  serial
 

Functions

std::string serial::world_to_xml_string (const core::World &world)
 Serializes the entire simulation world into an XML formatted string.
 

Detailed Description

Implementation for serializing the simulation world to XML.

This file contains the logic to traverse the in-memory C++ object representation of a FERS simulation and build a corresponding XML document. The process involves converting internal data representations (like angles in radians) back to the user-facing format defined by the FERS XML schema (like compass degrees).

Definition in file xml_serializer.cpp.