![]() |
Murl Engine API
Version 2018.3
|
The XML package class. More...
#include <murl_resource_xml_package.h>
The XML package class.
An XML package in the Murl Engine is represented by a sub-folder on disk. In order to be recognized as an XML package, that folder must have the predefined name extension ".murlres" and a mandatory accompanying "package.xml" inside that folder, where the actual resource contents are defined.
The actual package contents may be comprised of any number of individual resource objects of different types, texts, sub-packages, and also instance rules for automatically creating and attaching sub-graph instances to the engine's master scene graph.
An valid package.xml file is recognized by its <Package> root element. The following attributes are accepted for the root element:
The following elements are allowed as children of the root element:
If the given XML package represents a sub-package of another package, the same inclusion/ exclusion rules can be applied as for Resource::Object and Resource::Text. For sub-packages, the following attributes must be defined in the respective <Package> element where the sub-package is defined:
See Resource::Object for details.
Additional Inherited Members | |
![]() | |
enum | Flags { FLAG_HAS_CHECKSUM } |
Package flags. More... | |
![]() | |
typedef Array< const ClassInfo *> | ClassInfoArray |
Definition of an array of ClassInfo objects. More... | |
![]() | |
virtual | ~IFactoryObject () |
The destructor. More... | |
virtual const ClassInfo * | GetObjectClassInfo () const=0 |
Get the object instance's class info, if present. More... | |
virtual void | ResetObjectProperties ()=0 |
Reset the object instance's properties to their default values. | |
![]() | |
static const PropertyInfo * | GetPropertyInfo () |
Get the class' property info struct. More... | |
static const AttributeInfo * | GetAttributeInfo () |
Get the class' attribute info struct. More... | |
static void | ResetProperties (IFactoryObject< IPackage > *object) |
Reset an object instance's properties to their default values. More... | |