30 using namespace crn::literals;
64 return std::make_unique<Int>(i);
69 return std::make_unique<Real>(d);
74 return std::make_unique<Prop3>(b);
xml::Element Serialize(const Object &obj, xml::Element &parent)
Writes an object to XML if possible.
static xml::Element Serialize(const Object &obj, xml::Element &el)
Unintialized object error.
static void Deserialize(Object &obj, xml::Element &el)
static UObject Clone(const Object &obj)
static double ComputeDistance(const Object &o1, const Object &o2)
double Distance(const Int &i1, const Int &i2) noexcept
void Deserialize(Object &obj, xml::Element &el)
Reads an object from XML if possible.
UObject Clone(const Object &obj)
Clones an object if possible.