OpenSim
|
Serialize and deserialize scene objects. More...
Public Member Functions | |
delegate bool | SceneObjectModifier (SceneObjectGroup sog) |
Modifies a SceneObjectGroup. More... | |
Static Public Member Functions | |
static SceneObjectGroup | FromOriginalXmlFormat (string xmlData) |
Deserialize a scene object from the original xml format More... | |
static SceneObjectGroup | FromOriginalXmlFormat (XmlReader reader) |
Deserialize a scene object from the original xml format More... | |
static string | ToOriginalXmlFormat (SceneObjectGroup sceneObject) |
Serialize a scene object to the original xml format More... | |
static string | ToOriginalXmlFormat (SceneObjectGroup sceneObject, bool doScriptStates) |
Serialize a scene object to the original xml format More... | |
static void | ToOriginalXmlFormat (SceneObjectGroup sceneObject, XmlTextWriter writer, bool doScriptStates) |
Serialize a scene object to the original xml format More... | |
static string | ToOriginalXmlFormat (SceneObjectGroup sceneObject, string scriptedState) |
static void | ToOriginalXmlFormat (SceneObjectGroup sceneObject, XmlTextWriter writer, bool doScriptStates, bool noRootElement) |
Serialize a scene object to the original xml format More... | |
static SceneObjectGroup | FromXml2Format (string xmlData) |
static string | ToXml2Format (SceneObjectGroup sceneObject) |
Serialize a scene object to the 'xml2' format. More... | |
static byte[] | ModifySerializedObject (UUID assetId, byte[] data, SceneObjectModifier modifier) |
Modifies an object by deserializing it; applying 'modifier' to each SceneObjectGroup; and reserializing. More... | |
static void | SOGToXml2 (XmlTextWriter writer, SceneObjectGroup sog, Dictionary< string, object >options) |
static void | SOPToXml2 (XmlTextWriter writer, SceneObjectPart sop, Dictionary< string, object > options) |
static void | WriteTaskInventory (XmlTextWriter writer, TaskInventoryDictionary tinv, Dictionary< string, object > options, Scene scene) |
static void | WriteShape (XmlTextWriter writer, PrimitiveBaseShape shp, Dictionary< string, object > options) |
static SceneObjectPart | Xml2ToSOP (XmlReader reader) |
static TaskInventoryDictionary | ReadTaskInventory (XmlReader reader, string name) |
static PrimitiveBaseShape | ReadShape (XmlReader reader, string name, out List< string > errorNodeNames, SceneObjectPart obj) |
Read a shape from xml input More... | |
Static Protected Member Functions | |
static void | ToXmlFormat (SceneObjectPart part, XmlTextWriter writer) |
Serialize and deserialize scene objects.
This should really be in OpenSim.Framework.Serialization but this would mean circular dependency problems right now - hopefully this isn't forever.
Definition at line 50 of file SceneObjectSerializer.cs.
|
inlinestatic |
Deserialize a scene object from the original xml format
xmlData |
Definition at line 61 of file SceneObjectSerializer.cs.
|
inlinestatic |
Deserialize a scene object from the original xml format
xmlData |
Definition at line 86 of file SceneObjectSerializer.cs.
|
inlinestatic |
|
inlinestatic |
Modifies an object by deserializing it; applying 'modifier' to each SceneObjectGroup; and reserializing.
assetId | The object's UUID |
data | Serialized data |
modifier | The function to run on each SceneObjectGroup |
Definition at line 324 of file SceneObjectSerializer.cs.
|
inlinestatic |
Read a shape from xml input
reader | |
name | The name of the xml element containing the shape |
errors | a list containing the failing node names. If no failures then null. |
Definition at line 1772 of file SceneObjectSerializer.cs.
|
inlinestatic |
Definition at line 1737 of file SceneObjectSerializer.cs.
delegate bool OpenSim.Region.Framework.Scenes.Serialization.SceneObjectSerializer.SceneObjectModifier | ( | SceneObjectGroup | sog | ) |
Modifies a SceneObjectGroup.
sog | The object |
|
inlinestatic |
Definition at line 1348 of file SceneObjectSerializer.cs.
|
inlinestatic |
|
inlinestatic |
Serialize a scene object to the original xml format
sceneObject |
Definition at line 126 of file SceneObjectSerializer.cs.
|
inlinestatic |
Serialize a scene object to the original xml format
sceneObject | |
doScriptStates | Control whether script states are also serialized.
|
Definition at line 137 of file SceneObjectSerializer.cs.
|
inlinestatic |
Serialize a scene object to the original xml format
sceneObject |
Definition at line 155 of file SceneObjectSerializer.cs.
|
inlinestatic |
Definition at line 160 of file SceneObjectSerializer.cs.
|
inlinestatic |
Serialize a scene object to the original xml format
sceneObject | |
writer | |
noRootElement | If false, don't write the enclosing SceneObjectGroup element |
Definition at line 185 of file SceneObjectSerializer.cs.
|
inlinestatic |
Serialize a scene object to the 'xml2' format.
sceneObject |
Definition at line 297 of file SceneObjectSerializer.cs.
|
inlinestaticprotected |
Definition at line 222 of file SceneObjectSerializer.cs.
|
inlinestatic |
Definition at line 1630 of file SceneObjectSerializer.cs.
|
inlinestatic |
Definition at line 1566 of file SceneObjectSerializer.cs.
|
inlinestatic |
Definition at line 1713 of file SceneObjectSerializer.cs.