RuntimeDataBuilder¶
-
class
kanzi::connect
::
RuntimeDataBuilder
¶ Internalization functionality.
Public Static Functions
-
static RuntimeDataObjectSharedPtr
build
(const string &rootPath, const string &xml, const persistence::SettingFactory *settingFactory)¶ Build node tree from xml definition.
- Parameters
rootPath – Defines the path for the root object, the children will append to this
xml – the xml to internalize
settingFactory – factory to access persistence service
- Returns
node tree
-
static RuntimeDataObjectSharedPtr
build
(const tinyxml2::XMLElement *element, const persistence::SettingFactory *settingFactory)¶ Build the object tree from given XML node tree.
Effectively all the childs of provided node are enumerated and created accordingly
- Parameters
element – the element whom childs are to be enumerated.
settingFactory – factory to access persistence service
-
static RuntimeDataObjectSharedPtr