realXtend/naali — Issue #388: Clean up scene/entity/component/attribute XML serialization API.
Author: juj
Created: 2012-02-24 10:26:34+00:00
State: open
Labels: Feature Request, QtScript, Security

Rewrite the scene serialization and deserialization API to that it is uniform and consistent for serializing and deserializing scenes, entities, components and attributes.

Enable script access for both serialization and deserialization.
If the script API cannot be implemented without redundant data copying, implement separate C++ functions which avoid redundant memory work.

Delete QByteArray Scene::GetEntityXml(Entity *entity) const; (see QString Entity::SerializeToXMLString() const;)

Plus points if the API is such that it can be accessed and utilized from scripts so that they don't necessarily require the insecure qt.xml extension.