45 _(
"Wrong XML element."));
67 Ruler::Register<Real>();
#define CRN_END_CLASS_CONSTRUCTOR(classname)
Defines a class constructor.
void Deserialize(xml::Element &el)
Reads from an XML element.
Interface class for the metric real number class.
xml::Element Serialize(xml::Element &parent) const
Dumps to an XML element.
#define CRN_DATA_FACTORY_REGISTER(elemname, classname)
Registers a class to the data factory.
virtual StringUTF8 GetValue() const
Gets the content of the node.
void SetAttribute(const StringUTF8 &name, const StringUTF8 &value)
Sets the value of an attribute.
T GetAttribute(const StringUTF8 &name, bool silent=true) const
Gets an attribute.
A character string class.
Element PushBackElement(const StringUTF8 &name)
Adds an element at the end of the children list.
Invalid argument error (e.g.: nullptr pointer)
#define CRN_BEGIN_CLASS_CONSTRUCTOR(classname)
Defines a class constructor.