Urho.Resources.XmlFile Class

XML document resource.

See Also: XmlFile

Syntax

public class XmlFile : Resource

Requirements

Namespace: Urho.Resources
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.Resources.XmlFile are listed below.

See Also: Resource

Public Constructors

Constructs a new instance of Urho.Resources.XmlFile which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Resources.XmlFile, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Resources.XmlFile linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
TypeStaticStringHash. Urho's low-level type, accessible as a static method.

Public Methods

override
BeginLoad(File) : Boolean
override
BeginLoad(MemoryBuffer) : Boolean
FromString(String) : Boolean
Deserialize from a string. Return true if successful.
Patch(XmlFile)
static
RegisterObject(Context)
Register object factory.
override
Save(File) : Boolean
override
Save(MemoryBuffer) : Boolean
Save(File, String) : Boolean
Save(MemoryBuffer, String) : Boolean
ToDebugString(String) : String
Serialize the XML content to a string.